asp.net mvc - CruiseControl.NET, VS 2010 and MVC 3 -- build error -
using latest stable of cc.net (new it) , vs 2010.
i have defined project files simple c# projects (4 in total) , 1 mvc project.
the c# projects compile correctly; however, mvc3 project refuses build.
i receive following error in cc.net:
error msb4019: imported project "c:\program files\msbuild\microsoft\visualstudio\v10.0\webapplications\microsoft.webapplication.targets" not found. confirm path in declaration correct, , file exists on disk.
after searching around , finding this link , this other link (both referring older versions of visual studio), seemed general solution copy these files directory solution directory, add them solution visual studio, , change line in .csproj file:
<import project="$(msbuildextensionspath32)\microsoft\visualstudio\v10.0\webapplications\microsoft.webapplication.targets" />
to this:
<import project="$(solutiondir)\microsoft.webapplication.targets" />
however, technique worked other vs versions produces different result in vs 2010: receive .net project upgrade wizard, if upgrading project old version of .net. strangeness compounded fact if undo , re-save file exactly was, receive same message. it's if project has been marked dirty or else has changed somehow.
anyone have ideas? seems should easier, can't seem find resource on anywhere. hoping stackoverflow come through per usual. :)
thanks in advance help!
the .targets file v10.0 has assembly in install folder - microsoft.webapplication.build.tasks.dll. did copy file on well? necessary .targets file work correctly, though may not cause of problem.
Comments
Post a Comment