Skip to content

Commit

Permalink
Also moved Elmah.Io.AspNetCore.TagHelpers to use framework reference …
Browse files Browse the repository at this point in the history
…for .NET 8
  • Loading branch information
ThomasArdal committed Jan 8, 2024
1 parent 411aacf commit 06961c4
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Description>Tag helpers to help integrate elmah.io client-side logging into ASP.NET Core.</Description>
<Authors>elmah.io</Authors>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<AssemblyName>Elmah.Io.AspNetCore.TagHelpers</AssemblyName>
<PackageId>Elmah.Io.AspNetCore.TagHelpers</PackageId>
<PackageTags>Error;Exception;Reporting;Management;Logging;ELMAH;Diagnostics;Tracing;AspNetCore</PackageTags>
Expand Down Expand Up @@ -31,16 +31,20 @@
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="Microsoft.AspNetCore.Razor.Runtime" Version="2.1.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Elmah.Io.AspNetCore\Elmah.Io.AspNetCore.csproj" />
<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>

<ItemGroup>
<None Include="images\icon.png" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Elmah.Io.AspNetCore\Elmah.Io.AspNetCore.csproj" />
</ItemGroup>

</Project>

0 comments on commit 06961c4

Please sign in to comment.