0

How can I prevent e.g. wxs files that are located below a project at file level from being automatically included in the project, i.e. from being displayed in the Solution Explorer? It is then also not possible to remove them from the project with 'Exclude from Project'. The only solution is to delete the corresponding file. This still worked under Wix 3.14. What am I doing wrong?

1 Answer 1

1

There is a bug open on the Exclude behavior not working properly. For now you can disable the default items then explicitly add Compile items.

Like:

<PropertyGroup>
  <EnableDefaultItems>false</EnableDefaultItems>
</PropertyGroup>
<ItemGroup>
  <Compile Include="my.wxs" />
  <Compile Include="all\of\these\too\*.wxs" />
</ItemGroup>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.