December 2012

The command “xcopy /Q /Y exited with code 4 error on build project .net

When you build the project visuals studio gives the error as below.

Error 2 The command “xcopy /Q /Y E:\My Projects\test\*.*
E:\My Projects\bin\” exited with code 4.

Go to project Properties > Build Events

In Post-build event section you may find something like this: xcopy “$(ProjectDir)Library\dsoframer.ocx” “$(TargetDir)” /Y /E /D1

Remove this line. Save All. Build the Project again.

Error resolved. 🙂

How to read RSS feed using Jquery

Click here download latest plugin

Getting Started
First include the jQuery and zRSSFeed libraries.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="jquery.zrssfeed.min.js" type="text/javascript"></script>

Add a DIV tag where you wish the feed to display and give it an ID. There is no need to specify a class, this will be added.

<div id="test"></div>

Now add the script to call the zRSSFeed plugin with the RSS URL and any options. Our example gets 5 feeds from the Reuters site.

<script type="text/javascript">
$(document).ready(function () {
  $('#test').rssfeed('http://feeds.reuters.com/reuters/oddlyEnoughNews', {
    limit: 5
  });
});
</script>

More option you can get by click here