Skip to content

Commit 9b656ba

Browse files
committed
Add SourceLink
1 parent 740c83a commit 9b656ba

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

OperatingSystem2.csproj

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@
2121
<Description>表示有关操作系统的信息,如版本和平台标识符的通用库。</Description>
2222
<PackageId>OperatingSystem2</PackageId>
2323
<GenerateDocumentationFile>true</GenerateDocumentationFile>
24-
<Version>1.4.2</Version>
24+
<Version>1.4.2.1</Version>
2525
<AndroidUseIntermediateDesignerFile>false</AndroidUseIntermediateDesignerFile>
2626
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
27+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
28+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
29+
<IncludeSymbols>true</IncludeSymbols>
30+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2731
</PropertyGroup>
2832

2933
<PropertyGroup Condition=" $(TargetFramework.StartsWith('netstandard')) OR $(TargetFramework.StartsWith('MonoAndroid')) OR $(TargetFramework.StartsWith('Xamarin')) ">
@@ -38,4 +42,8 @@
3842
<PackageReference Include="Xamarin.Essentials" Version="1.7.0" />
3943
</ItemGroup>
4044

45+
<ItemGroup>
46+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
47+
</ItemGroup>
48+
4149
</Project>

0 commit comments

Comments
 (0)