Commit fb1f637
committed
Workaround System.TypeLoad exception when running test-suite on macOS.
It was reproducible while running Compile.sh on macOS:
mono64 --debug "../lib/Release_x64/Encodings.Gen.exe"
Generating bindings for Encodings (CSharp)
Looking for tests in: /Users/joao/Dev/CppSharp/tests/Encodings
Parsed 'Encodings.h'
Unhandled Exception:
System.TypeLoadException: Could not load type of field 'CppSharp.MSVCToolchain:<>f__am$cache7' (8) due to: Could not load file or assembly 'Microsoft.VisualStudio.Setup.Configuration.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.1 parent 0b9b10d commit fb1f637
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
0 commit comments