setup-dotnet icon indicating copy to clipboard operation
setup-dotnet copied to clipboard

Support for target runtimes.

Open JimBobSquarePants opened this issue 5 years ago • 4 comments

Looking at the documentation and the code it appears the SDK runtime platform architecture is determined by the architecture of the OS.

It would be very useful for unit testing scenarios to allow specifying whether the x86 or x64 SDK is in use as dotnet test requires the explicit architecture.

JimBobSquarePants avatar Jan 15 '20 04:01 JimBobSquarePants

From my looking it is explicitly set to x64

It's probably a corner case, but it could cause issues if someone is running an x86 self hosted runner.

coderpatros avatar Jun 28 '20 06:06 coderpatros

Any thoughts resurrecting the following PR: https://github.com/actions/setup-dotnet/pull/152

I'd like a way to specify the architecture too. I need to test on win-x86 and setting that up is complicated.

AaronRobinsonMSFT avatar Dec 09 '21 02:12 AaronRobinsonMSFT