I use a custom MSBUILD xml file to build some of my projects so that i can run stuff to compress CSS/JS files and stuff like that. After installing Visual Studio 2010 and playing around a bit with suddenly my builds started to fail.
C:Program Files (x86)MSBuildMicrosoftVisualStudiov10.0WebApplicationsMicrosoft.WebApplication.targets(132,11):
error MSB4064: The "Retries" parameter is not supported by the "Copy" task. Verify the parameter exists on the task, and it is a settable public instance property.
C:Program Files (x86)MSBuildMicrosoftVisualStudiov10.0WebApplicationsMicrosoft.WebApplication.targets(130,5):
error MSB4063: The "Copy" task could not be initialized with its input parameters.
After some debugging i realized that Visual Studio 2010 had changed a line in the csproj file of my web application project.
I just had to change this line back to v9.0 to get it to work again. Hopefully this can help someone that has the same problem as me.
Now when the RTM of Visual Studio was released i of course ran into this problem again. This time i tried to find a better solution and found this post on devlicio. In the comments to that post i found a solution that worked great for me.
I had the same issue. I had to alter the MSbuild WebApplication file located: C:Program Files (x86)MSBuildMicrosoftVisualStudiov10.0WebApplications and remove these entries.
Once both of these were removed (in 13 places) everything worked fine. Hope it helps you too.