Skip to content

Instantly share code, notes, and snippets.

@dsplaisted
Created June 9, 2017 16:38
Show Gist options
  • Save dsplaisted/47133b325c35248845c3730656c2ce2b to your computer and use it in GitHub Desktop.
Save dsplaisted/47133b325c35248845c3730656c2ce2b to your computer and use it in GitHub Desktop.
SDK Razzle
@echo off
title SDK Build
set PATH=C:\git\dotnet-sdk\.dotnet_cli;%PATH%
set /P SDK_CLI_VERSION=<C:\git\dotnet-sdk\DotnetCLIVersion.txt
rem set DOTNET_MSBUILD_SDK_RESOLVER_SDKS_DIR=C:\git\dotnet-sdk\.dotnet_cli\sdk\%SDK_CLI_VERSION%\Sdks
set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
@echo off
title SDK Test
set PATH=C:\git\dotnet-sdk\.dotnet_cli;%PATH%
set /P SDK_CLI_VERSION=<C:\git\dotnet-sdk\DotnetCLIVersion.txt
set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
rem set MSBuildSDKsPath=C:\git\dotnet-sdk\bin\Debug\Sdks
set DOTNET_MSBUILD_SDK_RESOLVER_SDKS_DIR=C:\git\dotnet-sdk\bin\Debug\Sdks
set NETCoreSdkBundledVersionsProps=C:\git\dotnet-sdk\.dotnet_cli\sdk\%SDK_CLI_VERSION%\Microsoft.NETCoreSdk.BundledVersions.props
rem You also need to add https://dotnet.myget.org/F/dotnet-core/api/v3/index.json to your NuGet feeds if building projects outside the SDK cone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment