-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET Core project reference from .NET app fails at runtime #757
Comments
Is it the same issue as #686? |
This is because package references don't by default flow from project to project. <RestoreProjectStyle>PackageReference</RestoreProjectStyle> |
Going to dup this against: NuGet/Home#4488 which is tracking the experience. |
This problem is still active as of the latest version of Visual Studio 2017 as it's what I am using! |
@isaacwalkercox this bug was dup'd against NuGet/Home#4488, which is still open. |
* Update dependencies from https://github.com/dotnet/arcade build 20190703.19 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19353.19 * Update dependencies from https://github.com/dotnet/arcade build 20190704.2 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19354.2
From @maloo on January 29, 2017 1:2
Repro:
Create a .NET console app and a .NET core library targetting .net standard. (I also had to change to .NET 4.6.2 and .net standard 1.5) Add reference to library project in .net console app and run the app. This will fail with System.Runtime 4.1 load failure.
Workaround:
Manually add Netstandard.Library package to console app
Expected behavior:
If I add a project reference to a .net standard dll project I expect the package dependencies of that project to be picked up by msbuild. Having to pack/deploy a library as a nuget and reference the package is NOT the way to go for project references.
Version:
VS2017RC, 26th Jan
Copied from original issue: dotnet/msbuild#1626
The text was updated successfully, but these errors were encountered: