[英]Missing Visual Studio Web Application publish targets
I am missing the usual publish targets when publishing my c# web application. 在发布我的c#web应用程序时,我缺少通常的发布目标。 The usual "Import" and "Custom" options are missing when I go to publish, as well as the "Manage Profiles" drop down that has the option to create a new profile.
我去发布时缺少通常的“导入”和“自定义”选项,以及可以选择创建新配置文件的“管理配置文件”下拉列表。
Here is the screen I am presented with. 这是我提供的屏幕。
The buttons on the left hand side are "greyed out" 左侧的按钮是“灰色的”
Here is another screen from a colleague that has the missing options 这是另一个缺少选项的同事的屏幕
I have tried a full reinstall of Visual Studio 2015 update 1 with no success. 我已经尝试完全重新安装Visual Studio 2015更新1但没有成功。 I have also tried creating a fresh ASP.NET Web application project in a new solution resulting with the same problem.
我也尝试在新的解决方案中创建一个新的ASP.NET Web应用程序项目,导致同样的问题。
最后,这最终成为项目中Properties/PublishProfiles/xxxx.pubxml
中的损坏的发布配置文件。
There are multipy options for this behavior: 这种行为有多种选择:
Issue with the Web Deploy Tool Web部署工具问题
Try to reinstall the current Web Deploy 3.5 Tool 尝试重新安装当前的Web Deploy 3.5工具
Depending on the exact Version of your Visual Studio and your Operating System 具体取决于Visual Studio和操作系统的版本
There are known issues about specific OS/Visual Studio combinations. 有关特定OS / Visual Studio组合的已知问题。
Missing Web Developer Tools at Installation 安装时缺少Web开发人员工具
Select the Web Developer Tools
Option at installation 在安装时选择
Web Developer Tools
Option
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.