Skip to content

Commit

Permalink
Merge pull request #2 from Sergio0694/dev/fix-return-attributes
Browse files Browse the repository at this point in the history
Fix return attributes generation
  • Loading branch information
Sergio0694 authored Oct 22, 2022
2 parents b9af408 + 22504e8 commit a60a03a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions tests/PolySharp.NuGet/PolySharp.NuGet.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net6.0</TargetFrameworks>
<RestoreSources>
https://api.nuget.org/v3/index.json;
..\..\artifacts;
Expand All @@ -10,7 +10,7 @@

<ItemGroup>
<PackageReference Include="PolySharp" Version="$(PackageVersion)" />
<PackageReference Include="System.Memory" Version="4.5.5" />
<PackageReference Include="System.Memory" Version="4.5.5" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
</ItemGroup>

<ItemGroup>
Expand Down
9 changes: 2 additions & 7 deletions tests/PolySharp.Tests/PolySharp.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PolySharpUsePublicAccessibilityForGeneratedTypes>true</PolySharpUsePublicAccessibilityForGeneratedTypes>
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net6.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
<CompilerVisibleProperty Include="PolySharpUsePublicAccessibilityForGeneratedTypes"/>
</ItemGroup>

<ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Memory" Version="4.5.5" />
</ItemGroup>

Expand Down

0 comments on commit a60a03a

Please sign in to comment.