Use the current .NET version in the target framework. (#54)

We build using a very specific version of .NET + our workloads, so make sure
to use the .NET version we want (the current one), instead of an older .NET
version.
This commit is contained in:
Rolf Bjarne Kvinge 2023-09-05 16:09:36 +02:00 коммит произвёл GitHub
Родитель 9f99fa8082
Коммит 8572d28508
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
13 изменённых файлов: 13 добавлений и 13 удалений

Просмотреть файл

@ -4,7 +4,7 @@
<!--
// We test this because ? F# and notarization (it's not in the App Store [Connect])
-->
<TargetFramework>net6.0-macos</TargetFramework>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-macos</TargetFramework>
<RuntimeIdentifier>osx-x64</RuntimeIdentifier>
<OutputType>Exe</OutputType>
<RootNamespace>FSharpMacCoolApp</RootNamespace>

Просмотреть файл

@ -4,7 +4,7 @@
<!--
// We test this because ? F# support
-->
<TargetFramework>net6.0-ios</TargetFramework>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-ios</TargetFramework>
<RuntimeIdentifiers>ios-arm64;ios-arm</RuntimeIdentifiers>
<OutputType>Exe</OutputType>
<RootNamespace>FSharpiOSCoolApp</RootNamespace>

Просмотреть файл

@ -5,7 +5,7 @@
// We test this because ? the linker is disabled and all symbols are present in the binary
// actually because of QTKit deprecation we are forced to use "Link SDK" and an XML file that preserve (almost) everything else
-->
<TargetFramework>net6.0-macos</TargetFramework>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-macos</TargetFramework>
<RuntimeIdentifiers>osx-arm64;osx-x64</RuntimeIdentifiers>
<OutputType>Exe</OutputType>
<RootNamespace>MacCoolApp</RootNamespace>

Просмотреть файл

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-maccatalyst</TargetFramework>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-maccatalyst</TargetFramework>
<OutputType>Exe</OutputType>
<MtouchLink>SdkOnly</MtouchLink>

Просмотреть файл

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-maccatalyst</TargetFramework>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-maccatalyst</TargetFramework>
<OutputType>Exe</OutputType>
<RuntimeIdentifiers>maccatalyst-arm64;maccatalyst-x64</RuntimeIdentifiers>
<MtouchLink>SdkOnly</MtouchLink>

Просмотреть файл

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0-maccatalyst</TargetFramework>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-maccatalyst</TargetFramework>
<OutputType>Exe</OutputType>
<RuntimeIdentifier>maccatalyst-arm64</RuntimeIdentifier>

Просмотреть файл

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-maccatalyst</TargetFramework>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-maccatalyst</TargetFramework>
<OutputType>Exe</OutputType>
<MtouchLink>None</MtouchLink>

Просмотреть файл

@ -4,7 +4,7 @@
<!--
// We test this because ? the linker is disabled and all symbols are present in the binary
-->
<TargetFramework>net6.0-tvos</TargetFramework>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-tvos</TargetFramework>
<RuntimeIdentifier>tvos-arm64</RuntimeIdentifier>
<OutputType>Exe</OutputType>
<RootNamespace>ODRsTVOS</RootNamespace>

Просмотреть файл

@ -4,7 +4,7 @@
<!--
// We test this because ? the linker is disabled and all symbols are present in the binary
-->
<TargetFramework>net6.0-tvos</TargetFramework>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-tvos</TargetFramework>
<RuntimeIdentifier>tvos-arm64</RuntimeIdentifier>
<RootNamespace>ODRsTVOSExt</RootNamespace>
<AssemblyName>ODRsTVOSExt</AssemblyName>

Просмотреть файл

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-tvos</TargetFramework>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-tvos</TargetFramework>
<RuntimeIdentifier>tvos-arm64</RuntimeIdentifier>
<OutputType>Exe</OutputType>
<RootNamespace>SceneKitGame</RootNamespace>

Просмотреть файл

@ -4,7 +4,7 @@
<!--
// We test this because ? the linker is disabled and all symbols are present in the binary
-->
<TargetFramework>net6.0-tvos</TargetFramework>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-tvos</TargetFramework>
<RuntimeIdentifier>tvos-arm64</RuntimeIdentifier>
<OutputType>Exe</OutputType>
<RootNamespace>UICatalog</RootNamespace>

Просмотреть файл

@ -4,7 +4,7 @@
<!--
// We test this because ? interpreter support
-->
<TargetFramework>net6.0-ios</TargetFramework>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-ios</TargetFramework>
<RuntimeIdentifiers>ios-arm64;ios-arm</RuntimeIdentifiers>
<OutputType>Exe</OutputType>
<RootNamespace>iOSCoolApp</RootNamespace>

Просмотреть файл

@ -6,7 +6,7 @@
// - Build without LLVM (i.e. Mono AOT)
// - No 32bits slice since it's too big to be generated successfully (since mono-2019-02)
-->
<TargetFramework>net6.0-ios</TargetFramework>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-ios</TargetFramework>
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier> <!-- test case is 64-bit only -->
<OutputType>Exe</OutputType>
<RootNamespace>iTravel</RootNamespace>