在Visual Studio 2015项目中设置调试配置文件?
问题描述:
打开项目属性时,我从某个地方得到一个项目.我知道了.
I got a project from somewhere, when I open the project property. I see.
我不知道个人资料测试"在哪里?
I don't know where is it from the profile "test"?
我检查了xproj项目文件.代码很简单,
I check the xproj project file. The code is simple,
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ActiveDebugProfile>test</ActiveDebugProfile>
</PropertyGroup>
</Project>
但是,我创建了一个新的解决方案/项目文件并粘贴了相同的上下文,但它没有显示调试配置文件.解决方案的global.json文件为:
However I create a new solution/project file and paste the same context, it doesn't show the debug profile. The global.json file of the solution is:
{
"sdk": {
"version": "1.0.0-rc1-update1",
"runtime": "clr",
"architecture": "x64"
}
}
谢谢
Thanks.
答
阿德莫尔,
我认为这与实际的项目类型有关,例如,如果我创建ASP.NET 5项目,则可以获得该选项.
I think it would be related to the real project type, for example, if I create the ASP.NET 5 project, I could get that option.
最好的问候,
Jack