dotnet build fails with COM exception on Win7
See original GitHub issueYou can use the code under https://github.com/aspnet/dnx-watch
C:\Users\victorhu\dev\dnx-watch\src\Microsoft.DotNet.Watcher.Core>dotnet build
Compiling Microsoft.DotNet.Watcher.Core for DNXCore,Version=v5.0
C:\Users\victorhu\AppData\Local\Microsoft\dotnet\cli\bin\dotnet.exe compile-csc @C:\Users\victorhu\dev\dnx-watch\src\Microsoft.DotNet.Watcher.Core\obj\Debug\dnx
core50\dotnet-compile.rsp returned Exit Code 1
C:\Users\victorhu\dev\dnx-watch\src\Microsoft.DotNet.Watcher.Core\error CS0041: Unexpected error writing debug information -- 'Unable to cast COM object of type
'System.__ComObject' to interface type 'Microsoft.Cci.ISymUnmanagedWriter5'. This operation failed because the QueryInterface call on the COM component for the
interface with IID '{DCF7780D-BDE9-45DF-ACFE-21731A32000C}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002
(E_NOINTERFACE)).'
Compilation failed.
0 Warning(s)
1 Error(s)
Time elapsed 00:00:03.4682894
Issue Analytics
- State:
- Created 8 years ago
- Comments:25 (8 by maintainers)
Top Results From Across the Web
dotnet build fails with COM exception on Win7 · Issue #5177
This error went away after installing VS2015. @piotrpMSFT is this an expected limitation, not being able to run without VS?
Read more >Build fails when you deploy a component - .NET Framework
When this error occurs, the build will fail because the object couldn't be loaded in the Windows form designer. Status. Microsoft has confirmed ......
Read more >Strange Build Error .Net Core Project
Note: Build error occurs on a Windows 10 machine and a Windows 7 machine, but build does work on another Windows 7 machine....
Read more >When building platforms x86 and x64 consecutively, one of ...
When building platforms x86 and x64 consecutively, one of them will fail to build with error NETSDK1047.Closed - Lower Priority0 4.
Read more >Building effect file fails because of wrong .NET Core version
Using the MGCB Editor I am not able to build effects / shaders. ... App&framework_version=3.1.0&arch=x64&rid=win7-x64.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I meet same error and fixed when I install “Visual C++ Redistributable for Visual Studio 2015”: https://www.microsoft.com/en-hk/download/details.aspx?id=48145
I believe that for Windows installers this is now fixed. For the zips it is still not fixed, however. The question becomes to we want to keep this issue for tracking or no.
/cc @gkhanna79 @piotrpMSFT