|
1 | 1 | <Project> |
| 2 | + <PropertyGroup> |
| 3 | + <GITHUB_RUN_NUMBER Condition="'$(GITHUB_RUN_NUMBER)' == ''">0</GITHUB_RUN_NUMBER> |
| 4 | + <RestoreSources>https://api.nuget.org/v3/index.json;https://nuget.pkg.github.com/vmelamed/index.json</RestoreSources> |
| 5 | + </PropertyGroup> |
| 6 | + |
2 | 7 | <!-- ================ Common Settings for All projects ================ --> |
3 | 8 | <PropertyGroup Label="Packages"> |
4 | 9 | <TargetFramework>net10.0</TargetFramework> |
|
9 | 14 | <AnalysisLevel>latest</AnalysisLevel> |
10 | 15 | <WarningLevel>9999</WarningLevel> |
11 | 16 | <TreatWarningsAsErrors>True</TreatWarningsAsErrors> |
12 | | - <WarningsAsErrors /> |
| 17 | + <WarningsAsErrors>$(WarningsAsErrors);NU1605;NU1608;NU1701;NU1702;</WarningsAsErrors> |
13 | 18 | <NoWarn>$(NoWarn);IDE0058;IDE0290;IDE0130;</NoWarn> |
14 | 19 | <Deterministic>true</Deterministic> |
15 | 20 | <DebugType>portable</DebugType> |
|
22 | 27 | <RestoreLockedMode Condition="'$(CI)' == 'true'">true</RestoreLockedMode> |
23 | 28 | <ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild> |
24 | 29 | <MinVerTagPrefix>v</MinVerTagPrefix> |
| 30 | + <MinVerDefaultPreReleaseIdentifiers>preview</MinVerDefaultPreReleaseIdentifiers> |
| 31 | + <AssemblyVersion>$(MinVerMajor).$(MinVerMinor).$(GITHUB_RUN_NUMBER).$(MinVerPatch)</AssemblyVersion> |
| 32 | + <FileVersion>$(MinVerMajor).$(MinVerMinor).$(MinVerPatch).$(GITHUB_RUN_NUMBER)</FileVersion> |
25 | 33 | </PropertyGroup> |
26 | 34 |
|
27 | 35 | <!-- ================ Package properties for all vm2 packages ================ --> |
|
44 | 52 | </PropertyGroup> |
45 | 53 |
|
46 | 54 | <!-- ================ Common Package References for All projects ================ --> |
47 | | - <PropertyGroup> |
48 | | - <RestoreSources>https://api.nuget.org/v3/index.json;https://nuget.pkg.github.com/vmelamed/index.json</RestoreSources> |
49 | | - </PropertyGroup> |
50 | | - |
51 | 55 | <ItemGroup> |
52 | 56 | <PackageReference Include="System.Configuration.ConfigurationManager" /> |
53 | 57 | <PackageReference Include="Microsoft.Extensions.Configuration.Binder" /> |
|
235 | 239 | </NoWarn> |
236 | 240 | <TieredPGO>false</TieredPGO> |
237 | 241 | <!-- To show up in the VS test explorer, see also below in the package references: |
238 | | - <RestorePackagesWithLockFile Condition="$(BuildingInsideVisualStudio) == 'true'">false</RestorePackagesWithLockFile> |
| 242 | + <RestorePackagesWithLockFile Condition="$(BuildingInsideVisualStudio) == 'true')">false</RestorePackagesWithLockFile> |
239 | 243 | --> |
240 | 244 | </PropertyGroup> |
241 | 245 |
|
|
0 commit comments