Closed RushilLak closed 5 years ago
Thanks for contacting us, @RushilLak. Please share a repro project so we can investigate. /cc @pranavkm
Looking up search results for this error code typically indicate a mismatch of processor architectures. Do you perhaps have a 32-bit dotnet (C:\Program Files (x86)\dotnet
) on a 64-bit machine?
Thanks for contacting us, @RushilLak. Please share a repro project so we can investigate. /cc @pranavkm
I attach you the link to my Github repository: https://github.com/RushilLak/HelloWorld
Looking up search results for this error code typically indicate a mismatch of processor architectures. Do you perhaps have a 32-bit dotnet (
C:\Program Files (x86)\dotnet
) on a 64-bit machine?
I am using the 64-bit dotnet (C:\Program Files\dotnet) on a 64-bit machine. When I execute the command:
$ dotnet --info, I get the following output:
Failed to load the dll from [C:\Program Files\dotnet\host\fxr\2.1.6\hostfxr.dll]
, HRESULT: 0x8007007E
The library hostfxr.dll was found, but loading it from C:\Program Files\dotnet\host\fxr\2.1.6\hostfxr.dll failed.
I am going to install VS Community 2015 that says it will solve the issue as mentioned in the following link: https://github.com/dotnet/cli/issues/3907#issuecomment-243804632
I solved the issue installing VS Community 2015.
I'm running Visual Studio 2017 Community Edition. My project is a Hello World. I have a single build error that refers to code that I didn't write myself (it's part of the template). The error is:
rzc discover exited with code -1073741701. C:\Users\Rushil.nuget\packages\microsoft.aspnetcore.razor.design\2.1.2\build\netstandard2.0\Microsoft.AspNetCore.Razor.Design.CodeGeneration.targets Line 69.
I copied the subsequent lines too because they form part of the same XML tag.
I have placed
<UseRazorBuildServer>false</UseRazorBuildServer>
in my .csproj file but still I have the same error.Could you please help ? Thanks in advance