Problem
- Error upon building a solution:
Fody: An unhandled exception occurred:
Exception:
Value cannot be null. (Parameter 'path')
Type:
System.ArgumentNullException
StackTrace:
at System.ArgumentNullException.Throw(String paramName)
at System.IO.File.Delete(String path)
at InnerWeaver.CleanupTempSymbolsAndAssembly() in C:\projects\fody\FodyIsolated\ModuleReader.cs:line 39
at InnerWeaver.Execute() in C:\projects\fody\FodyIsolated\InnerWeaver.cs:line 126
at Processor.ExecuteInOwnAssemblyLoadContext() in C:\projects\fody\Fody\Processor.cs:line 157
at Processor.Inner() in C:\projects\fody\Fody\Processor.cs:line 101
at Processor.Execute() in C:\projects\fody\Fody\Processor.cs:line 49
Source:
System.Private.CoreLib
TargetSite:
Void Throw(System.String)
- The same solution is built on the same machine using another IDE.
Cause [Optional]
Not fitting MSBuild Version.
Resolution
Change the MSBuild Version option in Settings | Build, Execution, Deployment | Toolset and Build.
Comments
0 comments
Please sign in to leave a comment.