aspnetcore-tooling/eng
David Wengier 4b3e4096e8
Cohost diagnostics support (#10882)
Fixes https://github.com/dotnet/razor/issues/10696
Fixes https://github.com/dotnet/razor/issues/10769
Fixes https://github.com/dotnet/razor/issues/10874
Needs Roslyn change: https://github.com/dotnet/roslyn/pull/75102

The actual code change was quite straight foward. The test code was a
bigger pain. Previously in cohosting tests we had two MEF composition,
one for Razor and one for Roslyn. Since Roslyn diagnostics can only run,
or at least start, in devenv, we now need three MEF compositions -
Roslyn devenv, Roslyn OOP and razor OOP - and two workspaces - Roslyn
devenv and Roslyn OOP - and our previous MEF infrastructure really
didn't handle this well, as evidenced by the fact that this PR also
fixes https://github.com/dotnet/razor/issues/10874

Now our MEF infra is simpler: We still cache catalogs etc. statically
the save time, but we create an `ExportProvider` as needed and expect
consumers to dispose of it like any other `IDisposable`, though there is
also here a test fixture to share the editor composition in the
formatting tests so we don't pay a huge penalty in terms of test run
time.

Commit-at-a-time if you want to read the story from beginning to end,
but it should be reasonably okay to just review as a whole too.
2024-09-18 14:11:37 +10:00
..
Localize Add localization build (#3666) 2021-06-02 11:14:43 -07:00
common Update dependencies from https://github.com/dotnet/arcade build 20240823.2 2024-08-24 12:41:50 +00:00
config Update PublishData.json 2024-08-30 15:34:59 -07:00
pipelines Bump major version to 9 (#10320) 2024-05-20 10:47:48 +02:00
scripts Switch to new VMR control schema. (#10883) 2024-09-13 17:32:10 +00:00
targets Create basic service and endpoints to gather diagnostics and pass them over to OOP 2024-09-11 16:50:50 +10:00
AfterSigning.targets Switch to new VMR control schema. (#10883) 2024-09-13 17:32:10 +00:00
BannedSymbols.MEFv1.txt Ban the appropriate MEF in the approprate project 2024-03-15 07:43:07 +11:00
BannedSymbols.MEFv2.txt Ban the appropriate MEF in the approprate project 2024-03-15 07:43:07 +11:00
BannedSymbols.txt Update file encoding to UTF-8 with BOM (#8099) 2023-01-10 01:57:58 +00:00
Build.props Move BuildAnalyzers.sln to eng (#10647) 2024-07-19 03:55:32 +00:00
BuildAnalyzers.sln Move BuildAnalyzers.sln to eng (#10647) 2024-07-19 03:55:32 +00:00
CIBuild.cmd Remove BOM from .cmd files in eng folder 2023-01-18 10:46:43 -08:00
InternalTools.props Revert "Revert "Move to Central Package Management"" (#10235) 2024-04-07 08:21:46 +10:00
Publishing.props Switch to new VMR control schema. (#10883) 2024-09-13 17:32:10 +00:00
SetupVSHive.ps1 Output VS info 2023-02-16 09:34:07 +11:00
Signing.props Publish rzls as a nuget package for vs-code (#10453) 2024-06-11 17:01:39 -07:00
SourceBuild.props Remove dead property from SourceBuild.props (#9989) 2024-02-26 13:57:18 +00:00
SourceBuildPrebuiltBaseline.xml Update source build prebuilt baseline for Microsoft.Extensions.ObjectPool 2024-02-09 12:15:27 -08:00
TSAConfig.gdntsa Enable TSA (#10543) 2024-06-27 09:19:56 +00:00
Version.Details.xml Cohost diagnostics support (#10882) 2024-09-18 14:11:37 +10:00
Versions.props Cohost diagnostics support (#10882) 2024-09-18 14:11:37 +10:00
cibuild.sh Workaround issue with .editorconfigs when NUGET_PACKAGES does not have a 2024-03-22 11:17:35 -07:00
configure-toolset.ps1 Update file encoding to UTF-8 with BOM (#8099) 2023-01-10 01:57:58 +00:00
configure-toolset.sh Switch to new VMR control schema. (#10883) 2024-09-13 17:32:10 +00:00
nuget-workaround.sh Workaround issue with .editorconfigs when NUGET_PACKAGES does not have a 2024-03-22 11:17:35 -07:00
restore-internal-tools.yml Revert "Revert "Move to Central Package Management"" (#10235) 2024-04-07 08:21:46 +10:00
sdl-tsa-vars.config Update file encoding to UTF-8 with BOM (#8099) 2023-01-10 01:57:58 +00:00