Граф коммитов

61 Коммитов

Автор SHA1 Сообщение Дата
Dustin Campbell be4a8621ce Remove tooling MvcShims
The MvcShims defined in tooling are only refernced in the projects located in "src\Razor\test\testapps". However, those projects don't appear to actually ever be built by anything. The source files in the "testapps" projects are used by some of the tooling benchmarks, but that usage doesn't require us to continue building the shims.
2024-10-24 15:14:14 -07:00
Dustin Campbell 466ecf2af5 Delete Microsoft.AspNetCore.Razor.Test.ComponentShim project 2024-10-24 15:14:03 -07:00
Jan Jones 4467256ff7
Use Basic.Reference.Assemblies in Mvc Extension tests (#10888)
* Use Basic.Reference.Assemblies in Mvc Extension tests

* Remove unused shim projects
2024-09-17 09:52:55 +02:00
Dustin Campbell 0cfb05a6f4 Merge branch 'main' into big-smoosh 2024-04-08 08:39:35 -07:00
Dustin Campbell 9264cbd352 Remove MS.VS.Editor.Razor and *.Test projects 2024-04-05 10:00:29 -07:00
Dustin Campbell d9fbec2a3a Remove MS.VS.LanguageServerClient.Razor and *.Test projects 2024-04-05 09:58:00 -07:00
Dustin Campbell 41d9479757 Delete MS.ANC.Razor.LanguageServer.Protocol project 2024-04-03 09:07:36 -07:00
David Wengier a85b6ad68e Add services.props to solution explorer 2024-04-01 09:44:43 +11:00
Jan Jones 5619ecc1e1
Fixup build 2024-02-20 15:03:26 +01:00
Jan Jones c688396251
Add project 2024-02-20 14:23:20 +01:00
Dustin Campbell 3af33ff7a0 Merge LiveShare assembly into MS.VS.LanguageServices.Razor 2024-02-15 15:53:50 -08:00
Dustin Campbell ed7c47ef75 Add MS.VS.LegacyEditor.Razor and MS.VS.LegacyEditor.Razor.Test projects 2024-02-02 12:29:36 -08:00
Dustin Campbell a5d7f99e85 Move JSON serialization into shared project
JSON.NET is no longer used by the majority of Razor product code. The
only components that use NewtonSoft.Json are LiveShare, benchmarks, and
the testing infrastructure. So, I've moved the JSON serialization
support code into a shared project that is linked into the appropriate
places, rather than compiled into `ProjectEngineHost`.
2024-01-08 14:47:42 -08:00
David Wengier a511a7e8c5
Merge branch 'main' into RoslynCohost 2023-12-14 09:13:24 +11:00
Phil Allen 196197bbeb
Make unittest more reliable (#9685)
* Make unittest reliable
Make RazorExtension the default project after clean

* Remove shared state from test class

* Maybe the dispatcher is busy in CI due to slower machines?

---------

Co-authored-by: David Wengier <david.wengier@microsoft.com>
2023-12-11 09:18:28 -08:00
David Wengier 9797f66646 Update packages and feeds etc. 2023-12-11 11:59:27 +11:00
Dustin Campbell 1809623318 A bit more clean up and add project to Razor.Slim.slnf 2023-11-15 15:54:36 -08:00
Dustin Campbell c1e84e321d Move shared contained language test helpers into Test.Common.Tooling 2023-11-15 15:19:03 -08:00
Dustin Campbell 65fe76b590 Move shared language service test helpers into Test.Common.Tooling 2023-11-15 10:10:49 -08:00
Dustin Campbell acc30debae Move shared editor test helpers into Test.Common.Tooling 2023-11-15 10:10:41 -08:00
Dustin Campbell 5327a1e90a Move shared workspaces test helpers into Test.Common.Tooling 2023-11-15 09:26:43 -08:00
Fred Silberberg d3eb2ac00a
Remove SpanEditHandlers from test baselines (#9548)
* Copy a set of tests from the regular Language tests to a new legacy test project, that will continue to validate SpanEditHandlers

* Only validate SpanEditHandlers in the legacy tests

* Update baselines

* Update tooling layer

* Updated tooling test baselines.
2023-11-07 13:38:41 -08:00
Fredric Silberberg 6327b29ef0
Restore accidentally removed parts of the sln 2023-10-26 10:19:43 -07:00
Fredric Silberberg 391dd5bf3d
Remove tooling's near-identical copy of ComponentShim. The compiler version was a superset. 2023-10-25 15:33:18 -07:00
Fredric Silberberg ff04ca882e
Move compiler version of Test.Common and Test.ComponentShim to the shared folder 2023-10-25 15:32:18 -07:00
Jan Jones 50425dfcce
Rename compiler assemblies (#9129)
* Rename compiler assemblies

* Fixup comments

* Rename VersionY_X DLLs

* Set root namespaces

* Transport v1 and v2 of MVC extensions
2023-10-12 09:51:49 +00:00
Allison Chou 9ff3387560
Add Razor language server telemetry to C# DevKit (#9283) 2023-09-22 22:01:23 +00:00
Dustin Campbell d889dc01f7 Use project references for analyzers 2023-09-19 12:50:51 -07:00
Dustin Campbell 757afa11a0 Move analyzers into separate solution 2023-09-18 22:21:31 -07:00
Dustin Campbell f43d044b72 Fix a few issues with analyzers and PooledArrayBuilder<T> 2023-09-18 18:48:42 -07:00
Dustin Campbell 1b5601b343 Add analyzer to enforce use of PooledArrayBuilder<T>.AsRef() with using statements 2023-09-18 16:57:09 -07:00
Dustin Campbell 82f5a0dfb2
Merge branch 'main' into array-builder 2023-09-15 17:00:24 -07:00
David Wengier 87614ae8c6 Remove VS Mac specific code 2023-09-13 09:37:40 +10:00
Dustin Campbell 04916c991c Add a couple of PooledArrayBuilder tests 2023-09-11 17:20:26 -07:00
Dustin Campbell fcf124fb71 Remove MS.ANC.Razor.LanguageServer.Common and relocate types to MS.ANC.Razor.LanguageServer 2023-08-04 12:42:59 -07:00
Dustin Campbell b364a42fa3 Remove MS.ANC.Razor.LanguageServer.Common.Test and relocate tests 2023-08-04 12:27:42 -07:00
Dustin Campbell 36673679fb
Merge pull request #9018 from DustinCampbell/tag-helper-checksums
Add support for tag helper checksums
2023-08-01 16:26:19 -07:00
Allison Chou b3c1f61021
Remove Omnisharp logic from main branch (#9027) 2023-07-27 10:58:29 -07:00
Dustin Campbell 5fb991b46b Add a few tests for checksums 2023-07-24 10:46:31 -07:00
Dustin Campbell fe05138cae Add test project for ExternalAccess.LegacyEditor 2023-06-20 15:05:28 -07:00
Dustin Campbell c89e27c87c Rename external access from 'WebTools' to 'LegacyEditor' 2023-06-20 08:24:38 -07:00
Dustin Campbell b82d9a1060 Add ExternalAccess package for the legacy ASP .NET Core editor 2023-06-16 10:54:27 -07:00
Fred Silberberg 13840b2ceb
Add Microsoft.Net.Compilers.Razor.Toolset (#8735)
Similar to the Microsoft.Net.Compilers.Toolset package that we use in roslyn, this nuget package will override the generators used by a project, replacing them with the specific versions from this package. The purpose of this package is to allow shipping hotfixes to customers directly in a simple manner, without having to ask them to manually do a bunch of msbuild magic or replacing existing dlls. It may be helpful to reference the targets that add the razor generators to the compilation in the first place when reviewing: https://github.com/dotnet/sdk/blob/main/src/RazorSdk/Targets/Microsoft.NET.Sdk.Razor.SourceGenerators.targets#L15.
2023-06-09 21:33:52 +00:00
David Wengier 00c6f936f1 Create spelling exclusions file 2023-06-06 12:09:21 +10:00
David Wengier 7f7752b955 Create some simple tests for the RoslynWorkspace EA (and fix a glaring bug!) 2023-04-18 16:20:38 +10:00
David Wengier c2af8ff1c8 Create new project to allow hosting the RazorProjectHost with a Roslyn workspace and minimal dependencies
This is the first part of a larger simplification, but wanted to limit the code moves for now.
2023-04-04 12:09:32 +10:00
David Wengier 03b5a65bf4 Create ProjectEngineHost project
This project will contain code from MS.CA.Razor.Workspaces and MS.ASP.Razor.LanguageServer.Common which is responsible for hosting the Razor compiler, and producing the razor.project.json file, but shouldn't live in those projects because they have incompatible dependencies.
2023-04-04 12:09:32 +10:00
Jan Jones 33e06ed0fd
Remove unused `SourceGenerator.Tooling.Internal` (#8470) 2023-03-22 08:28:15 +00:00
Dustin Campbell dfc7304889 Remove Microsoft.AspNetCore.Razor.Common assembly
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.
2023-03-08 11:43:18 -08:00
Jan Jones 638eb4e1b1
Remove packages not flowing anywhere (#8386)
* Remove razor-compiler DARC dependencies

* Remove unnecessary projects
2023-03-08 13:20:17 +00:00