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

Add parameter for .NET installation/binaries directory path #1381

Open
MichalMucek opened this issue Jan 11, 2024 · 1 comment
Open

Add parameter for .NET installation/binaries directory path #1381

MichalMucek opened this issue Jan 11, 2024 · 1 comment

Comments

@MichalMucek
Copy link

Add a parameter to NUnit Console for .NET installation/binaries directory path that, when defined, will omit or extend NUnit.Engine.Internal.TestAssemblyResolver.GetDotNetInstallDirectory().

The motivation behind this feature is to enable the NUnit Console to work in Windows environments where .NET is not installed but only .NET binaries are downloaded, e.g. during pipeline execution.

@stevenaw
Copy link
Member

@MichalMucek Are the binaries used in your pipeline for net framework or core/net5+?

For the latter, I think the DOTNET_ROOT environment variable would be the standard way to define this if the console runner were updated to support this (https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-environment-variables#dotnet_root-dotnet_rootx86).

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

2 participants