dotnet / dotnet/project-system

Setting a property to it's default should remove it from the project file

Open
#1,245 2 comments 1 reaction 0 assignees View on GitHub
Feature-Project-File-Simplification Triage-Approved
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

Unlike the legacy project system, CPS supports removing a property from the project file when the property is set to its default.

For some reason this isn't working:

1. Check and uncheck **Generate package on build** and **Require license acceptance**

Expected:

``` XML

Exe
netcoreapp1.0

```

Actual:
``` XML

Exe
netcoreapp1.0
False
False

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.