This turned out to be quite a rabbit hole to go down. This morning, I
noticed that an OmniSharp package was still referenced by our unit
tests. I decided to get rid of that but found that it was necessary
because our unit tests reference a very old version of the Web Tools
language server assemblies, which still depend on OmniSharp. So, I
needed to update those to the latest. However, updating Web Tools
required reworking all of the reflection code that interacts with the
Web Tools langauge server. Ultimately, I ended up introducing a small
reflection framework so that code interacting with Web Tools types can
be strongly typed.
Note: This may result in NGEN failures when inserted into VS because we
no longer ship or NGEN the following binaries:
* MediatR.dll
* Microsoft.Extensions.Configuration.Binder.dll
* Microsoft.Extensions.Options.ConfigurationExtensions.dll
* OmniSharp.Extensions.JsonRpc.dll
* OmniSharp.Extensions.LanguageProtocol.dll
* OmniSharp.Extensions.LanguageServer.dll
* OmniSharp.Extensions.LanguageServer.Shared.dll
* System.Reactive.dll
* Add net8.0 TFM
* Fix publishing of rzls
* Reorder TFMs
* Use plural for TFM variables
* Use single TFM for rzls
* Move modern TFMs to front
* Keep major version at 7
* Add singular `$(DefaultNetCoreTargetFramework)`
* Keep extension at net7.0
* Multi-target rzls
* Publish rzls with one TFM only
With the introduction of Microsoft.AspNetCore.Razor.Utilities.Shared,
this assembly is no longer useful. The only types left in it were
in support telemetry, and those can easily be moved to
Microsoft.CodeAnalysis.Razor.Workspaces, which is already referenced by
most tooling projects. This will help reduce image loads in Visual
Studio.
Since integrating our repos, there have been a number of changes in PRs that touch the encoding of the file, adding or removing a BOM as the editor in question decides. I've standardized on UTF-8 with BOM, as we do in roslyn, and put it in the .gitattributes so it should hopefully stay consistent.
* Remove razor-compiler.sln from root directory
* Move Razor.sln and Razor.Slim.slnf into root directory
* Put all projects from razor-compiler.sln into Razor.sln, with same solution folder layout
* Fix builds and docs
* Remove a couple of redundant files in the src\Razor folder
* Add document that lists various projects and layers along with TFMs
* Fix copy/paste bug with a couple of assembly names
Co-authored-by: David Wengier <david.wengier@microsoft.com>
* Fix indenting issue
Co-authored-by: David Wengier <david.wengier@microsoft.com>