Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jetcar opened this issue Mar 10, 2024 · 3 comments
Assignees
Labels

Comments

@jetcar
Copy link

jetcar commented Mar 10, 2024

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

@picrap picrap added the bug label Mar 12, 2024
@picrap picrap self-assigned this Mar 12, 2024
@picrap
Copy link
Member

picrap commented Jul 10, 2024

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

@jetcar
Copy link
Author

jetcar commented Jul 10, 2024

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.

@picrap
Copy link
Member

picrap commented Jul 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants