mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-12 02:30:29 +09:00
Upgrade global.json to 5.0-alpha1 SDK (#445)
* Upgrade global.json to 5.0-alpha1 SDK * Introduce a NetCoreApp TFM * Don't apply RuntimeFramework for depprojs * Binplace framework refs for netcoreapp * Update pkg testing for netcoreapp5.0 sdk
This commit is contained in:
parent
7ea817f307
commit
6a991f211f
29 changed files with 57 additions and 74 deletions
|
@ -18,8 +18,6 @@
|
||||||
-->
|
-->
|
||||||
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" Condition="'$(SkipImportArcadeSdkFromRoot)' != 'true'" />
|
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" Condition="'$(SkipImportArcadeSdkFromRoot)' != 'true'" />
|
||||||
|
|
||||||
<!-- Common paths -->
|
|
||||||
|
|
||||||
<!-- Set these properties early enough for libraries as they import the Arcade SDK not early enough. -->
|
<!-- Set these properties early enough for libraries as they import the Arcade SDK not early enough. -->
|
||||||
<PropertyGroup Condition="'$(SkipImportArcadeSdkFromRoot)' == 'true'">
|
<PropertyGroup Condition="'$(SkipImportArcadeSdkFromRoot)' == 'true'">
|
||||||
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
|
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
|
||||||
|
@ -28,6 +26,12 @@
|
||||||
<ArtifactsBinDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'bin'))</ArtifactsBinDir>
|
<ArtifactsBinDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'bin'))</ArtifactsBinDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!-- The NetCoreApp TFM to build and test against. -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<NetCoreAppCurrentTargetFrameworkMoniker>.NETCoreApp,Version=v5.0</NetCoreAppCurrentTargetFrameworkMoniker>
|
||||||
|
<NetCoreAppCurrent>netcoreapp5.0</NetCoreAppCurrent>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Get ProjectToBuild and '<subset>ProjectToBuild' items. Using the items lets projects handle
|
Get ProjectToBuild and '<subset>ProjectToBuild' items. Using the items lets projects handle
|
||||||
$(Subset) automatically when creating project-to-project dependencies.
|
$(Subset) automatically when creating project-to-project dependencies.
|
||||||
|
|
|
@ -100,8 +100,8 @@
|
||||||
</TargetGroups>
|
</TargetGroups>
|
||||||
<!-- netcoreapp is an alias for netcoreapp5.0 -->
|
<!-- netcoreapp is an alias for netcoreapp5.0 -->
|
||||||
<TargetGroups Include="netcoreapp">
|
<TargetGroups Include="netcoreapp">
|
||||||
<TargetFramework>netcoreapp5.0</TargetFramework>
|
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||||
<Imports>netcoreapp5.0</Imports>
|
<Imports>$(NetCoreAppCurrent)</Imports>
|
||||||
<CompatibleWith>netstandard2.1</CompatibleWith>
|
<CompatibleWith>netstandard2.1</CompatibleWith>
|
||||||
</TargetGroups>
|
</TargetGroups>
|
||||||
<TargetGroups Include="net45">
|
<TargetGroups Include="net45">
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
At that point restore and conflict resolution already happened therefore setting the item here has no side effects.
|
At that point restore and conflict resolution already happened therefore setting the item here has no side effects.
|
||||||
-->
|
-->
|
||||||
<Target Name="_SetRuntimeFrameworksForTestAssemblies"
|
<Target Name="_SetRuntimeFrameworksForTestAssemblies"
|
||||||
Condition="'$(SelfContained)' != 'true'"
|
Condition="'$(SelfContained)' != 'true' and '$(MSBuildProjectExtension)' != '.depproj'"
|
||||||
BeforeTargets="GenerateBuildDependencyFile">
|
BeforeTargets="GenerateBuildDependencyFile">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<RuntimeFramework Include="Microsoft.NETCore.App" Version="$(ProductVersion)" />
|
<RuntimeFramework Include="Microsoft.NETCore.App" Version="$(ProductVersion)" />
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"rollForward": "major"
|
"rollForward": "major"
|
||||||
},
|
},
|
||||||
"tools": {
|
"tools": {
|
||||||
"dotnet": "3.0.100"
|
"dotnet": "5.0.100-alpha1-015772"
|
||||||
},
|
},
|
||||||
"native-tools": {
|
"native-tools": {
|
||||||
"cmake": "3.14.2",
|
"cmake": "3.14.2",
|
||||||
|
|
|
@ -19,10 +19,10 @@
|
||||||
<Crossgen2RuntimeConfigContents>
|
<Crossgen2RuntimeConfigContents>
|
||||||
{
|
{
|
||||||
"runtimeOptions": {
|
"runtimeOptions": {
|
||||||
"tfm": "netcoreapp3.0",
|
"tfm": "netcoreapp5.0",
|
||||||
"framework": {
|
"framework": {
|
||||||
"name": "Microsoft.NETCore.App",
|
"name": "Microsoft.NETCore.App",
|
||||||
"version": "5.0.0-alpha1.0"
|
"version": "5.0.100-alpha1-015772"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||||
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
|
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
|
||||||
<OptimizationDataSupported Condition="'$(BuildOS)' == 'Windows_NT' And ('$(BuildArch)' == 'x64' Or '$(BuildArch)' == 'x86')">True</OptimizationDataSupported>
|
<OptimizationDataSupported Condition="'$(BuildOS)' == 'Windows_NT' And ('$(BuildArch)' == 'x64' Or '$(BuildArch)' == 'x86')">True</OptimizationDataSupported>
|
||||||
<OptimizationDataSupported Condition="'$(BuildOS)' == 'Linux' And '$(BuildArch)' == 'x64'">True</OptimizationDataSupported>
|
<OptimizationDataSupported Condition="'$(BuildOS)' == 'Linux' And '$(BuildArch)' == 'x64'">True</OptimizationDataSupported>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -81,7 +81,7 @@ namespace ReadyToRun.SuperIlc
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is not a reliable way of building the publish folder
|
// This is not a reliable way of building the publish folder
|
||||||
string publishFolder = Path.Combine(appFolder, @"artifacts\Debug\netcoreapp3.0\publish");
|
string publishFolder = Path.Combine(appFolder, @"artifacts\Debug\netcoreapp5.0\publish");
|
||||||
if (!Directory.Exists(publishFolder))
|
if (!Directory.Exists(publishFolder))
|
||||||
{
|
{
|
||||||
nugetLog.WriteLine($"Could not find folder {publishFolder} containing the published app.");
|
nugetLog.WriteLine($"Could not find folder {publishFolder} containing the published app.");
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<AssemblyName>ReadyToRun.SuperIlc</AssemblyName>
|
<AssemblyName>ReadyToRun.SuperIlc</AssemblyName>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||||
<NoWarn>8002,NU1701</NoWarn>
|
<NoWarn>8002,NU1701</NoWarn>
|
||||||
<Platform>AnyCPU</Platform>
|
<Platform>AnyCPU</Platform>
|
||||||
<OutputPath>$(BinDir)\ReadyToRun.SuperIlc</OutputPath>
|
<OutputPath>$(BinDir)\ReadyToRun.SuperIlc</OutputPath>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
<AssemblyName>ILCompiler.ReadyToRun</AssemblyName>
|
<AssemblyName>ILCompiler.ReadyToRun</AssemblyName>
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<DefineConstants>READYTORUN;$(DefineConstants)</DefineConstants>
|
<DefineConstants>READYTORUN;$(DefineConstants)</DefineConstants>
|
||||||
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<AssemblyName>crossgen2</AssemblyName>
|
<AssemblyName>crossgen2</AssemblyName>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||||
<NoWarn>8002,NU1701</NoWarn>
|
<NoWarn>8002,NU1701</NoWarn>
|
||||||
<Platforms>x64;x86</Platforms>
|
<Platforms>x64;x86</Platforms>
|
||||||
<PlatformTargets Condition="'$(BuildArch)' != ''">$(BuildArch)</PlatformTargets>
|
<PlatformTargets Condition="'$(BuildArch)' != ''">$(BuildArch)</PlatformTargets>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<AssemblyKey>Open</AssemblyKey>
|
<AssemblyKey>Open</AssemblyKey>
|
||||||
<IsDotNetFrameworkProductAssembly>true</IsDotNetFrameworkProductAssembly>
|
<IsDotNetFrameworkProductAssembly>true</IsDotNetFrameworkProductAssembly>
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||||
<CLSCompliant>false</CLSCompliant>
|
<CLSCompliant>false</CLSCompliant>
|
||||||
<NoWarn>8002,NU1701</NoWarn>
|
<NoWarn>8002,NU1701</NoWarn>
|
||||||
<RuntimeIdentifiers>win-x64;win-x86</RuntimeIdentifiers>
|
<RuntimeIdentifiers>win-x64;win-x86</RuntimeIdentifiers>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||||
<RuntimeFrameworkVersion>$(MicrosoftNETCoreAppVersion)</RuntimeFrameworkVersion>
|
<RuntimeFrameworkVersion>$(MicrosoftNETCoreAppVersion)</RuntimeFrameworkVersion>
|
||||||
<UseAppHost>false</UseAppHost>
|
<UseAppHost>false</UseAppHost>
|
||||||
<CLRTestKind>BuildOnly</CLRTestKind>
|
<CLRTestKind>BuildOnly</CLRTestKind>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
and old-style projects should go in dir.common.props. -->
|
and old-style projects should go in dir.common.props. -->
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||||
<EnableDefaultItems>false</EnableDefaultItems>
|
<EnableDefaultItems>false</EnableDefaultItems>
|
||||||
<Platform>$(BuildArch)</Platform>
|
<Platform>$(BuildArch)</Platform>
|
||||||
|
|
6
src/coreclr/tests/external/external.csproj
vendored
6
src/coreclr/tests/external/external.csproj
vendored
|
@ -12,9 +12,9 @@
|
||||||
This RID value doesn't really matter, since the assets we are copying are not RID specific, so defaulting to Windows here
|
This RID value doesn't really matter, since the assets we are copying are not RID specific, so defaulting to Windows here
|
||||||
-->
|
-->
|
||||||
<OutputPath>$(TargetingPackPath)</OutputPath>
|
<OutputPath>$(TargetingPackPath)</OutputPath>
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||||
<NuGetTargetMoniker>.NETCoreApp,Version=v3.0</NuGetTargetMoniker>
|
<NuGetTargetMoniker>$(NetCoreAppCurrentTargetFrameworkMoniker)</NuGetTargetMoniker>
|
||||||
<NuGetTargetMonikerShort>netcoreapp3.0</NuGetTargetMonikerShort>
|
<NuGetTargetMonikerShort>$(NetCoreAppCurrent)</NuGetTargetMonikerShort>
|
||||||
<RuntimeIdentifiers>win7-x86;win7-x64</RuntimeIdentifiers>
|
<RuntimeIdentifiers>win7-x86;win7-x64</RuntimeIdentifiers>
|
||||||
<XUnitRunnerTargetFramework>netcoreapp2.1</XUnitRunnerTargetFramework>
|
<XUnitRunnerTargetFramework>netcoreapp2.1</XUnitRunnerTargetFramework>
|
||||||
<CLRTestKind>SharedLibrary</CLRTestKind>
|
<CLRTestKind>SharedLibrary</CLRTestKind>
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<Project>
|
||||||
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<TestTargetFramework Include=".NETCoreApp,Version=v5.0">
|
<TestTargetFramework Include="$(NetCoreAppCurrentTargetFrameworkMoniker)">
|
||||||
<Folder>netcoreapp5.0</Folder>
|
<Folder>$(NetCoreAppCurrent)</Folder>
|
||||||
</TestTargetFramework>
|
</TestTargetFramework>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
@ -34,5 +32,4 @@
|
||||||
Properties="Language=C#;RuntimeIdentifier=$(TargetRid)" />
|
Properties="Language=C#;RuntimeIdentifier=$(TargetRid)" />
|
||||||
|
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -7,11 +7,7 @@
|
||||||
<DefineConstants>$(DefineConstants);$([System.String]::Copy('$(BuildArch)').ToUpper())</DefineConstants>
|
<DefineConstants>$(DefineConstants);$([System.String]::Copy('$(BuildArch)').ToUpper())</DefineConstants>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<GenerateRunScript>false</GenerateRunScript>
|
<GenerateRunScript>false</GenerateRunScript>
|
||||||
<!-- Tests build for netcoreapp3.0, but use the test_dependencies
|
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||||
assets file, which has netcoreapp5.0 assets. Therefore the
|
|
||||||
assets file for this project must have netcoreapp5.0 assets,
|
|
||||||
but the project needs to build for 3.0. -->
|
|
||||||
<TargetFramework Condition=" '$(SetTFMForRestore)' == 'true' ">netcoreapp5.0</TargetFramework>
|
|
||||||
<ProjectAssetsFile>$(SourceDir)Common\CoreCLRTestLibrary\obj\project.assets.json</ProjectAssetsFile>
|
<ProjectAssetsFile>$(SourceDir)Common\CoreCLRTestLibrary\obj\project.assets.json</ProjectAssetsFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<ProjectAssetsFile>$(SourceDir)Common\Coreclr.TestWrapper\obj\project.assets.json</ProjectAssetsFile>
|
<ProjectAssetsFile>$(SourceDir)Common\Coreclr.TestWrapper\obj\project.assets.json</ProjectAssetsFile>
|
||||||
<NuGetTargetMoniker>.NETCoreApp,Version=v3.0</NuGetTargetMoniker>
|
<NuGetTargetMoniker>$(NetCoreAppCurrentTargetFrameworkMoniker)</NuGetTargetMoniker>
|
||||||
<NuGetTargetMonikerShort>netcoreapp3.0</NuGetTargetMonikerShort>
|
<NuGetTargetMonikerShort>$(NetCoreAppCurrent)</NuGetTargetMonikerShort>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<CLRTestKind>BuildOnly</CLRTestKind>
|
<CLRTestKind>BuildOnly</CLRTestKind>
|
||||||
<IsTestProject>false</IsTestProject>
|
<IsTestProject>false</IsTestProject>
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||||
<TargetFramework Condition="'$(SetTFMForRestore)'=='true'">netcoreapp5.0</TargetFramework>
|
|
||||||
<DisableRarCache>true</DisableRarCache>
|
<DisableRarCache>true</DisableRarCache>
|
||||||
<DisablePackageAssetsCache>true</DisablePackageAssetsCache>
|
<DisablePackageAssetsCache>true</DisablePackageAssetsCache>
|
||||||
<RuntimeIdentifiers>win-arm;win-arm64;win-x64;win-x86;$(TargetRid)</RuntimeIdentifiers>
|
<RuntimeIdentifiers>win-arm;win-arm64;win-x64;win-x86;$(TargetRid)</RuntimeIdentifiers>
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<CLRTestKind>BuildOnly</CLRTestKind>
|
<CLRTestKind>BuildOnly</CLRTestKind>
|
||||||
<IsTestProject>false</IsTestProject>
|
<IsTestProject>false</IsTestProject>
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||||
<TargetFramework Condition="'$(SetTFMForRestore)'=='true'">netcoreapp5.0</TargetFramework>
|
|
||||||
<RuntimeIdentifiers>win-arm;win-arm64;win-x64;win-x86;$(TargetRid)</RuntimeIdentifiers>
|
<RuntimeIdentifiers>win-arm;win-arm64;win-x64;win-x86;$(TargetRid)</RuntimeIdentifiers>
|
||||||
<AssetTargetFallback>$(AssetTargetFallback);dnxcore50;netcoreapp1.1;portable-net45+win8</AssetTargetFallback>
|
<AssetTargetFallback>$(AssetTargetFallback);dnxcore50;netcoreapp1.1;portable-net45+win8</AssetTargetFallback>
|
||||||
<NoWarn>$(NoWarn);NU1603</NoWarn>
|
<NoWarn>$(NoWarn);NU1603</NoWarn>
|
||||||
|
|
|
@ -142,7 +142,7 @@
|
||||||
<RestoreOutputPath>$(MSBuildProjectDirectory)\obj</RestoreOutputPath>
|
<RestoreOutputPath>$(MSBuildProjectDirectory)\obj</RestoreOutputPath>
|
||||||
|
|
||||||
<!-- Specify the target framework of the common test dependency project.json. -->
|
<!-- Specify the target framework of the common test dependency project.json. -->
|
||||||
<NuGetTargetMoniker>.NETCoreApp,Version=v5.0</NuGetTargetMoniker>
|
<NuGetTargetMoniker>$(NetCoreAppCurrentTargetFrameworkMoniker)</NuGetTargetMoniker>
|
||||||
<NuGetTargetMonikerShort>netcoreapp5.0</NuGetTargetMonikerShort>
|
<NuGetTargetMonikerShort>$(NetCoreAppCurrent)</NuGetTargetMonikerShort>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -235,7 +235,11 @@ namespace JitBench
|
||||||
|
|
||||||
public static string GetTargetFrameworkMonikerForFrameworkVersion(string runtimeVersion)
|
public static string GetTargetFrameworkMonikerForFrameworkVersion(string runtimeVersion)
|
||||||
{
|
{
|
||||||
if (runtimeVersion.StartsWith("3.0"))
|
if (runtimeVersion.StartsWith("5.0"))
|
||||||
|
{
|
||||||
|
return "netcoreapp5.0";
|
||||||
|
}
|
||||||
|
else if (runtimeVersion.StartsWith("3.0"))
|
||||||
{
|
{
|
||||||
return "netcoreapp3.0";
|
return "netcoreapp3.0";
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
deb-tool" commands, after depending on InitializeDotnetDebTool target.
|
deb-tool" commands, after depending on InitializeDotnetDebTool target.
|
||||||
-->
|
-->
|
||||||
<DebToolBinDir>$(ArtifactsBinDir)dotnet-deb-tool\</DebToolBinDir>
|
<DebToolBinDir>$(ArtifactsBinDir)dotnet-deb-tool\</DebToolBinDir>
|
||||||
<DebtoolAssemblyFile>$(DebToolBinDir)$(Configuration)\netcoreapp3.0\dotnet-deb-tool.dll</DebtoolAssemblyFile>
|
<DebtoolAssemblyFile>$(DebToolBinDir)$(Configuration)\$(NetCoreAppCurrent)\dotnet-deb-tool.dll</DebtoolAssemblyFile>
|
||||||
<DotnetDebToolSourceDir>$(RepoRoot)tools-local/dotnet-deb-tool/</DotnetDebToolSourceDir>
|
<DotnetDebToolSourceDir>$(RepoRoot)tools-local/dotnet-deb-tool/</DotnetDebToolSourceDir>
|
||||||
|
|
||||||
<IsDebianBasedDistro
|
<IsDebianBasedDistro
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<TestRestoreNuGetConfigFile>$(ArtifactsObjDir)TestNuGetConfig\NuGet.config</TestRestoreNuGetConfigFile>
|
<TestRestoreNuGetConfigFile>$(ArtifactsObjDir)TestNuGetConfig\NuGet.config</TestRestoreNuGetConfigFile>
|
||||||
<InternalNupkgCacheDir>$(ArtifactsObjDir)ExtraNupkgsForTestRestore\</InternalNupkgCacheDir>
|
<InternalNupkgCacheDir>$(ArtifactsObjDir)ExtraNupkgsForTestRestore\</InternalNupkgCacheDir>
|
||||||
<TestArchitectures>$(TargetArchitecture)</TestArchitectures>
|
<TestArchitectures>$(TargetArchitecture)</TestArchitectures>
|
||||||
<TestInfraTargetFramework>netcoreapp3.0</TestInfraTargetFramework>
|
<TestInfraTargetFramework>$(NetCoreAppCurrent)</TestInfraTargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
|
|
@ -8,6 +8,6 @@
|
||||||
<NETCoreAppMaximumVersion>99.9</NETCoreAppMaximumVersion>
|
<NETCoreAppMaximumVersion>99.9</NETCoreAppMaximumVersion>
|
||||||
<PackageConflictPreferredPackages Condition="'$(TargetFramework)' != 'netcoreapp2.0'">Microsoft.Private.CoreFx.NETCoreApp;runtime.$(RuntimeIdentifiers).Microsoft.Private.CoreFx.NETCoreApp;$(PackageConflictPreferredPackages)</PackageConflictPreferredPackages>
|
<PackageConflictPreferredPackages Condition="'$(TargetFramework)' != 'netcoreapp2.0'">Microsoft.Private.CoreFx.NETCoreApp;runtime.$(RuntimeIdentifiers).Microsoft.Private.CoreFx.NETCoreApp;$(PackageConflictPreferredPackages)</PackageConflictPreferredPackages>
|
||||||
<DisableImplicitFrameworkReferences Condition="$(TargetFramework.Contains('netcoreapp'))">true</DisableImplicitFrameworkReferences>
|
<DisableImplicitFrameworkReferences Condition="$(TargetFramework.Contains('netcoreapp'))">true</DisableImplicitFrameworkReferences>
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
|
@ -1,35 +1,8 @@
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>netcoreapp5.0</TargetFramework>
|
|
||||||
<NETCoreAppMaximumVersion>5.0</NETCoreAppMaximumVersion>
|
|
||||||
<RuntimeFrameworkVersion>$(MicrosoftNETCoreAppVersion)</RuntimeFrameworkVersion>
|
|
||||||
<!-- This should be enabled once we have updating assembly versions in our targeting pack. -->
|
|
||||||
<ShouldVerifyClosure>false</ShouldVerifyClosure>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!-- Since we don't have an SDK that knows about 5.0 framework, we should specify it manually. -->
|
|
||||||
<KnownFrameworkReference Update="Microsoft.NETCore.App"
|
|
||||||
TargetFramework="$(TargetFramework)"
|
|
||||||
RuntimeFrameworkName="Microsoft.NETCore.App"
|
|
||||||
DefaultRuntimeFrameworkVersion="$(RuntimeFrameworkVersion)"
|
|
||||||
LatestRuntimeFrameworkVersion="$(RuntimeFrameworkVersion)"
|
|
||||||
TargetingPackName="Microsoft.NETCore.App.Ref"
|
|
||||||
TargetingPackVersion="$(RuntimeFrameworkVersion)"
|
|
||||||
RuntimePackNamePatterns="Microsoft.NETCore.App.Runtime.**RID**"
|
|
||||||
RuntimePackRuntimeIdentifiers="linux-arm;linux-arm64;linux-musl-arm64;linux-musl-x64;linux-x64;osx-x64;rhel.6-x64;tizen.4.0.0-armel;tizen.5.0.0-armel;win-arm;win-arm64;win-x64;win-x86"
|
|
||||||
PackagesToReference="Microsoft.NETCore.App/$(RuntimeFrameworkVersion)"
|
|
||||||
IsTrimmable="true"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<KnownAppHostPack Update="Microsoft.NETCore.App"
|
|
||||||
TargetFramework="$(TargetFramework)"
|
|
||||||
AppHostPackNamePattern="Microsoft.NETCore.App.Host.**RID**"
|
|
||||||
AppHostPackVersion="$(RuntimeFrameworkVersion)"
|
|
||||||
AppHostRuntimeIdentifiers="linux-arm;linux-arm64;linux-musl-arm64;linux-musl-x64;linux-x64;osx-x64;rhel.6-x64;tizen.4.0.0-armel;tizen.5.0.0-armel;win-arm;win-arm64;win-x64;win-x86"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<KnownFrameworkReference Remove="Microsoft.AspNetCore.App" />
|
<KnownFrameworkReference Remove="Microsoft.AspNetCore.App" />
|
||||||
<KnownFrameworkReference Remove="Microsoft.WindowsDesktop.App" />
|
<KnownFrameworkReference Remove="Microsoft.WindowsDesktop.App" />
|
||||||
|
<KnownFrameworkReference Remove="Microsoft.WindowsDesktop.App.WPF" />
|
||||||
|
<KnownFrameworkReference Remove="Microsoft.WindowsDesktop.App.WindowsForms" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
|
@ -11,6 +11,17 @@
|
||||||
<PackageReference Update="Microsoft.NETCore.App" IsImplicitlyDefined="false" PrivateAssets="None" />
|
<PackageReference Update="Microsoft.NETCore.App" IsImplicitlyDefined="false" PrivateAssets="None" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!-- Mark framework references from previous netcoreapp tfms >= 3.0 as copy-local. -->
|
||||||
|
<Target Name="_FrameworkReferencesToPrivate"
|
||||||
|
Condition="'$(TargetsNetCoreApp)' == 'true' and !$(TargetFramework.StartsWith('netcoreapp2.')) and '$(TargetFramework)' != '$(NetCoreAppCurrent)'"
|
||||||
|
AfterTargets="_HandlePackageFileConflicts">
|
||||||
|
<ItemGroup>
|
||||||
|
<_referencePrivate Include="@(Reference)" Private="true" />
|
||||||
|
<Reference Remove="@(Reference)" />
|
||||||
|
<Reference Include="@(_referencePrivate)" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Target>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!-- for all configurations this project provides refs for that configuration -->
|
<!-- for all configurations this project provides refs for that configuration -->
|
||||||
<BinPlaceConfiguration Include="$(Configuration)" RefPath="$(RefPath)" />
|
<BinPlaceConfiguration Include="$(Configuration)" RefPath="$(RefPath)" />
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
|
||||||
<AssemblyName>dotnet-deb-tool</AssemblyName>
|
<AssemblyName>dotnet-deb-tool</AssemblyName>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue