Skip to content

Commit

Permalink
enable source link
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianAuinger committed Mar 21, 2022
1 parent ada8975 commit c9bf16a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@
<Copyright>Weingartner Maschinenbau GmbH</Copyright>
<PackageTags>json migration</PackageTags>

<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>

</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>

<DebugSymbols>True</DebugSymbols>
<DebugType>Embedded</DebugType>
</PropertyGroup>

<ItemGroup>
Expand All @@ -10,15 +13,20 @@
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.1.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.1.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>

<PropertyGroup>
<PackageId>Weingartner.Json.Migration.Analyzer</PackageId>

<IncludeBuildOutput>false</IncludeBuildOutput>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<DevelopmentDependency>true</DevelopmentDependency>
<NoPackageAnalysis>true</NoPackageAnalysis>

<ContentTargetFolders>analyzers\dotnet\cs</ContentTargetFolders>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_AddAnalyzersToOutput</TargetsForTfmSpecificContentInPackage>
Expand Down
5 changes: 4 additions & 1 deletion Weingartner.Json.Migration/Weingartner.Json.Migration.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>

Expand All @@ -18,5 +22,4 @@
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>


</Project>

0 comments on commit c9bf16a

Please sign in to comment.