gluck/il-repack

Specified method is not supported. #900

phani123hh opened this issue · 3 comments

I'm using ILRepack.MSBuild.Task 2.0.13 on .NET 7.0.202 with target netstandard2.0.
I don't get the error when I build inside Visual Studio.
I'm getting the following error when I run dotnet build on the command line:

image

Quick solution will be appreciated.

@hazzik @zippy1981 @vbfox @jonpryor
Can anyone please help me on this

This is the same issue as #273 . See comments. You may have better luck with a different version, e.g.,
https://github.com/ravibpatel/ILRepack.Lib.MSBuild.Task

This should work fine with the latest ILRepack version: https://www.nuget.org/packages/ILRepack/2.0.23