是否有任何配置可用于停止生成wixpdb文件。 由于我们在部署期间不需要该文件。
答案 0 :(得分:4)
请参阅灯光构建任务中的SuppressPdbOutput设置:
+---------+-------+---------------------+-----------+
| item_id | count | date | diffCount |
+---------+-------+---------------------+-----------+
| 0 | 20 | 02.11.2017 00:00:00 | 10 |
| 0 | 30 | 03.11.2017 00:00:00 | 10 |
| 0 | 40 | 04.11.2017 00:00:00 | 10 |
| 1 | 20 | 02.11.2017 00:00:00 | 5 |
| 1 | 25 | 03.11.2017 00:00:00 | 5 |
| 1 | 30 | 04.11.2017 00:00:00 | 5 |
| 2 | 22 | 02.11.2017 00:00:00 | 20 |
| 2 | 42 | 03.11.2017 00:00:00 | 20 |
| 2 | 62 | 04.11.2017 00:00:00 | 20 |
| 3 | 101 | 02.11.2017 00:00:00 | 1 |
| 3 | 102 | 03.11.2017 00:00:00 | 1 |
| 3 | 103 | 04.11.2017 00:00:00 | 1 |
+---------+-------+---------------------+-----------+
答案 1 :(得分:3)
答案 2 :(得分:1)
只需在.wixproj文件中添加以下内容即可。
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<OutputPath>bin\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<-- Just Add below line to avoid generation of wixpdb file -->
<SuppressPdbOutput>true</SuppressPdbOutput>
</PropertyGroup>