mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 12:49:35 -10:00
This change uses some features available in an updated version of buildtools. Instead of resolving the test-runtime for each of our test projects as a separate step, we will now add a "reference" to it from the project.json of each test project. This will allow us to resolve the nuget assets from both it and the test project at the same time. This will be more robust than our current process, which is very fragile and error-prone. The above is made possible by an updated version of "PrereleaseResolveNuGetPackageAssets", which is the buildtools task responsible for resolving test assets from nuget packages. This task also has a lot of additional validation, which triggers a lot of warnings in corefx. I've made various changes to csproj's and to project.json's around the repository in order to satisfy those warnings. Commit migrated from https://github.com/dotnet/corefx/commit/622ee8f512497fc07621de15e41c6bd575f387c9
21 lines
1.1 KiB
XML
21 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
|
<PropertyGroup>
|
|
<ProjectGuid>{8C19B991-41E9-4B38-9602-E19375397F1D}</ProjectGuid>
|
|
<OutputType>Exe</OutputType>
|
|
<RootNamespace>System.Reflection.Tests</RootNamespace>
|
|
<AssemblyName>System.Reflection.Tests.TestExe</AssemblyName>
|
|
<CopyNuGetImplementations>false</CopyNuGetImplementations>
|
|
</PropertyGroup>
|
|
<!-- Default configurations to help VS understand the configurations -->
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'" />
|
|
<ItemGroup>
|
|
<Compile Include="Program.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="project.json" />
|
|
</ItemGroup>
|
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
|
</Project> |