forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow using VS to run host tests when libraries use different config (d…
…otnet#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 <[email protected]> * Update eng/generators.targets * Move ShouldUnsetParentConfigurationAndPlatform to repo's Directory.Build.props --------- Co-authored-by: Elinor Fung <[email protected]>
- Loading branch information
1 parent
cb7154d
commit 578e829
Showing
4 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters