尝试在构建服务器上构建我的项目给出了以下错误:
Microsoft (R) Build Engine Version 4.0.30319.1
error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.SqlTasks.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
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 <Import> declaration is correct, and that the file exists on disk.
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 …Run Code Online (Sandbox Code Playgroud) 从历史上看,这已经使用Microsoft Build Tools完成.但似乎构建工具可能不适用于2015年之后的版本.替换似乎是Visual Studio构建工具,它似乎还没有真正的主页.
我下载了VS2017 Professional安装程序,然后转到Individual Components选项卡.然后,摘要告诉我Visual Studio核心编辑器在那里,占用753MB.我不想要编辑.只是msbuild.没有办法取消选择编辑器.
有没有办法安装最新版本的msbuild而不安装Visual Studio IDE?
是否有人知道我可以在.Net应用程序中设置应用程序当前开发模式的应用程序(或用户)级别设置?IE:调试/发布
更具体地说,我有一个url引用我的应用程序设置中保存的webservices.在发布模式期间,我希望这些设置在调试模式期间指向http://myWebservice.MyURL.com我希望这些设置为http://myDebuggableWebService.MyURL.com.
有任何想法吗?
我安装了Visual Studio中建立一个使用链接(在底部下的其他工具和框架)同时安装工作量工具2017年:的Visual C++编译工具和Web开发构建工具.我保留了默认文件夹.
根据相当多的文章,例如Microsoft Web Application Targets is Missing,我希望在文件夹:C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Binfolder中看到vs_buildtools.exe ,但是没有.我看到了MSBuild.exe,你可以从这个截图中看到.
这是安装程序的屏幕截图.
我如何获得vs_buildtools.exe?
显然,解决我的Microsoft引发的Web应用程序目标丢失问题的唯一方法是,因为它不再是15.0,使用此可执行文件并vs_buildtools.exe --add Microsoft.VisualStudio.Workload.WebBuildTools按照答案指定运行.我现在也很恼火,应该存在的东西没有.Microsoft是否在更新的Build Tools版本中更改了某些内容?
msbuild ×3
build-server ×2
c# ×2
.net ×1
.net-4.0 ×1
appsettings ×1
build-tools ×1
dbproj ×1
settings ×1
targets ×1
vb.net ×1