it seems the tools are not built for the target net8.0 yet, however I think it should be possible to allow the tools for an older target version to be used to weave a newer target version (Fallback to highest tools version), in fact I worked around this issue (for now) by renaming the net7.0 tools folder to net8.0 and it worked fine.
dotnet "C:\Users\user\.nuget\packages\mradvice\2.12.2\build\..\tools\net8.0/MrAdvice.Weaver.dll" AssemblyPath="obj\Debug\net8.0\project.dll" ReferencePath="@obj\Debug\net8.0\project.dll.MrAdvice.ReferencePath.txt" ReferenceCopyLocalPaths="@obj\Debug\net8.0\project.dll.MrAdvice.LocalReferencePath.txt" AssemblyOriginatorKeyFile="" SignAssembly="false"
exited with code 1.it seems the tools are not built for the target
net8.0
yet, however I think it should be possible to allow the tools for an older target version to be used to weave a newer target version (Fallback to highest tools version), in fact I worked around this issue (for now) by renaming the net7.0 tools folder to net8.0 and it worked fine.