Skip to content

Commit 74cfc11

Browse files
chore: SourceLink is built-in for .NET SDK 8.0.100+ (#143)
Signed-off-by: Austin Drenski <[email protected]> Co-authored-by: Todd Baert <[email protected]>
1 parent 3b7e27b commit 74cfc11

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

build/Common.prod.props

-6
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,4 @@
2525
<None Include="$(MSBuildThisFileDirectory)openfeature-icon.png" Pack="true" PackagePath="\" />
2626
</ItemGroup>
2727

28-
<PropertyGroup Label="SourceLink">
29-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
30-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
31-
<IncludeSymbols>true</IncludeSymbols>
32-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
33-
</PropertyGroup>
3428
</Project>

build/Common.props

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
Please sort alphabetically.
2424
Refer to https://docs.microsoft.com/nuget/concepts/package-versioning for semver syntax.
2525
-->
26-
<MicrosoftSourceLinkGitHubPkgVer>[1.0.0,2.0)</MicrosoftSourceLinkGitHubPkgVer>
2726
<!-- 0.5+ -->
2827
<OpenFeatureVer>[1.4,)</OpenFeatureVer>
2928
</PropertyGroup>

src/Directory.Build.targets

-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
<Project>
2-
<ItemGroup>
3-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="$(MicrosoftSourceLinkGitHubPkgVer)">
4-
<PrivateAssets>all</PrivateAssets>
5-
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
6-
</PackageReference>
7-
</ItemGroup>
8-
92
<PropertyGroup>
103
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath>
114
</PropertyGroup>

0 commit comments

Comments
 (0)