![]() ![]() The first line is the actual import from the new location that is relative to the solution directory. You'll need to modify the imports section in your project file to look like this: If you'd prefer not to modify anything on build server, and you still want the project to build right out of source control, it might be a good idea to put the required binaries under source control. UPD: as of VS2017, there is workload in Build Tools that eliminates this problem completely. Notice, this is the same installer that has been proposed to be used in original answer Solution B - run installer in headless mode Solution A - using package manager (choco)Ĭhoco install visualstudio2017-workload-webbuildtools.This will lead to installing missing libraries in C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\Microsoft\VisualStudio\v15.0\WebApplications by default Use command lineĭisclaimer I haven't tested any of the following proposalsĪs and suggested in comments, it can also be installed in headless mode (no ui) from CLI, that might actually be preferable way of solving the problem on remove server. ![]() Just go to this page that will download MSBuild 2017 Tools and while installation click Web development build tools to get these targets installed as well: Right now, in 2017, you can install WebApplication redists with MSBuildTools. It can be accomplished multiple ways, out of which 3 are described below. The solution would be to install redistributable packages on build server agent. But now I'm setup a new server from scratch, and I want to know if there any better solution to solve this issue. I solved this problem a few months ago, with installing Visual Studio 2010 on the Build Server. Confirm that the path in the declaration is correct, and that the file exists on disk. Confirm that the path in the declaration is correct, and that the file exists on disk.Įrror MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\" was not found. Trying to build my project on the build server gives me the following error: Microsoft (R) Build Engine Version 9.1Įrror MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\.targets" was not found. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |