Browse Source
Enable NuGetAudit and perform clean-up (#604)
* Enable NuGetAudit and perform clean-up
- Remove unnecessary package source feeds
- Remove the unnecessary source build prebuilt
base line file
* Delete eng/Xdt.snk
* Update Directory.Build.props
* Update Directory.Build.props
ViktorHofer-patch-1
Viktor Hofer
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with
7 additions and
16 deletions
-
Directory.Build.props
-
NuGet.config
-
eng/DotNetBuild.props
-
eng/SourceBuildPrebuiltBaseline.xml
-
BIN
eng/Xdt.snk
|
|
@ -5,7 +5,6 @@ |
|
|
|
<PropertyGroup> |
|
|
|
<Copyright>$(CopyrightMicrosoft)</Copyright> |
|
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression> |
|
|
|
<AssemblyOriginatorKeyFile>$(RepositoryEngineeringDir)WebSdk.snk</AssemblyOriginatorKeyFile> |
|
|
|
<LangVersion>latest</LangVersion> |
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
@ -20,6 +19,9 @@ |
|
|
|
<PackageTags>Microsoft Xdt XmlDocumentTransform XmlTransform</PackageTags> |
|
|
|
<RepositoryUrl>https://github.com/dotnet/xdt</RepositoryUrl> |
|
|
|
<RepositoryType>git</RepositoryType> |
|
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
|
|
|
<!-- Only upgrade NuGetAudit warnings to errors for official builds. --> |
|
|
|
<WarningsNotAsErrors Condition="'$(OfficialBuild)' != 'true'">$(WarningsNotAsErrors);NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors> |
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
@ -2,15 +2,12 @@ |
|
|
|
<configuration> |
|
|
|
<packageSources> |
|
|
|
<clear /> |
|
|
|
<add key="dotnet8" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" /> |
|
|
|
<add key="dotnet8-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8-transport/nuget/v3/index.json" /> |
|
|
|
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" /> |
|
|
|
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" /> |
|
|
|
<add key="nuget-build" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/nuget-build/nuget/v3/index.json" /> |
|
|
|
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" /> |
|
|
|
<add key="dotnet-tools-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools-transport/nuget/v3/index.json" /> |
|
|
|
<add key="dotnet-libraries" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json" /> |
|
|
|
<add key="dotnet-libraries-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries-transport/nuget/v3/index.json" /> |
|
|
|
</packageSources> |
|
|
|
<auditSources> |
|
|
|
<clear /> |
|
|
|
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> |
|
|
|
</auditSources> |
|
|
|
<disabledPackageSources /> |
|
|
|
</configuration> |
|
|
@ -1,8 +0,0 @@ |
|
|
|
<!-- Whenever altering this or other Source Build files, please include @dotnet/source-build-internal as a reviewer. --> |
|
|
|
<!-- See aka.ms/dotnet/prebuilts for guidance on what pre-builts are and how to eliminate them. --> |
|
|
|
|
|
|
|
<UsageData> |
|
|
|
<IgnorePatterns> |
|
|
|
<UsagePattern IdentityGlob="Microsoft.SourceBuild.Intermediate.*" /> |
|
|
|
</IgnorePatterns> |
|
|
|
</UsageData> |