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

Build still failing with dotnet build despite using version 0.2.5 #43

Open
dovic95 opened this issue Nov 29, 2019 · 2 comments
Open

Build still failing with dotnet build despite using version 0.2.5 #43

dovic95 opened this issue Nov 29, 2019 · 2 comments

Comments

@dovic95
Copy link

dovic95 commented Nov 29, 2019

Hi folks,

The issue #17 states that the version 0.2.5 supports now dotnet build. I still have this issue when I try to build myproject.csproj with dotnet build

C:\Users\User\.nuget\packages\strongnamer\0.2.5\build\StrongNamer.targets(30,5): error MSB4062: The "StrongNamer.AddStrongName" task could not be loaded from the assembly C:\Users\User\.nuget\packages\strongnamer\0.2.5\build\netcoreapp2.1\StrongNamer.dll. Assembly with same name is already loaded Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

myproject.csproj is netcoreapp3.0. All referenced projects are in netstandard2.0

Is there any settings or step to perform in order to have my project build with dotnet build ?

Thanks in advance

@dovic95
Copy link
Author

dovic95 commented Dec 17, 2019

Anyone please?

@AraHaan
Copy link

AraHaan commented Jun 25, 2022

dotnet build-server shutdown should solve the issue.

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

2 participants