Skip to content

Commit

Permalink
Trying to use the build-in Source Link for .NET 8.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonsagara committed Nov 15, 2023
1 parent a9aaa3c commit 38e2171
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 31 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<LangVersion>12.0</LangVersion>

<!-- NuGet -->
<Version>2.0.0</Version>
<Version>2.0.1</Version>
<AssemblyVersion>2.0.0</AssemblyVersion>
<FileVersion>2.0.0</FileVersion>
<Authors>Jon Sagara</Authors>
Expand Down
4 changes: 0 additions & 4 deletions src/Sagara.Core.AspNetCore/Sagara.Core.AspNetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
</ItemGroup>

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

<!-- Use the ASP.NET Core shared framework -->
<FrameworkReference Include="Microsoft.AspNetCore.App" />
Expand Down
7 changes: 0 additions & 7 deletions src/Sagara.Core.Caching/Sagara.Core.Caching.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@
<ProjectReference Include="..\Sagara.Core\Sagara.Core.csproj" />
</ItemGroup>

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

<!-- When running in GitHub Actions, enable deterministic builds for the NuGet package. -->
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
Expand Down
7 changes: 0 additions & 7 deletions src/Sagara.Core.Data/Sagara.Core.Data.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@
<ProjectReference Include="..\Sagara.Core\Sagara.Core.csproj" />
</ItemGroup>

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

<ItemGroup>
<None Update="README.md">
<PackagePath>\</PackagePath>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,13 @@
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Serilog" Version="3.1.1" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="7.0.0" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Sagara.Core\Sagara.Core.csproj" />
</ItemGroup>

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

<!-- When running in GitHub Actions, enable deterministic builds for the NuGet package. -->
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
Expand Down
4 changes: 0 additions & 4 deletions src/Sagara.Core/Sagara.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@

<ItemGroup>
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="2.3.2" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NodaTime" Version="3.1.9" />
</ItemGroup>

Expand Down

0 comments on commit 38e2171

Please sign in to comment.