Hotfix.Fody.Pdb 1.0.0.1

Removes the .pdb file before the Fody task is invoked because Fody crashes with:

   MSBUILD : error : Fody: An unhandled exception occurred:
MSBUILD : error : Exception:
MSBUILD : error : Out of memory
MSBUILD : error : StackTrace:
MSBUILD : error :   at (wrapper alloc) System.Object:AllocVector (intptr,intptr)
MSBUILD : error :   at Microsoft.Cci.Pdb.MsfDirectory..ctor (Microsoft.Cci.Pdb.PdbReader reader, Microsoft.Cci.Pdb.PdbFileHeader head, Microsoft.Cci.Pdb.BitAccess bits) [0x000a5] in d39e61ae2787473a851567b860d13696:0
MSBUILD : error :   at Microsoft.Cci.Pdb.PdbFile.LoadFunctions (System.IO.Stream read, System.Collections.Generic.Dictionary`2[System.UInt32,Microsoft.Cci.Pdb.PdbTokenLine] tokenToSourceMapping, System.String sourceServerData, System.Int32 age, System.Guid guid) [0x00027] in d39e61ae2787473a851567b860d13696:0
MSBUILD : error :   at Mono.Cecil.Pdb.PdbReader.PopulateFunctions () [0x00008] in d39e61ae2787473a851567b860d13696:0
MSBUILD : error :   at Mono.Cecil.Pdb.PdbReader.ProcessDebugHeader (Mono.Cecil.Cil.ImageDebugDirectory directory, System.Byte[] header) [0x00048] in d39e61ae2787473a851567b860d13696:0
MSBUILD : error :   at Mono.Cecil.ModuleDefinition.ProcessDebugHeader () [0x00012] in b5a52cab1f0046ce9f68342127787868:0
MSBUILD : error :   at Mono.Cecil.ModuleDefinition.ReadSymbols (Mono.Cecil.Cil.ISymbolReader reader) [0x00015] in b5a52cab1f0046ce9f68342127787868:0
MSBUILD : error :   at Mono.Cecil.ModuleReader.ReadSymbols (Mono.Cecil.ModuleDefinition module, Mono.Cecil.ReaderParameters parameters) [0x00047] in b5a52cab1f0046ce9f68342127787868:0
MSBUILD : error :   at Mono.Cecil.ModuleReader.CreateModuleFrom (Mono.Cecil.PE.Image image, Mono.Cecil.ReaderParameters parameters) [0x00076] in b5a52cab1f0046ce9f68342127787868:0
MSBUILD : error :   at Mono.Cecil.ModuleDefinition.ReadModule (System.IO.Stream stream, Mono.Cecil.ReaderParameters parameters) [0x00028] in b5a52cab1f0046ce9f68342127787868:0
MSBUILD : error :   at Mono.Cecil.ModuleDefinition.ReadModule (System.String fileName, Mono.Cecil.ReaderParameters parameters) [0x0000a] in b5a52cab1f0046ce9f68342127787868:0
MSBUILD : error :   at InnerWeaver.ReadModule () [0x00052] in f6f9069078364b4db60945017a527c4a:0
MSBUILD : error :   at InnerWeaver.Execute () [0x00019] in f6f9069078364b4db60945017a527c4a:0
MSBUILD : error :

Install-Package Hotfix.Fody.Pdb -Version 1.0.0.1
dotnet add package Hotfix.Fody.Pdb --version 1.0.0.1
<PackageReference Include="Hotfix.Fody.Pdb" Version="1.0.0.1">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Hotfix.Fody.Pdb --version 1.0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0.1 690 3/25/2017