question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception during build in VS2015 Enterprise (Release version)

See original GitHub issue

The only active weaver for the project is PropertyChanged.Fody 1.50.1

6> Fody (version 1.11.5.0) Executing 6>MSBUILD : error : Fody: An unhandled exception occurred: 6>MSBUILD : error : Exception: 6>MSBUILD : error : Unknown custom metadata item kind: 6 6>MSBUILD : error : StackTrace: 6>MSBUILD : error : bei Microsoft.Cci.Pdb.PdbFunction.ReadCustomMetadata(BitAccess bits) 6>MSBUILD : error : bei Microsoft.Cci.Pdb.PdbFunction…ctor(ManProcSym proc, BitAccess bits) 6>MSBUILD : error : bei Microsoft.Cci.Pdb.PdbFunction.LoadManagedFunctions(BitAccess bits, UInt32 limit, Boolean readStrings) 6>MSBUILD : error : bei Microsoft.Cci.Pdb.PdbFile.LoadFuncsFromDbiModule(BitAccess bits, DbiModuleInfo info, IntHashTable names, ArrayList funcList, Boolean readStrings, MsfDirectory dir, Dictionary2 nameIndex, PdbReader reader) 6>MSBUILD : error : bei Microsoft.Cci.Pdb.PdbFile.LoadFunctions(Stream read, Dictionary2& tokenToSourceMapping, String& sourceServerData, Int32& age, Guid& guid) 6>MSBUILD : error : bei Mono.Cecil.Pdb.PdbReader.PopulateFunctions() 6>MSBUILD : error : bei Mono.Cecil.Pdb.PdbReader.ProcessDebugHeader(ImageDebugDirectory directory, Byte[] header) 6>MSBUILD : error : bei Mono.Cecil.ModuleDefinition.ProcessDebugHeader() 6>MSBUILD : error : bei Mono.Cecil.ModuleDefinition.ReadSymbols(ISymbolReader reader) 6>MSBUILD : error : bei Mono.Cecil.ModuleReader.ReadSymbols(ModuleDefinition module, ReaderParameters parameters) 6>MSBUILD : error : bei Mono.Cecil.ModuleReader.CreateModuleFrom(Image image, ReaderParameters parameters) 6>MSBUILD : error : bei Mono.Cecil.ModuleDefinition.ReadModule(Stream stream, ReaderParameters parameters) 6>MSBUILD : error : bei Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters) 6>MSBUILD : error : bei InnerWeaver.ReadModule() in c:\TeamCity\buildAgent\work\cb27d9fe612cd341\FodyIsolated\ModuleReader.cs:Zeile 16. 6>MSBUILD : error : bei InnerWeaver.Execute() in c:\TeamCity\buildAgent\work\cb27d9fe612cd341\FodyIsolated\InnerWeaver.cs:Zeile 31. 6>MSBUILD : error : Source: 6>MSBUILD : error : Mono.Cecil.Pdb 6>MSBUILD : error : TargetSite: 6>MSBUILD : error : Void ReadCustomMetadata(Microsoft.Cci.Pdb.BitAccess) 6>MSBUILD : error : 6> Finished Fody 132ms.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
alexjpcommented, Jul 22, 2015

@SimonCropp thanks for the help, but there is no need, @jpleed3 solved it!! i had the same thing!!

in my case, i had:

<UsingTask TaskName="NotifyPropertyWeaverMsBuildTask.WeavingTask" AssemblyFile="$(SolutionDir)Tools\NotifyPropertyWeaverMsBuildTask.dll" />
  <Target Name="AfterCompile">
    <NotifyPropertyWeaverMsBuildTask.WeavingTask />
  </Target>

Removed it, and it worked ! Being in the project file, must be why i did not find anything on searching NotifyPropertyWeaver.

Thank you @jpleed3 and @SimonCropp

0reactions
GirishVenkatacommented, Jul 12, 2017

its working after updating to latest package

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio 2015 project builds failed but no errors
Visual Studio 2015 project builds failed but no errors · 1. Does your Error List window is showing up or not? · Go...
Read more >
MSB3277: Found conflicts between different versions of ' ...
This error occurs during a build when more than one version of the same dependent assembly is referenced in a build of the...
Read more >
Failed build on Windows using VS2015 (with VS2017 also ...
My experience is that you end up corrupting visual studio configuration of you install them out of order (install older version after installing ......
Read more >
Cannot debug net6.0-macos Apps - Developer Community
A fix for this issue has been internally implemented and is being prepared for release. We'll update you once it becomes available for...
Read more >
Visual Studio - Wikipedia
Visual Studio is an integrated development environment (IDE) from Microsoft. It is used to develop computer programs including websites, web apps, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found