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

164 Коммитов

Автор SHA1 Сообщение Дата
David Wengier 66a18d73f2 Add package source mapping 2024-07-03 13:37:32 +10:00
Fredric Silberberg 308a081ae1 Upgrade Roslyn.Diagnostics.Analyzers versions and fix new warnings. 2024-03-06 11:34:42 -08:00
David Wengier 8120409176 Fix build, and a tiny bit of nuget.config cleanup 2024-01-19 13:27:56 +11:00
Dustin Campbell 8169207c3f
Remove OmniSharp and update WebTools in tests (#9474)
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
2023-10-26 08:47:16 -07:00
Allison Chou b44d0a906d
Remove yarn + npm + Python from Razor (#9471) 2023-10-25 23:16:16 +00:00
Dustin Campbell 1380325225 Remove various references to OmniSharp binaries, versions and packages 2023-10-25 13:52:47 -07:00
David Wengier 87614ae8c6 Remove VS Mac specific code 2023-09-13 09:37:40 +10:00
Fred Silberberg 450c0a1231
Add missing compiler tests and dependency projects to the solution filter (#8784)
* Add missing compiler tests and dependency projects to the solution filter

* Be RID-specific with asp.net framework testing reference.

* Update Roslyn versions, remove duplicate Moq versions

* Pipe through SuppressUniqueIds to remove checksums from test baselines

* Depend on roslyn test utilities, use their diagnostic verification.

* Add packagemappins

* Adjust more usings in Razor.Language tests.

* Update property name for consistency.

* Update comment wording.

* Route TestSuppressUniqueIds through a different path.
2023-06-27 13:41:33 -07:00
Jan Jones a0d029c1ef
Emit host outputs (#8242)
* Consolidate roslyn versions

We had multiple sets of roslyn references, differing between the compiler and the tooling. This consolidates those versions and updates the compiler references to be inline with the tooling.

* Filter out compiler-generated types such as RefSafetyRulesAttribute and EmbeddedAttribute.

* Update Roslyn to 4.5.0-2.23107.1

* Add reference to `ExternalAccess.RazorCompiler`

* Emit design-time outputs from the source generator

* Emit host outputs from the source generator

* Test host outputs

* Generate both design-time and runtime outputs

* Switch to implementation output

* Remove `general-testing` feed

* Update Roslyn to 4.6.0-2.23110.2

* Update Roslyn to 4.6.0-2.23113.3

* Remove blank line

* Re-do changes of this PR onto main

* Update Roslyn to 4.7.0-2.23227.6

* Skip host outputs unless opted-in

* Update Roslyn to 4.7.0-2.23253.2

---------

Co-authored-by: Fredric Silberberg <frsilb@microsoft.com>
2023-06-08 18:43:35 +02:00
dotnet-maestro[bot] 5f21d3c5a7
[main] Update dependencies from dotnet/arcade (#8732)
* Update dependencies from https://github.com/dotnet/arcade build 20230518.1

Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.23265.1 -> To Version 8.0.0-beta.23268.1

Dependency coherency updates

Microsoft.SourceLink.GitHub,Microsoft.DotNet.XliffTasks
 From Version 8.0.0-beta.23218.3 -> To Version 8.0.0-beta.23252.2 (parent: Microsoft.DotNet.Arcade.Sdk

* Add .NET 8 packaging sources, remove old unused feeds.

* Add back in vs-impl-archived

* Update dependencies from https://github.com/dotnet/arcade build 20230519.1

Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.23265.1 -> To Version 8.0.0-beta.23269.1

Dependency coherency updates

Microsoft.SourceLink.GitHub,Microsoft.DotNet.XliffTasks
 From Version 8.0.0-beta.23218.3 -> To Version 8.0.0-beta.23252.2 (parent: Microsoft.DotNet.Arcade.Sdk

* More package source cleanup

* Remove explicit xunit.assert references as arcade now brings them in.

* Move to the .NET 8 transport feed.

* Add back in the .NET 8 feed

* Add XUnit back to just the common test helper leg.

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Fredric Silberberg <frsilb@microsoft.com>
2023-05-19 22:51:18 +00:00
Jared Parsons 449680893b
Use powershell global tool (#8550)
* Use powershell global tool

* better way of finding dotnet
2023-03-31 11:56:35 -07:00
Andrew Hall ed1242f09d
Add archived feeds (#8484) 2023-03-21 16:52:31 -07:00
dotnet-maestro[bot] f215ee7aff Update dependencies from https://github.com/dotnet/arcade build 20230227.1
Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.22524.5 -> To Version 8.0.0-beta.23127.1
2023-02-28 16:26:06 +00:00
Allison Chou fd725a6793 Resolve merge conflicts 2023-01-23 23:52:09 -08:00
Dustin Campbell 37e3f80ee4 Update tooling micro benchmark runner
When originally created, the tooling micro benchmarks lifted a small
bit of infrastructure from the aspnetcore repo to run BenchmarkDotNet.
This change removes that infrastructure and adds simpler logic to run
tests that is based on code from https://github.com/dotnet/performance.
In addition, BDN has been updated and a package reference has been added
to BenchmarkDotNet.Performance.Windows. This makes it easy to capture an
ETW profile on Windows.
2023-01-10 12:32:02 -08:00
Fred Silberberg fcae93171c
Update file encoding to UTF-8 with BOM (#8099)
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.
2023-01-10 01:57:58 +00:00
Allison Chou 76327da4f4
[VSCode] Build language servers on their respective OSes (#8049) 2022-12-23 00:25:28 -08:00
Chris Sienkiewicz 11edc15efe
Benchmark updates (#8001)
* Factor out the razor benchmarks into mostly manually listed ones
* Add ETW and memory diagnostics when available
* Rename benchmarks
* Add unit tests for the benchmarks
* Return generatordriver from benchmarks
* Simplify benchmark construction
* Add more benchmark tests
2022-12-12 20:33:28 +00:00
Allison Chou e887ba525d
Revert "Merge pull request #7925 from ryanbrandenburg/OSharpNoShip" (#7969)
This reverts commit b647abee9c, reversing
changes made to f7197e167e.
2022-11-29 19:47:43 +00:00
Ryan Brandenburg 24610fc806 Remove unused assemblies 2022-11-16 16:13:33 -08:00
Ryan Brandenburg 1f57709169 Clean up unneeded nullable changes 2022-10-27 16:53:52 -07:00
Ryan Brandenburg fbd5c12cfe CodeBase some Roslyn assemblies and fix Integration test failures 2022-10-25 17:26:25 -07:00
Ryan Brandenburg 12bd5c9a48 Upgrade VS versions and react to changes
ENVDTE
2022-10-20 12:06:12 -07:00
Chris Sienkiewicz 3dc14e8683 Merge remote-tracking branch 'upstream/main' into merge_main 2022-10-03 14:24:14 -07:00
Chris Sienkiewicz 15c2cba70e Merge branch 'main' into features/the-merge 2022-10-03 11:20:14 -07:00
Ryan Brandenburg a39df4548d Take new CLaSP version 2022-10-03 10:53:34 -07:00
Ryan Brandenburg 9716ba65d5 MediatR 2022-09-28 16:45:39 -07:00
Ryan Brandenburg 2e6d983868 Keep O# packages for WebTools 2022-09-28 14:55:56 -07:00
Ryan Brandenburg 66f2eab24a Package building 2022-09-23 13:27:14 -07:00
Ryan Brandenburg d9c68e2d45 Cleanup nuget 2022-09-23 11:42:37 -07:00
Ryan Brandenburg bb28ae76b1 Fix tests 2022-09-23 10:49:04 -07:00
Ryan Brandenburg d29901df24 Fix benchmarks 2022-09-20 14:38:15 -07:00
Ryan Brandenburg d2975c13a7 CLaSP: Signing and assembly management 2022-09-19 16:13:36 -07:00
Chris Sienkiewicz 83256c3614 Add package mapping 2022-08-29 14:38:29 -07:00
N. Taylor Mullen 221daf1398
Fix component governance issues for main branch (#6692)
* Fix component governance issues for main branch

- Upping all of our dependencies so we're on the latest of everything.
- One of the primary goals of this change is to get to the latest Newtonsoft.Json version (13.0.1).
- Re-generated package source mappings and added a comment on how to generate more in the future. Had to do this because I needed to bug a few folks on the infra side to upload newer O# packages which indirectly referenced bad Newtonsoft versions.

Hopefully fixes #6606

* Fix obsolete build failures

* Add more package source maps
2022-08-08 14:59:34 -07:00
David Wengier c91ae9851d
Add package source mapping for internal tools (#6608) 2022-07-18 22:11:38 +00:00
dotnet-maestro[bot] f5cba71691
Update dependencies from https://github.com/dotnet/arcade build 20220717.1 (#6605)
[main] Update dependencies from dotnet/arcade
2022-07-18 13:19:42 +00:00
David Wengier 3fc629c097 Map packages to their sources 2022-07-13 14:57:17 +10:00
dotnet-maestro[bot] 6bf1a6d315
Update dependencies from https://github.com/dotnet/aspnetcore build 20220210.12 (#6078)
[main] Update dependencies from dotnet/aspnetcore
2022-02-11 03:37:29 +00:00
dotnet-maestro[bot] 8f43295471
[main] Update dependencies from dotnet/aspnetcore (#6070)
[main] Update dependencies from dotnet/aspnetcore
- Coherency Updates:
  - Microsoft.NETCore.App.Ref: from 6.0.1 to 6.0.2 (parent: Microsoft.AspNetCore.Testing)
  - Microsoft.NETCore.BrowserDebugHost.Transport: from 6.0.1-servicing.21567.5 to 6.0.2-servicing.22064.6 (parent: Microsoft.AspNetCore.Testing)
  - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.1 to 6.0.2 (parent: Microsoft.AspNetCore.Testing)
2022-02-11 01:35:08 +00:00
dotnet-maestro[bot] d1e57cfedc
[main] Update dependencies from dotnet/razor-compiler (#6036)
* Update dependencies from https://github.com/dotnet/razor-compiler build 20220131.4

Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X.Internal.Transport , Microsoft.AspNetCore.Razor.Symbols.Transport , Microsoft.CodeAnalysis.Razor.Tooling.Internal
 From Version 6.0.2-1.22081.2 -> To Version 7.0.0-preview.2.22081.4

* Add .NET 7 Sources

* Update AssemblyBindingRedirects.cs

* Update Testing Package

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Tanay Parikh <TanayParikh@users.noreply.github.com>
2022-02-02 18:14:24 +00:00
dotnet-maestro[bot] 9d9c84f0c1
Update dependencies from https://github.com/dotnet/arcade build 20211203.6 (#5825)
[main] Update dependencies from dotnet/arcade
2021-12-06 13:59:32 +00:00
dotnet-maestro[bot] 6d0357a360
[main] Update dependencies from dotnet/aspnetcore (#5738)
[main] Update dependencies from dotnet/aspnetcore
2021-11-20 00:52:55 +00:00
dotnet-maestro[bot] 76465fc4b4
[main] Update dependencies from dotnet/aspnetcore (#5720)
[main] Update dependencies from dotnet/aspnetcore
2021-11-13 21:48:39 +00:00
dotnet-maestro[bot] f2e1410885 Update dependencies from https://github.com/dotnet/aspnetcore build 20211104.17
Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions
 From Version 6.0.0-rtm.21518.12 -> To Version 6.0.1

Dependency coherency updates

Microsoft.Extensions.Configuration,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms
 From Version 6.0.0-rtm.21518.4 -> To Version 6.0.0 (parent: Microsoft.CodeAnalysis.Razor
2021-11-05 01:34:52 +00:00
dotnet-maestro[bot] 5333629565 Update dependencies from https://github.com/dotnet/aspnetcore build 20211102.33
Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions
 From Version 6.0.0-rtm.21518.12 -> To Version 6.0.1

Dependency coherency updates

Microsoft.Extensions.Configuration,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms
 From Version 6.0.0-rtm.21518.4 -> To Version 6.0.0 (parent: Microsoft.CodeAnalysis.Razor
2021-11-03 04:06:37 +00:00
dotnet-maestro[bot] 6c000760a3 Dependency coherency updates
Microsoft.Extensions.Configuration,Microsoft.Extensions.Logging,System.Diagnostics.DiagnosticSource,System.Resources.Extensions,System.Text.Encodings.Web,Microsoft.Extensions.DependencyModel,Microsoft.NETCore.App.Ref,Microsoft.NETCore.BrowserDebugHost.Transport,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.Platforms
 From Version 6.0.0-rtm.21518.4 -> To Version 6.0.0 (parent: Microsoft.CodeAnalysis.Razor
2021-11-01 23:10:51 +00:00
dotnet-maestro[bot] 207f0e3268 Update dependencies from https://github.com/dotnet/aspnetcore build 20211026.8
Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions
 From Version 6.0.0 -> To Version 6.0.0
2021-11-01 23:10:12 +00:00
dotnet-maestro[bot] e3df31e9ae Update dependencies from https://github.com/dotnet/aspnetcore build 20211023.4
Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions
 From Version 6.0.0 -> To Version 6.0.0
2021-11-01 23:09:42 +00:00
dotnet-maestro[bot] b9527d54ad Update dependencies from https://github.com/dotnet/aspnetcore build 20211023.2
Microsoft.CodeAnalysis.Razor , Microsoft.AspNetCore.Testing , Microsoft.AspNetCore.Razor.Language , Microsoft.AspNetCore.Razor.Internal.Transport , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X , Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X , Microsoft.AspNetCore.Mvc.Razor.Extensions
 From Version 6.0.0 -> To Version 6.0.0
2021-11-01 23:09:35 +00:00