Skip to content
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

"This package may not be fully compatible with your project" incorrectly reported as error in Omnisharp #1275

Open
sudsy opened this issue Aug 22, 2018 · 0 comments

Comments

@sudsy
Copy link

sudsy commented Aug 22, 2018

Hi have a project targeting dotnetcore 2.0 which references a netfx assembly.

When I compile it with dotnet build I receive the following warning:

warning NU1701: Package 'Apache.NMS.ActiveMQ 1.7.2' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.

When I load the project with vscode and omnisharp, the warning is promoted to an error and it generates a popup notification.

Error: Package 'Apache.NMS.ActiveMQ 1.7.2' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.

This seems to be related to a similar issue on the ominisharp-vscode repo dotnet/vscode-csharp#2110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant