Skip to content

Commit

Permalink
Update nuget package generation with fix available on dotnet/sourceli…
Browse files Browse the repository at this point in the history
  • Loading branch information
mariomastrodicasa committed Oct 16, 2021
1 parent fb1e971 commit cbdaafd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/CLIParser/CLIParser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Owners>MASES s.r.l.</Owners>
<Authors>MASES s.r.l.</Authors>
<Company>MASES s.r.l.</Company>
<Version>2.1.2.0</Version>
<Version>2.2.0.0</Version>
<Product>CLIParser</Product>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<TargetFrameworks>net461;netcoreapp3.1;net5.0;net5.0-windows</TargetFrameworks>
Expand All @@ -28,6 +28,14 @@
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\Common\CLIParser.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<!-- Fix start https://github.com/dotnet/sourcelink/issues/572 -->
<PropertyGroup>
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath>
</PropertyGroup>
<ItemGroup>
<EmbeddedFiles Include="$(GeneratedAssemblyInfoFile)"/>
</ItemGroup>
<!-- Fix end -->
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
Expand Down

0 comments on commit cbdaafd

Please sign in to comment.