Silverlight solution builds in VS2008 but fails with MSBuild

Posted by Chris Nicola on Stack Overflow See other posts from Stack Overflow or by Chris Nicola
Published on 2010-06-17T16:54:50Z Indexed on 2010/06/17 18:23 UTC
Read the original article Hit count: 376

Filed under:
|
|

I have a Silverlight solution that I want to create a build script for. I have a simple script that looks like this

call "c:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"

msbuild %CD%\V1\Incentive.sln /target:Rebuild /property:Configuration=DEBUG;WarningLevel=2 
msbuild %CD%\UI\IncentiveUI.sln /target:Rebuild /property:Configuration=DEBUG;WarningLevel=2

pause

However when I run this I get a failure, with some complaints about classes that are in a project with linked files:

http://pastebin.com/JRE3tWfh

This solution compiles fine in VS2008 so I can't figure out what the problem is. I have to guess something is wrong with the way I am using msbuild here.

© Stack Overflow or respective owner

Related posts about wcf

Related posts about Silverlight