Skip to content

Removing document raises below exception #61241

Discussion options

You must be logged in to vote

If ItemGroup for file name is present and EnableDefaultCompileItems set to false, RemoveDocument works fine.

e.g.
<ItemGroup> <Compile Include="C:\workdir\Override tests\Configurator\Devspace\DefaultUser\TestModel\Code\Model\XYZ.cs" /> </ItemGroup> <PropertyGroup> <EnableDefaultCompileItems>false</EnableDefaultCompileItems> </PropertyGroup>

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@DevDeepakJoshi
Comment options

Comment options

You must be logged in to vote
1 reply
@jasonmalinowski
Comment options

Answer selected by DevDeepakJoshi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants