Update to .NET core 3.0

Note that this does not yet bump .net standard version, which we will reconsider after non-beta release of 3.0.
This commit is contained in:
Dean Herbert
2019-09-13 13:32:34 +09:00
parent 1ac8fc3a10
commit 9c9569d35f
9 changed files with 9 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="VisualTests" type="DotNetProject" factoryName=".NET Project">
<option name="EXE_PATH" value="$PROJECT_DIR$/osu.Framework.Tests/bin/Debug/netcoreapp2.2/osu.Framework.Tests.dll" />
<option name="EXE_PATH" value="$PROJECT_DIR$/osu.Framework.Tests/bin/Debug/netcoreapp3.0/osu.Framework.Tests.dll" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/osu.Framework.Tests" />
<option name="PASS_PARENT_ENVS" value="1" />

8
.vscode/launch.json vendored
View File

@@ -21,13 +21,13 @@
"request": "launch",
"program": "dotnet",
"args": [
"${workspaceRoot}/osu.Framework.Tests/bin/Debug/netcoreapp2.2/osu.Framework.Tests.dll",
"${workspaceRoot}/osu.Framework.Tests/bin/Debug/netcoreapp3.0/osu.Framework.Tests.dll",
],
"cwd": "${workspaceRoot}",
"preLaunchTask": "Build (Debug)",
"linux": {
"env": {
"LD_LIBRARY_PATH": "${workspaceRoot}/osu.Framework.Tests/bin/Debug/netcoreapp2.2:${env:LD_LIBRARY_PATH}"
"LD_LIBRARY_PATH": "${workspaceRoot}/osu.Framework.Tests/bin/Debug/netcoreapp3.0:${env:LD_LIBRARY_PATH}"
}
},
"console": "internalConsole"
@@ -38,13 +38,13 @@
"request": "launch",
"program": "dotnet",
"args": [
"${workspaceRoot}/osu.Framework.Tests/bin/Release/netcoreapp2.2/osu.Framework.Tests.dll",
"${workspaceRoot}/osu.Framework.Tests/bin/Release/netcoreapp3.0/osu.Framework.Tests.dll",
],
"cwd": "${workspaceRoot}",
"preLaunchTask": "Build (Release)",
"linux": {
"env": {
"LD_LIBRARY_PATH": "${workspaceRoot}/osu.Framework.Tests/bin/Release/netcoreapp2.2:${env:LD_LIBRARY_PATH}"
"LD_LIBRARY_PATH": "${workspaceRoot}/osu.Framework.Tests/bin/Release/netcoreapp3.0:${env:LD_LIBRARY_PATH}"
}
},
"console": "internalConsole"

View File

@@ -10,7 +10,7 @@ A game framework written with [osu!](https://github.com/ppy/osu) in mind.
## Requirements
- A desktop platform with the [.NET Core SDK 2.2](https://www.microsoft.com/net/learn/get-started) or higher installed.
- A desktop platform with the [.NET Core SDK 3.0](https://www.microsoft.com/net/learn/get-started) or higher installed.
- When running on linux, please have a system-wide ffmpeg installation available to support video decoding.
- When running on Windows 7 or 8.1, *[additional prerequisites](https://docs.microsoft.com/en-us/dotnet/core/windows-prerequisites?tabs=netcore2x)** may be required to correctly run .NET Core applications if your operating system is not up-to-date with the latest service packs.
- When working with the codebase, we recommend using an IDE with intellisense and syntax highlighting, such as [Visual Studio Community Edition](https://www.visualstudio.com/) (Windows), [Visual Studio Code](https://code.visualstudio.com/) (with the C# plugin installed) or [Jetbrains Rider](https://www.jetbrains.com/rider/) (commercial).

View File

@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup Label="Project">
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.0</TargetFramework>
<OutputType>WinExe</OutputType>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>7.3</LangVersion>

View File

@@ -1,7 +1,6 @@
clone_depth: 1
skip_tags: true
version: '{build}'
image: Visual Studio 2017
test: off
build_script:
- cmd: PowerShell -Version 2.0 .\build.ps1

View File

@@ -1,7 +1,6 @@
clone_depth: 1
version: '{build}'
skip_non_tags: true
image: Visual Studio 2017
build_script:
- cmd: PowerShell -Version 2.0 .\build.ps1 -Target DeployFramework
deploy:

View File

@@ -1,6 +1,5 @@
clone_depth: 1
version: '{build}'
skip_non_tags: true
image: Visual Studio 2017
build_script:
- cmd: PowerShell -Version 2.0 .\build.ps1 -Target DeployNativeLibs

View File

@@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<PackAsTool>true</PackAsTool>
<TargetFrameworks>netcoreapp2.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Cake" Version="0.34.1" />

View File

@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup Label="Project">
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.0</TargetFramework>
<OutputType>WinExe</OutputType>
<LangVersion>7.3</LangVersion>
</PropertyGroup>