I had some problems with building MIEngine following the instruction to Visual Studio and run "Build Solution" (as in https://github.com/Microsoft/MIEngine/wiki/Building-the-MIEngine).
I kept having strange errors that Microsoft.VisualStudio.Debugger.Interop symbols are missing. After some digging I've learned that ilasm.exe were unable to compile relevant DLLs.
D:\Work\tools\MIEngine\bin\Debug\PIA>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ilasm.exe /nologo /quiet /dll ./drop/Microsoft.VisualStudio.Debugger.InteropA-portable.il /output=D:\Work\tools\MIEngine\bin\Debug\PIA\drop\Microsoft.VisualStudio.Debugger.InteropA.dll /RESOURCE=./drop/Microsoft.VisualStudio.Debugger.InteropA.res
Could not create output file, error code=0x80070005
***** FAILURE *****
The error itself is quite cryptic, but apperently ilasm requires elevated user access to work. The only guess I found it may be needed for DLL signing: https://stackoverflow.com/questions/12992879/failure-when-using-ilasm-to-compile-il-to-exe.
Once I've started whole Visual Studio process as administrator, the errors went away.
I don't know if this can be fixed (signing be optional?), but maybe this report will help someone with similar issue in the future.
"Run as Administrator" trick could be also noted in wiki.
I had some problems with building MIEngine following the instruction to Visual Studio and run "Build Solution" (as in https://github.com/Microsoft/MIEngine/wiki/Building-the-MIEngine).
I kept having strange errors that
Microsoft.VisualStudio.Debugger.Interopsymbols are missing. After some digging I've learned thatilasm.exewere unable to compile relevant DLLs.The error itself is quite cryptic, but apperently
ilasmrequires elevated user access to work. The only guess I found it may be needed for DLL signing: https://stackoverflow.com/questions/12992879/failure-when-using-ilasm-to-compile-il-to-exe.Once I've started whole Visual Studio process as administrator, the errors went away.
I don't know if this can be fixed (signing be optional?), but maybe this report will help someone with similar issue in the future.
"Run as Administrator" trick could be also noted in wiki.