Skip to content

Commit

Permalink
Fix InheritDoc
Browse files Browse the repository at this point in the history
(And remove now-redundant SourceLink package)
  • Loading branch information
jskeet committed Feb 20, 2024
1 parent 0d01b03 commit ae9fd30
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
<Project>

<!-- Make source control information available for all projects, to avoid this error:
- error : SourceRoot items must include at least one top-level
- (not nested) item when DeterministicSourcePaths is true
-->
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>

<!-- See https://github.com/dotnet/sourcelink/issues/572 -->
<PropertyGroup>
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath>
Expand All @@ -18,16 +9,9 @@

<!-- See https://github.com/saucecontrol/InheritDoc -->
<ItemGroup>
<PackageReference Include="SauceControl.InheritDoc" Version="1.3.0" PrivateAssets="all" />
<PackageReference Include="SauceControl.InheritDoc" Version="2.0.01" PrivateAssets="all" />
</ItemGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
<NoWarn>$(NoWarn);IDT001</NoWarn>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
<PackageDownload Include="NETStandard.Library.Ref" Version="[2.1.0]" />
<InheritDocReference Include="$([MSBuild]::EnsureTrailingSlash('$(NugetPackageRoot)'))netstandard.library.ref\2.1.0\ref\netstandard2.1\netstandard.xml" />
</ItemGroup>


<ItemGroup>
<None Include="../../NuGet-README.md" Pack="true" PackagePath="README.md" />
</ItemGroup>
Expand Down

0 comments on commit ae9fd30

Please sign in to comment.