File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ <!--
2+ SPDX-FileCopyrightText: 2022 smdn <smdn@smdn.jp>
3+ SPDX-License-Identifier: MIT
4+ -->
5+ <Project >
6+ <PropertyGroup >
7+ <!-- enable target framework net* (.NET >= 5.0) by default -->
8+ <EnableTargetFrameworkDotNet >true</EnableTargetFrameworkDotNet >
9+ <!-- enable target framework netcoreapp* by default -->
10+ <EnableTargetFrameworkNetCoreApp >true</EnableTargetFrameworkNetCoreApp >
11+ <!-- enable target framework net* (.NET Framework/Mono) by default -->
12+ <EnableTargetFrameworkNetFx >true</EnableTargetFrameworkNetFx >
13+ </PropertyGroup >
14+
15+ <!-- On Ubuntu 22.04 -->
16+ <PropertyGroup
17+ Condition =" $([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier.StartsWith('ubuntu.22.04')) "
18+ >
19+ <!-- disable .NET Core (cannot run .NET Core on Ubuntu 22.04) -->
20+ <EnableTargetFrameworkNetCoreApp >false</EnableTargetFrameworkNetCoreApp >
21+ <!-- disable Mono (test runner not working on local environment?) -->
22+ <EnableTargetFrameworkNetFx >false</EnableTargetFrameworkNetFx >
23+ </PropertyGroup >
24+
25+ <!-- On Ubuntu 20.04 -->
26+ <PropertyGroup
27+ Condition =" $([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier.StartsWith('ubuntu.20.04')) "
28+ >
29+ <!-- enable Mono on GitHub Actions -->
30+ <EnableTargetFrameworkNetFx Condition =" '$(GITHUB_ACTIONS)' == 'true' " >true</EnableTargetFrameworkNetFx >
31+ </PropertyGroup >
32+ </Project >
You can’t perform that action at this time.
0 commit comments