msbuild with no Visual Studio (Yes Windows SDK installed & Copy Local=true)
-
A project gets built fine from Visual Studio without a problem from developers work station. Now we need to move it to DEV and UAT server. I've been struggling all day trying to get my ASP.NET project built with msbuild on a server with no Visual Studio installed (dev tools not permitted on servers) -
The type or namespace name 'Optimization' does not exist in the namespace 'System.Web'
The type or namespace name 'DotNetOpenAuth' could not be foundCouple attempts were made: 1. Install Windows SDK (http://msdn.microsoft.com/en-US/windows/hardware/hh852363) - appears there has been a lot of discussions from another Stackoverflow post (Couple relevant posts from Stackoverflow did not help[^]). You'd also need to add to environment variables PATH C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\ C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools (This did NOT help) 2: gacutil to install the dll's? (no vs command prompt - as said, no dev tool/Visual Studio permitted on server) 3: copy the dlls' to (i.e. same folder as MSBuild.exe): C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\ (This did NOT help) 4: Copy local = true (This did NOT help - the dll's apparent msbuild can't find already in bin folder of the ASP.NET application) It appears to be a bug with msbuild - http://social.msdn.microsoft.com/Forums/vstudio/en-US/434abf1a-30db-4b13-8062-13755898dd71/msbuild-is-unable-to-link-to-a-webapplication-project?forum=msbuild Anyone has experience with this? Thanks
dev