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

dotnet build not working #29

Closed
theKBro opened this issue Apr 15, 2021 · 5 comments
Closed

dotnet build not working #29

theKBro opened this issue Apr 15, 2021 · 5 comments

Comments

@theKBro
Copy link

theKBro commented Apr 15, 2021

if using dotnet build instead of msbuild there is an error that Microsoft.Build.Utilities.v4.0 cannot be found!

The "ILRepack" task could not be loaded from the assembly ....nuget\packages\ilrepack.lib.msbuild.task\2.0.18\build\ILRepack.Lib.MSBuild.Task.dll. Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. Confirm that the 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.

@nils-a
Copy link

nils-a commented May 22, 2021

I'm guessing it's the same problem that was discussed in dotnet/msbuild#2111 so maybe the solution is in there, too.

@nils-a
Copy link

nils-a commented May 22, 2021

probably related to #17

@rob-ack
Copy link

rob-ack commented Jun 2, 2021

related to #28

@jairbubbles
Copy link
Contributor

Switching to this fork (https://github.com/Alexx999/ILRepack.Lib.MSBuild.Task) does fix the issue but it's missing some commits from there.

The NuGet package is https://www.nuget.org/packages/ILRepack.Lib.MSBuild/.

@KirillOsenkov
Copy link
Contributor

The recent version should support this properly.

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

6 participants