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
You must add a reference to assembly 'netstandard, Version=2.0.0.0 #1025
Comments
@cpistiner Which MSBuild .csproj project type are you using? Are you using csproj Classic format or the Microsoft.Net.Sdk project format? |
Also, what .NET Framework version or .NET Core Runtime are you running locally vs. on your server? For .NET Core Runtime, not sure if you're aware, but it's easy to see which versions of .NET Core are installed on our machine. |
In dotnet/standard#542 there are two suggestions:
Separately, as suggested:
|
Hi @jzabroski ! Thanks for your reply. In localhost i have MSBuild 15.0 but the app is running in Windos Server 2012 and builds with MSBuil 14.0. |
4.6.1 |
This footnote / warning in the MS Docs might help you:
Source: https://docs.microsoft.com/en-us/dotnet/standard/net-standard#net-implementation-support |
At this moment i have Visual Stuidio Community 2019. csproj file format? This? The solution is running with NET Framework 4.6.1. I already tried that but unfortunately it did not work I thank you very much for the help, I hope that with this information we will find the solution. Regards, |
Excelent this, I migrated to 4.7.2 and commented how it was!! Thank you very much! |
MSBuild 14.0 likely does not support metapackages, or does not support metapackages at the same level as MSBuild 15.0 - I think you need to upgrade your build server, but first take a VM snapshot before following such destructive suggestions, so that if it fails, you can just rollback the snapshot. |
I just updated (via NUGET) the version of FluentMigrator from 1.6.2 to 3.2.1 and well in my local environment I have no problems (beyond the necessary adaptations for the version change) when integrating the changes to the server I am receiving the message:
I have tried many solutions but the error persist.
I'm not sure it's a specific Fluent problem, but if you have any ideas, it's welcome.
Regards,
César
The text was updated successfully, but these errors were encountered: