|
3 | 3 | This file applies to projects automatically, but should not contain any project-specific information so it can easily be replaced |
4 | 4 | --> |
5 | 5 |
|
6 | | - <PropertyGroup> |
| 6 | + <PropertyGroup Label="RepositoryTemplate.Implicit.Configuration"> |
7 | 7 | <NoWarn>$(NoWarn);CA1416;CS1591;CS1998;NU1603;NU1605;NU1608;NU1701;AD0001;HAA0301;HAA0302;HAA0303;HAA0401;HAA0603</NoWarn> |
8 | 8 | <NoError>$(NoError);CS1591;CS1998;NU1603;NU1605;NU1608;NU1701;AD0001;HAA0301;HAA0302;HAA0303;HAA0401;HAA0603</NoError> |
9 | 9 | <TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
|
30 | 30 | </Target> |
31 | 31 |
|
32 | 32 | <!-- CSharp language --> |
33 | | - <PropertyGroup> |
| 33 | + <PropertyGroup Label="RepositoryTemplate.Implicit.Configuration.Language"> |
34 | 34 | <LangVersion>latest</LangVersion> |
35 | 35 | </PropertyGroup> |
36 | 36 |
|
37 | 37 | <!-- Enforce portable pdb format --> |
38 | | - <PropertyGroup Condition="'$(Configuration)'=='Release'"> |
| 38 | + <PropertyGroup Label="RepositoryTemplate.Implicit.Configuration.Debugging.Release" |
| 39 | + Condition="'$(Configuration)'=='Release'"> |
39 | 40 | <DebugType>portable</DebugType> |
40 | 41 | <!-- Debug symbols are required for ApiApprover --> |
41 | 42 | <DebugSymbols>true</DebugSymbols> |
42 | 43 | </PropertyGroup> |
43 | 44 |
|
44 | 45 | <!-- Enforce debug for non-web assembly projects --> |
45 | | - <PropertyGroup Condition="'$(Configuration)' == 'Debug' And '$(RuntimeIdentifier)' != 'browser-wasm'"> |
| 46 | + <PropertyGroup Label="RepositoryTemplate.Implicit.Configuration.Debugging.Debug" |
| 47 | + Condition="'$(Configuration)' == 'Debug' And '$(RuntimeIdentifier)' != 'browser-wasm'"> |
46 | 48 | <DebugType>portable</DebugType> |
47 | 49 | <DebugSymbols>true</DebugSymbols> |
48 | 50 | </PropertyGroup> |
49 | 51 |
|
50 | 52 | <!-- Browser-wasm requires portable debug type --> |
51 | | - <PropertyGroup Condition="'$(Configuration)' == 'Debug' And '$(RuntimeIdentifier)' == 'browser-wasm'"> |
| 53 | + <PropertyGroup Label="RepositoryTemplate.Implicit.Configuration.Debugging.Debug.Wasm" |
| 54 | + Condition="'$(Configuration)' == 'Debug' And '$(RuntimeIdentifier)' == 'browser-wasm'"> |
52 | 55 | <DebugType>portable</DebugType> |
53 | 56 | <DebugSymbols>true</DebugSymbols> |
54 | 57 | </PropertyGroup> |
55 | 58 |
|
56 | 59 | <!-- NuGet auditing, see https://learn.microsoft.com/en-us/nuget/concepts/auditing-packages --> |
57 | | - <PropertyGroup> |
| 60 | + <PropertyGroup Label="RepositoryTemplate.Implicit.Configuration.NuGet"> |
58 | 61 | <!-- 'all' means even indirect packages, 'direct' means only direct dependencies --> |
59 | 62 | <NuGetAuditMode>direct</NuGetAuditMode> |
60 | 63 | <!-- Low means even low vulnerabilities will be reported --> |
61 | 64 | <NuGetAuditLevel>low</NuGetAuditLevel> |
62 | 65 | </PropertyGroup> |
63 | 66 |
|
64 | | - <ItemGroup> |
| 67 | + <ItemGroup Label="RepositoryTemplate.Implicit.Items"> |
65 | 68 | <Compile Include="..\*.cs"> |
66 | 69 | <SonarQubeExclude>true</SonarQubeExclude> |
67 | 70 | </Compile> |
|
0 commit comments