Page 1 of 1

New Compile Error

Posted: Thu Feb 21, 2013 12:11 pm
by drtech
Error 1 The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. C:\svn\beta\OpenDentalWebService\OpenDentalWebService.csproj 968 3 xCrudGenerator

I just downloaded the source code again and am getting a new error I have never seen. I can't seem to uncheck building WebApplications because the folder isn't there. Unchecking xCrudGenerator from compile does not seem to help either as I would expect. Any help with this one?

Re: New Compile Error

Posted: Thu Feb 21, 2013 1:52 pm
by jsalmon
I do not recognize this error nor do I recognize the Microsoft.WebApplication.targets. Therefore I went to Google and someone suggested installing Microsoft Visual Studio 2010 Shell (Integrated) Redistributable Package: http://www.microsoft.com/en-us/download ... spx?id=115

Re: New Compile Error

Posted: Thu Feb 21, 2013 1:53 pm
by drtech
Thanks, I will try it

Re: New Compile Error

Posted: Thu Feb 21, 2013 2:15 pm
by drtech
Got it to work by finally figuring out the right combination of projects NOT to build.

Re: New Compile Error

Posted: Tue Feb 26, 2013 10:25 pm
by jsalmon
I was able to duplicate this by downloading visual studio 2012 express. Once I figure it out I'll post my findings. I'm assuming it has to do with the fact that those projects are unsupported by the free version. I'm just surprised that VS tried to manipulate the csproj files, maybe it has to do with VS trying to "up-vert" the files automatically in an attempt to open them? I can tell you that the line:

Code: Select all

  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
does not exist in my project file at work which is the full version of VS 2010.

Re: New Compile Error

Posted: Wed Feb 27, 2013 8:18 am
by drtech
glad to see I was not crazy :p