1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-08 11:37:04 +09:00
Satori/docs/workflow/testing
Vitek Karas 578e82967c
Allow using VS to run host tests when libraries use different config (#91873)
* Allow using VS to run host tests when libraries use different config

When building the host tests from VS, there are dependencies on projects from the libraries subset. If the libraries are prebuilt with different configuration (typically `Release`) the build in VS breaks because it can't find the project's output.

This change modifies the import of generators (which are the problematic projects) to let them override the configuration of the referenced projects.

It then adds the ability to set environment based on the `-lc` parameter to the build script when starting VS.

Also updates the doc to describe how to use this.

* Update eng/build.ps1

Co-authored-by: Elinor Fung <elfung@microsoft.com>

* Update eng/generators.targets

* Move ShouldUnsetParentConfigurationAndPlatform to repo's Directory.Build.props

---------

Co-authored-by: Elinor Fung <elfung@microsoft.com>
2024-03-13 12:48:33 +01:00
..
coreclr Replace remaining instances of COMPlus with DOTNET (#82985) 2023-03-05 08:40:20 -08:00
host Allow using VS to run host tests when libraries use different config (#91873) 2024-03-13 12:48:33 +01:00
libraries Add note about docker in the testing doc (fix #95436) (#95557) 2024-01-19 12:16:51 +01:00
mono [mono][docs] Add BuildAsStandalone export to mono runtime tests doc (#96054) 2023-12-15 16:24:25 +01:00
testing-workloads.md Improvements to CoreCLR Building, Debugging, and Testing Documentation (#75569) 2022-10-10 13:39:22 -07:00
using-corerun-and-coreroot.md Refine corerun instructions. Improve argument parsing in src/tests/build. (#81733) 2023-02-08 13:41:21 -08:00
using-dev-shipping-packages.md Update 'net7.0' usages in the repo 2022-11-18 21:24:56 +01:00
using-your-build-with-installed-sdk.md Update 'net7.0' usages in the repo 2022-11-18 21:24:56 +01:00
visualstudio.md Fix trailing whitespaces (#40891) 2020-08-19 17:29:01 -07:00