/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
eng/tools/RepoTasks/RepoTasks.csproj
31 строка
2 KB
William Godbe
Fix NU1903 suppression to use NoWarn instead of WarningsNotAsErrors (#66466)
25 апр 2026, 01:36
Не верифицирован
25 апр 2026, 01:36
555c870
Код
Авторство
О чём код?
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>$(BundledNETCoreAppTargetFramework)</TargetFramework> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> <Optimize>false</Optimize> <DebugType>embedded</DebugType> <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> <!-- Need to build this project in source build --> <ExcludeFromSourceOnlyBuild>false</ExcludeFromSourceOnlyBuild> <!-- Temporarily target the previous runtime until https://github.com/dotnet/sdk/pull/14574 is merged. --> <TargetLatestDotNetRuntime>false</TargetLatestDotNetRuntime> <!-- No need to track public APIs of these MSBuild tasks. --> <AddPublicApiAnalyzers>false</AddPublicApiAnalyzers> <!-- Suppress NuGet vulnerability audit warnings for transitive dependencies in this build-time tool. Uses NoWarn instead of WarningsNotAsErrors because NuGet restore promotes audit warnings to errors via its own mechanism that WarningsNotAsErrors does not override. --> <NoWarn>$(NoWarn);NU1901;NU1902;NU1903;NU1904</NoWarn> </PropertyGroup> <ItemGroup> <PackageReference Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildFrameworkVersion)" ExcludeAssets="runtime" /> <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" ExcludeAssets="runtime" /> <PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildUtilitiesCoreVersion)" ExcludeAssets="runtime" /> </ItemGroup> <ItemGroup> <Compile Include="$(SharedSourceRoot)CertificateGeneration\**\*.cs" LinkBase="shared\CertificateGeneration" /> </ItemGroup> </Project>