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

dotnet test -graph fails once plugin is installed #83

Open
AArnott opened this issue Aug 27, 2024 · 0 comments
Open

dotnet test -graph fails once plugin is installed #83

AArnott opened this issue Aug 27, 2024 · 0 comments

Comments

@AArnott
Copy link
Member

AArnott commented Aug 27, 2024

dotnet test -graph generally works for .NET SDK projects. But once the local MSBuildCache plugin is referenced, dotnet test -graph quits working.
Since -graph is typically added to Directory.Build.rsp as part of adopting a cache plugin for a repo, this will defeat even plain vanilla looking dotnet test.

Repro

md testrepro
cd testrepro
dotnet new xunit
dotnet test -graph # WORKS
dotnet add package Microsoft.MSBuildCache.Local --prerelease
dotnet test -graph # FAILS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant