mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39: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