MrAdvice icon indicating copy to clipboard operation
MrAdvice copied to clipboard

Error code 1 when project have refference to MrAdvice, but doesn't have any annotations

Open jetcar opened this issue 1 year ago • 3 comments

EXEC : <3>WSL (386) error : UtilGetPpid:1244: Failed to parse: /proc/1/stat, content: 1 (sh) S 0 1 1 0 -1 4194560 656 0 0 0 1 0 0 0 20 0 1 0 2706584 2637824 233 18446744073709551615 93920643526656 93920643603385 140731671165824 0 0 0 0 0 65538 1 0 0 17 5 0 0 0 0 0 93920643632688 93920643637824 93920654692352 140731671166493 140731671166560 140731671166560 140731671166960 0 [/src/WebApiDto/WebApiDto.csproj] /root/.nuget/packages/mradvice/2.15.0/build/MrAdvice.targets(16,3): error MSB3073: The command ""/root/.nuget/packages/mradvice/2.15.0/build/../tools/net6.0/MrAdvice.Weaver.exe" AssemblyPath="obj/Release/WebApiDto.dll" ReferencePath="@obj/Release/WebApiDto.dll.MrAdvice.ReferencePath.txt" ReferenceCopyLocalPaths="@obj/Release/WebApiDto.dll.MrAdvice.LocalReferencePath.txt" AssemblyOriginatorKeyFile="" SignAssembly="false"" exited with code 1. [/src/WebApiDto/WebApiDto.csproj]

removing refference solves the problem

jetcar avatar Mar 10 '24 19:03 jetcar

What do you mean by “removing references”? I am not very optimistic whether this can be solved, I have no idea of what happens 🤔

picrap avatar Jul 10 '24 09:07 picrap

PackageReference, but i don't remember what exactly were wrong there, probably i have added PackageReference in all projects as i planned to use my tracing everywhere, but then realized that not everywhere it's needed. So if there is nothing todo for MrAdvice if there is no attributes in certain project, then it gave error during build.

jetcar avatar Jul 10 '24 12:07 jetcar

I’ll keep that open, with a low priority, then.

picrap avatar Jul 11 '24 08:07 picrap