-
In a C# project for instance you can use following to tell the .net compiler to ignore a file <ItemGroup>
<Compile Remove="somefile.cs" />
</ItemGroup> Any equivalent in Wix? There's some wix files I want to store in the project directory as informational only. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Actually you can do:
|
Beta Was this translation helpful? Give feedback.
-
Depends on the file type, the following should work: <ItemGroup>
<Compile Remove="SomeCodeFile.wxs" />
<EmbeddedResource Remove="SomeLocFile.wxl" />
</ItemGroup> Or you can turn off the automatic globbing. |
Beta Was this translation helpful? Give feedback.
-
Didn't work (tried both Compile and EmbeddedResource just in case). Had a wxl file I wanted to ignore as it's informational only and was causing duplicate symbols errors (think that was the error). But DefualtItemExcludes in your link worked: '''xml |
Beta Was this translation helpful? Give feedback.
Depends on the file type, the following should work:
Or you can turn off the automatic globbing.