Skip to content

Instantly share code, notes, and snippets.

@nguerrera
Last active July 5, 2018 21:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nguerrera/e679a0d6a06ee9f9610896d35851f367 to your computer and use it in GitHub Desktop.
Save nguerrera/e679a0d6a06ee9f9610896d35851f367 to your computer and use it in GitHub Desktop.
Make Test Explorer work in core-setup
:: this makes test explorer work, replace d:\src\core-setup with path to enlistment.
:: Found the env vars by running build -MsBuildLogging=/bl, then look at the Exec task in RunTest target
@setlocal
set NUGET_PACKAGES=D:\Src\core-setup\packages/
set TEST_ARTIFACTS=D:\Src\core-setup\Bin\tests\win-x64.Debug\
set TEST_TARGETRID=win-x64
set BUILDRID=win-x64
set BUILD_ARCHITECTURE=x64
set BUILD_CONFIGURATION=Debug
set MNA_VERSION=3.0.0-preview1-26703-0
set MNA_TFM=netcoreapp3.0
set DOTNET_SDK_PATH=D:\Src\core-setup\Tools/dotnetcli/
devenv D:\src\core-setup\Microsoft.DotNet.CoreSetup.sln
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment