tag:help.appveyor.com,2012-11-13:/discussions/questions/40585-supporting-net-core-30-previewsAppVeyor: Discussion 2019-10-14T15:03:49Ztag:help.appveyor.com,2012-11-13:Comment/475275162019-08-21T14:08:35Z2019-08-21T14:08:37ZSupporting .NET Core 3.0 previews<div><p>I second that question, any insight or help to get a newer version of the .Net Core 3 preview SDK would be greatly appreciated.</p></div>Christian Olsentag:help.appveyor.com,2012-11-13:Comment/475275162019-10-14T15:03:47Z2019-10-14T15:03:47ZSupporting .NET Core 3.0 previews<div><p>A bit late now, but might be useful for other versions. You can install your own version of .NET Core using the <a href="https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script"><code>dotnet-install</code> script</a>. For instance:</p>
<pre>
<code>environment:
_DOTNET_VERSION: "3.0.100-preview7-012821"
install:
- ps: "[Net.ServicePointManager]::SecurityProtocol = 'Tls12'"
- ps: Invoke-WebRequest https://dot.net/v1/dotnet-install.ps1 -OutFile .tmp\dotnet-install.ps1
- ps: if ((-Not (Test-Path .tmp\dotnet\dotnet.exe)) -or (((.tmp\dotnet\dotnet.exe --version) -Join '') -ne $Env:_DOTNET_VERSION)) { .tmp\dotnet-install.ps1 -Version $Env:_DOTNET_VERSION -InstallDir .tmp\dotnet } else { $Env:path = $Env:APPVEYOR_BUILD_FOLDER + "\.tmp\dotnet\dotnet.exe;" + $Env:path }</code>
</pre></div>mathieu.cartoixa