Skip to content

Commit

Permalink
TEST-0010 Add warning suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
hwinther committed Nov 13, 2024
1 parent 1227502 commit 4da0d2e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 22 deletions.
37 changes: 20 additions & 17 deletions src/backend/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
<Project>
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<RuntimeIdentifiers>win-x64;linux-musl-x64</RuntimeIdentifiers>
<DefineConstants></DefineConstants>
<InheritDocEnabled>true</InheritDocEnabled>
<AssemblyVersion>0.0.0.1</AssemblyVersion>
<FileVersion>0.0.0.1</FileVersion>
<InformationalVersion>0.0.0.1-local-dev</InformationalVersion>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<RuntimeIdentifiers>win-x64;linux-musl-x64</RuntimeIdentifiers>
<DefineConstants></DefineConstants>
<InheritDocEnabled>true</InheritDocEnabled>
<AssemblyVersion>0.0.0.1</AssemblyVersion>
<FileVersion>0.0.0.1</FileVersion>
<InformationalVersion>0.0.0.1-local-dev</InformationalVersion>
</PropertyGroup>

<ItemGroup>
<AssemblyAttribute Include="WebApi.Attributes.DefineConstantsAttribute">
<_Parameter1>"$(DefineConstants)"</_Parameter1>
</AssemblyAttribute>


<NuGetAuditSuppress
Include="https://github.com/advisories/GHSA-5f2m-466j-3848;https://github.com/advisories/GHSA-x5qj-9vmx-7g6g;https://github.com/advisories/GHSA-xhfc-gr8f-ffwc" />

<!-- TODO: GitVersion does not match the git tag well enough, in order to fully use it I think we would have to embrace their commit message format -->
<!--PackageReference Include="GitVersion.MsBuild" Version="5.12.0">
<PrivateAssets>all</PrivateAssets>
Expand Down
5 changes: 0 additions & 5 deletions src/backend/WebApi/WebApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
<InheritDocEnabled>true</InheritDocEnabled>
</PropertyGroup>

<ItemGroup>
<NuGetAuditSuppress
Include="https://github.com/advisories/GHSA-5f2m-466j-3848;https://github.com/advisories/GHSA-x5qj-9vmx-7g6g;https://github.com/advisories/GHSA-xhfc-gr8f-ffwc" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.0">
Expand Down

0 comments on commit 4da0d2e

Please sign in to comment.