dotnet / dotnet/project-system
All-configs property settings should be unconditional
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
I created a new project multitargeted to `net46;netstandard1.3`. I went to project properties -> Build, selected "All Configurations" and "All Platforms", and checked the "Allow unsafe code" box. Instead of a simple unconditional addition of the property
```xml
True
```
in the existing unconditional `PropertyGroup`, the project file change is
```diff
+
+ True
+
+
+
+ True
+
+
+
+ True
+
+
+
+ True
+
+
+
+ True
+
+
+
+ True
+
+
+
+ True
+
+
+
+ True
+
+
+
+ True
+
+
+
+ True
+
+
+
+ True
+
+
+
+ True
+
```
The former is both more succinct and easier to later extend to new configurations.
Contributor guide
Assessment
This issue has not been assessed yet.