ILRepack.MSBuild.Task | MSBuild task for ILRepack | DevOps library
kandi X-RAY | ILRepack.MSBuild.Task Summary
kandi X-RAY | ILRepack.MSBuild.Task Summary
MSBuild task for [ILRepack] which is an open-source alternative to ILMerge.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ILRepack.MSBuild.Task
ILRepack.MSBuild.Task Key Features
ILRepack.MSBuild.Task Examples and Code Snippets
Community Discussions
Trending Discussions on ILRepack.MSBuild.Task
QUESTION
Using MSBuild, the following builds and works fine:
...ANSWER
Answered 2021-Jan-05 at 03:21The issue is caused by these two msbuild task nuget packages accidentally.
And since you have installed the ILRepack.MSBuild.Task
nuget package at the end. And the PackageReference node of ILRepack.MSBuild.Task
is akways at the end. So $(TaskAssembly)
is always loads from ILRepack.MSBuild.Task
nuget package and the value from publicise.msbuild.task
is being covered. And the issue The "Publicise" task could not be loaded from the assembly ILRepack.MSBuild.Task.dll
makes sense.
C:\Users\xxx\.nuget\packages\publicise.msbuild.task\1.3.0\build\Publicise.MSBuild.Task.props
C:\Users\xxx\.nuget\packages\ilrepack.msbuild.task\2.0.13\build\ILRepack.MSBuild.Task.props
Also, when you project loads the nuget package, you can check under C:\xxx\source\repos\xxx(project_name)\xxx(project_name)\obj\xxx.csproj.nuget.g.props
:
Loading the ILRepack.MSBuild.Task.props
is always at the end and $(TaskAssembly)
is always from ilrepack.msbuild.task
due to being overwritten by the later installed package.
The error Publicise
task(should be from publicise.msbuild.task
) from ilrepack.msbuild.task
could be understood.
Solution
So you should make publicise.msbuild.task
at the end.
Solution 1)
open C:\xxx\source\repos\xxx(project_name)\xxx(project_name)\obj\xxx.csproj.nuget.g.props
file,
modify like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ILRepack.MSBuild.Task
Visual Studio 15.9
.net core 2.2.101 sdk must be installed
Checkout git submodules: git submodule update --init --recursive
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page