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

Upgrade to latest LTS version #444

Closed
MangelMaxime opened this issue Jul 22, 2019 · 2 comments
Closed

Upgrade to latest LTS version #444

MangelMaxime opened this issue Jul 22, 2019 · 2 comments

Comments

@MangelMaxime
Copy link
Contributor

On my computer, I was able until last week to compile FsAutoComplete but since I tried to build it for checking ionide/ionide-vscode-fsharp#1184 I can't build it anymore...

I get this error:

/usr/local/share/dotnet/sdk/2.1.500/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets(212,5): error MSB4062: Impossible de charger la tâche "CheckForImplicitPackageReferenceOverrides" à partir de l'assembly /usr/local/share/dotnet/sdk/2.1.500/Sdks/Microsoft.NET.Sdk/targets/../tools/netcoreapp2.0/Microsoft.NET.Build.Tasks.dll. Assembly with same name is already loaded Assurez-vous que la déclaration <UsingTask> est correcte, que l'assembly et toutes ses dépendances sont disponibles et que la tâche contient une classe publique qui implémente Microsoft.Build.Framework.ITask. [/Users/maximemangel/Workspaces/Github/fsharp/FsAutoComplete/test/FsAutoComplete.Tests/FsAutoComplete.Tests.fsproj]
/usr/local/share/dotnet/sdk/2.1.500/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets(212,5): error MSB4062: Impossible de charger la tâche "CheckForImplicitPackageReferenceOverrides" à partir de l'assembly /usr/local/share/dotnet/sdk/2.1.500/Sdks/Microsoft.NET.Sdk/targets/../tools/netcoreapp2.0/Microsoft.NET.Build.Tasks.dll. Assembly with same name is already loaded Assurez-vous que la déclaration <UsingTask> est correcte, que l'assembly et toutes ses dépendances sont disponibles et que la tâche contient une classe publique qui implémente Microsoft.Build.Framework.ITask. [/Users/maximemangel/Workspaces/Github/fsharp/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj]
    0 Avertissement(s)

Below a google translate traduction of the error:

Unable to load the "CheckForImplicitPackageReferenceOverrides" task from the /usr/local/share/dotnet/sdk/2.1.500/Sdks/Microsoft.NET.Sdk/targets/../tools/netcoreapp2.0/Microsoft assembly. NET.Build.Tasks.dll. The <UsingTask> declaration is correct, the assembly and all its dependencies are available, and the task contains a public class that implements Microsoft.Build.Framework.ITask

I tried to remove all the SDKs from my machine and install a fresh install of 2.1.500 but the error was still there.

After that I tried the latest version LTS 2.1.508 and it's working. Would you be ok to upgrade to latest LTS version?

@cartermp
Copy link
Contributor

Generally this should always be on the latest LTS; any SDK that's marked LTS but is superceded by a patch version means it's deprecated.

@baronfel
Copy link
Contributor

Yes please upgrade at will

MangelMaxime pushed a commit to MangelMaxime/FsAutoComplete that referenced this issue Jul 24, 2019
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

3 participants