mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Include the pdb file in the .nupkg
Works around jbevain/cecil#610 Using InlineIL.Fody messes up the pdb checksum which makes nuget.org consider the .snupkg to be invalid. Workaround this by including the pdb in the main .nupkg
This commit is contained in:
parent
9451553fde
commit
8ccd4e11c0
1 changed files with 4 additions and 1 deletions
|
@ -26,6 +26,9 @@
|
|||
<PathMap Condition=" '$(BuildType)' == 'Release' and '$(HasGitDir)' == 'false' ">$(MSBuildProjectDirectory)=C:/LibHac/</PathMap>
|
||||
<DeterministicSourcePaths Condition=" '$(BuildType)' == 'Release' and '$(HasGitDir)' == 'true' ">true</DeterministicSourcePaths>
|
||||
|
||||
<!-- Workaround https://github.com/jbevain/cecil/issues/610 by including the pdb in the main .nupkg -->
|
||||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
||||
|
||||
<NoWarn>$(NoWarn);1591</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
|
@ -41,7 +44,7 @@
|
|||
<ItemGroup>
|
||||
<PackageReference Include="Fody" Version="6.5.2" PrivateAssets="All" />
|
||||
<PackageReference Include="InlineIL.Fody" Version="1.7.1" PrivateAssets="All" />
|
||||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
|
||||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Configuration for Fody -->
|
||||
|
|
Loading…
Reference in a new issue