mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
Fix up tests for 5.0
Commit migrated from https://github.com/dotnet/core-setup/commit/3b8cebc9528342972f0229314aa375f9b09d0038
This commit is contained in:
1 parent
2adccb473f
commit
2b9deb2de4
10 files changed
+24
-8
No files matched your search
@@ -3,4 +3,13 @@
|
||||
This file is imported by the test projects from the artifacts dir or the src/tests dir. It
|
||||
provides basic info needed for restore and build with the vanilla SDK.
|
||||
-->
|
||||
|
||||
<PropertyGroup>
|
||||
<!--
|
||||
Define this here (not just in Versions.props) because the SDK resets it
|
||||
unconditionally in Microsoft.NETCoreSdk.BundledVersions.props.
|
||||
-->
|
||||
<NETCoreAppMaximumVersion>$(MajorVersion).$(MinorVersion)</NETCoreAppMaximumVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
@@ -13,10 +13,14 @@
|
||||
|
||||
<ItemGroup Condition="'$(UseMicrosoftNETCoreAppInternalWorkaround)' == 'true'">
|
||||
<PackageReference Include="Microsoft.NETCore.App.Internal" Version="$(MNAVersion)" />
|
||||
<!-- Provide a framework to put in the runtimeconfig. -->
|
||||
<RuntimeFramework Include="Microsoft.NETCore.App" Version="$(MNAVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PropertyGroup Condition="'$(UseMicrosoftNETCoreAppInternalWorkaround)' == 'true'">
|
||||
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
|
||||
<DisableImplicitNETCorePlatformsReference>true</DisableImplicitNETCorePlatformsReference>
|
||||
<UseAppHostFromAssetsFile>true</UseAppHostFromAssetsFile>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<Description>Apphost Bundle Tests</Description>
|
||||
<TargetFramework>$(NETCoreAppFramework)</TargetFramework>
|
||||
<TargetFramework>$(TestInfraTargetFramework)</TargetFramework>
|
||||
<AssemblyName>AppHost.Bundle.Tests</AssemblyName>
|
||||
<PackageId>AppHost.Bundle.Tests</PackageId>
|
||||
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<Description>Bundle Test Helpers</Description>
|
||||
<TargetFramework>$(NETCoreAppFramework)</TargetFramework>
|
||||
<TargetFramework>$(TestInfraTargetFramework)</TargetFramework>
|
||||
<AssemblyName>BundleHelper</AssemblyName>
|
||||
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
|
||||
</PropertyGroup>
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<Description>Microsoft.NET.HostModel.Bundle Tests</Description>
|
||||
<TargetFramework>$(NETCoreAppFramework)</TargetFramework>
|
||||
<TargetFramework>$(TestInfraTargetFramework)</TargetFramework>
|
||||
<AssemblyName>Microsoft.NET.HostModel.Bundle.Tests</AssemblyName>
|
||||
<PackageId>Microsoft.NET.HostModel.Bundle.Tests</PackageId>
|
||||
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
<TestAssetsDir>$(TestDir)Assets\</TestAssetsDir>
|
||||
<TestRestorePackagesPath>$(ObjDir)TestPackageCache\</TestRestorePackagesPath>
|
||||
<TestArchitectures>$(TargetArchitecture)</TestArchitectures>
|
||||
<TestInfraTargetFramework>netcoreapp3.0</TestInfraTargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>$(NETCoreAppFramework)</TargetFramework>
|
||||
<TargetFramework>$(TestInfraTargetFramework)</TargetFramework>
|
||||
<AssemblyName>HostActivation.Tests</AssemblyName>
|
||||
<PackageId>HostActivation.Tests</PackageId>
|
||||
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>$(NETCoreAppFramework)</TargetFramework>
|
||||
<TargetFramework>$(TestInfraTargetFramework)</TargetFramework>
|
||||
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
||||
+3
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<Description>Microsoft.DotNet.Tools.Tests.Utilities Class Library</Description>
|
||||
<TargetFramework>$(NETCoreAppFramework)</TargetFramework>
|
||||
<TargetFramework>$(TestInfraTargetFramework)</TargetFramework>
|
||||
<AssemblyName>Microsoft.Extensions.DependencyModel.Tests</AssemblyName>
|
||||
<StrongNameKeyId>MicrosoftAspNetCore</StrongNameKeyId>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
@@ -17,6 +17,8 @@
|
||||
<PackageReference Include="Moq" Version="4.7.142" />
|
||||
<PackageReference Include="NuGet.Versioning" Version="4.0.0" />
|
||||
<PackageReference Include="Microsoft.DotNet.ProjectModel" Version="1.0.0-rc2-002702" />
|
||||
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" />
|
||||
<PackageReference Include="System.Text.Encodings.Web" Version="$(SystemTextEncodingsWebVersion)" />
|
||||
<ProjectReference Include="..\..\managed\Microsoft.DotNet.PlatformAbstractions\Microsoft.DotNet.PlatformAbstractions.csproj" />
|
||||
<ProjectReference Include="..\..\managed\Microsoft.Extensions.DependencyModel\Microsoft.Extensions.DependencyModel.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>$(NETCoreAppFramework)</TargetFramework>
|
||||
<TargetFramework>$(TestInfraTargetFramework)</TargetFramework>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<AssemblyName>TestUtils</AssemblyName>
|
||||
<PackageId>TestUtils</PackageId>
|
||||
|
||||
Reference in new issue
Block a user