Based on the post here http://lucbei.wordpress.com/2011/12/04/new-build-server-microsoft-webapplication-targets-was-not-found/ you can simply download the "Microsoft Visual Studio 2010 Shell (Integrated) Redistributable Package" from http://www.microsoft.com/download/en/confirmation.aspx?id=115 and the targets are installed.
This avoids the need to install Visual Studio on the build server.
I have just tried this out now, and can verify that it works:
Before:
error MSB4019: 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 declaration is correct, and that the file exists on disk.
After the install:
[Builds correctly]
This is a far better solution than installing Visual Studio on a build server, obviously.
Комментариев нет:
Отправить комментарий