ArxOne / MrAdvice

.NET aspect weaver (build task under NuGet package)
MIT License
308 stars 45 forks source link

dotnet build on linux build agents #181

Closed jorgenbosman closed 2 years ago

jorgenbosman commented 2 years ago

dotnet build on an Azure linux build agent tries to invoke MrAdvice.Weaver.exe, but that does not work.

Changing the following line in MrAdvice.targets might solve the issue:

<MrAdviceWeaverPath Condition="$(TargetFramework.Contains('net6.0'))">dotnet "$(MSBuildThisFileDirectory)..\tools\net6.0\MrAdvice.Weaver.dll"</MrAdviceWeaverPath>