"Can not find compilation library location for package.." error right after installing .NET Core 2.0 SDK #6661
Comments
@pranavkm can you take a look to see what's going on here? Wrong SDK being used maybe? |
Do you have an repro application that you could share with us? |
I created a very simple repro below. The site won't run if .NET Core 2.0 is installed. Apparently it only happens when you add a reference directly to a .NET Framework dll (point to the bin/*.dll of ClassLibrary2). It works if you add a reference to a project. |
@jomargon thanks for the repro. This is essentially a dup of dotnet/aspnetcore#2126. I have a work around for it here: dotnet/aspnetcore#2126 (comment) |
@pranavkm Thanks! Any chance we won't need the workaround on the next minor update? I'd rather wait for a fix than apply the hack. |
@pranavkm should this bug be closed as a dup of https://github.com/dotnet/core-setup/issues/2981 ? |
This issue is still happening and not resolved in 2.0.2. Any help and understanding of our pain will be much appreciated. |
I am also facing the issue in 2.0.2. I logged the defect in https://github.com/dotnet/core-setup/issues/3397 |
Has this been fixed? I installed .NET Core 2.1.4 yesterday and it broke a project is using ASP.NET Core 1.1.1 |
I was about to try upgrading to 2.1.4 after hearing from some that this issue is resolved but looks like this is still a mystery.. Looks like I have to be 1.x for longer :-( |
Hi folks, if you are still seeing this issue, please log a new issue with detailed steps to reproduce the problem. We have not seen this problem in our testing and otherwise believe the issue is fixed. |
I have an ASP.NET Core 1.1 website that targets .NET Framework 4.6.1. Now after installing .NET Core SDK 2.0, I can't view any of the pages because of the error:
Below is the stack trace. Not sure if it's really Razor-related. The site works after uninstalling .NET Core 2.0 SDK.
The text was updated successfully, but these errors were encountered: