相关疑难解决方法(0)

在构建服务器上找不到Microsoft.WebApplication.targets.你的解决方案是什么?

尝试在构建服务器上构建我的项目给出了以下错误:

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)

msbuild .net-4.0 build-server targets dbproj

397
推荐指数
13
解决办法
26万
查看次数

如何在不安装IDE的情况下在构建服务器上安装VS2017版本的msbuild?

从历史上看,这已经使用Microsoft Build Tools完成.但似乎构建工具可能不适用于2015年之后的版本.替换似乎是Visual Studio构建工具,它似乎还没有真正的主页.

我下载了VS2017 Professional安装程序,然后转到Individual Components选项卡.然后,摘要告诉我Visual Studio核心编辑器在那里,占用753MB.我不想要编辑.只是msbuild.没有办法取消选择编辑器.

有没有办法安装最新版本的msbuild而不安装Visual Studio IDE?

msbuild build-tools build-server visual-studio-2017

193
推荐指数
1
解决办法
13万
查看次数

不同的应用程序设置取决于配置模式

是否有人知道我可以在.Net应用程序中设置应用程序当前开发模式的应用程序(或用户)级别设置?IE:调试/发布

更具体地说,我有一个url引用我的应用程序设置中保存的webservices.在发布模式期间,我希望这些设置在调试模式期间指向http://myWebservice.MyURL.com我希望这些设置为http://myDebuggableWebService.MyURL.com.

有任何想法吗?

.net c# vb.net settings appsettings

16
推荐指数
3
解决办法
2万
查看次数

Visual Studio Build Tools 2017中缺少vs_buildtools.exe

安装了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,你可以从这个截图中看到.

在此输入图像描述

这是安装程序的屏幕截图.

在此输入图像描述

真的,也有不少文章说同样的事情:1,2,仅举2.

我如何获得vs_buildtools.exe?

显然,解决我的Microsoft引发的Web应用程序目标丢失问题的唯一方法是,因为它不再是15.0,使用此可执行文件并vs_buildtools.exe --add Microsoft.VisualStudio.Workload.WebBuildTools按照答案指定运行.我现在也很恼火,应该存在的东西没有.Microsoft是否在更新的Build Tools版本中更改了某些内容?

c# msbuild visual-studio visual-studio-2017

10
推荐指数
1
解决办法
4962
查看次数