此问题与this之一有关。但是,当转到物业经理(“查看>其他Windows>物业经理”)时:
并选择“添加新项目属性表...”:
导出属性文件,但其内容为:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup />
<ItemGroup />
</Project>
构建标志设置在哪里(我需要一个带优化的自定义构建,增量链接,aslr和dep全部禁用)?这些自定义设置出现在项目“ExampleSubroutine1”的上图中,我想在项目“SingleLocalVariable”中使用它们,但是在“SingleLocalVariable”中导入属性文件不会设置相应的构建标志。
为什么?
“ExampleSubroutine1”中存在以下设置:
虽然默认值保存在“SingleLocalVariable”中,即使我从“ExampleSubroutine1”导入属性表:
我对所有项目使用相同的构建配置(Debug x64):