Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update feature branch #10652

Merged
merged 207 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
207 commits
Select commit Hold shift + click to select a range
9a307d7
Explicitly pass formatting options to Roslyn APIs (via External Access)
tmat Apr 29, 2022
07e774e
Merge remote-tracking branch 'upstream/main' into FormattingOptions
davidwengier Oct 28, 2022
4e25c1d
Unskip bound attribute test
davidwengier Jul 3, 2024
254d9de
Clean up code actions code
davidwengier Jul 4, 2024
ca5327e
Unskip bound attribute test (#10580)
davidwengier Jul 4, 2024
7731184
Centralize capabilities code
davidwengier Jul 4, 2024
afb0362
Create basic endpoint and remote service definition
davidwengier Jul 4, 2024
abf6053
Merge remote-tracking branch 'upstream/main' into FormattingOptions
davidwengier Jul 7, 2024
50a650a
Updates after merge
davidwengier Jul 7, 2024
e0e78bb
Actually fix the bug by not calling TryApplyChanges on the workspace
davidwengier Jul 7, 2024
dbacc56
Whitespace
davidwengier Jul 7, 2024
c5de662
Make minimal
davidwengier Jul 7, 2024
b17a0e8
Explicitly pass formatting options to Roslyn APIs (via External Acces…
davidwengier Jul 8, 2024
63f6ad3
Get TextManager as needed to avoid UI thread dependency in the constr…
AmadeusW Jul 8, 2024
f746561
Removing unnecessary Razor Legacy Editor feature flag (#10591)
alexgav Jul 8, 2024
9f9d250
Allow services to use Json
davidwengier Jul 4, 2024
3707cb3
Create remote signature help service
davidwengier Jul 9, 2024
e14fff4
Cleanup
davidwengier Jul 9, 2024
e8bb55e
Don't offer if the option is off
davidwengier Jul 9, 2024
6e170ed
Missed a spot
davidwengier Jul 9, 2024
dfdb314
PR Feedback (except things that could cause conflicts)
davidwengier Jul 9, 2024
ce9be80
Fix build
davidwengier Jul 9, 2024
63e225d
Clean up code actions code (#10582)
davidwengier Jul 9, 2024
e90920a
Allow tests to intercept a static method call
davidwengier Jul 9, 2024
e037301
Allow tests to call into the endpoint
davidwengier Jul 9, 2024
93b8b84
Add tests and test infra
davidwengier Jul 9, 2024
b3711a8
Minor fix
davidwengier Jul 9, 2024
c467559
Whitespace
davidwengier Jul 9, 2024
068df13
[main] Update dependencies from dotnet/arcade (#10590)
dotnet-maestro[bot] Jul 9, 2024
e957bb2
Nullable-enable `DefaultRazorTagHelperContextDiscoveryPhase`
DustinCampbell Jul 9, 2024
b24cd9c
Improve perf in generator cache cases (#10577)
chsienki Jul 9, 2024
7d38fdf
Add pooling for DirectiveVisitors
DustinCampbell Jul 9, 2024
918e316
Don't compute list of non-component tag helpers until necessary
DustinCampbell Jul 9, 2024
27feb66
Prefer list pattern
DustinCampbell Jul 9, 2024
848286c
Track tag helpers by assembly in TagHelperDirectiveVisitor
DustinCampbell Jul 9, 2024
cec0f4e
Clean up ComponentDirectiveVisitor a bit
DustinCampbell Jul 9, 2024
36fea34
assert UI thread
AmadeusW Jul 9, 2024
82d6cf6
PR Feedback
davidwengier Jul 10, 2024
b92a394
Improve create document method
davidwengier Jul 10, 2024
a1d07e0
Expand tests to match the existing ones
davidwengier Jul 10, 2024
6af89f3
Add tests for the cohost linked editing range endpoint (#10596)
davidwengier Jul 10, 2024
28ff338
PR Feedback
davidwengier Jul 10, 2024
6b6696a
Use collection expressions
DustinCampbell Jul 10, 2024
86e57e5
Mark method as readonly
DustinCampbell Jul 10, 2024
171f21c
Add First(), FirstOrDefault(), Last() and LastOrDefault() methods
DustinCampbell Jul 10, 2024
5e62258
Add Single() and SingleOrDefault() methods
DustinCampbell Jul 10, 2024
7a3e1e5
Prefer TheoryData in tests
DustinCampbell Jul 10, 2024
6647eb0
Add tests for new PooledArrayBuilder methods
DustinCampbell Jul 10, 2024
0abee9c
Fix XML doc comment typo
DustinCampbell Jul 10, 2024
9f10648
Add predicate overloads, XML doc comments, and more tests
DustinCampbell Jul 10, 2024
fda387e
Fix razor/namedPipe params to use STJ. Also rename the endpoint (#10604)
ryzngard Jul 10, 2024
f8893e8
Fix unified settings (#10607)
ryzngard Jul 10, 2024
3b2da77
Add ImmutableArray extension methods for ordering
DustinCampbell Jul 10, 2024
0fb08aa
Avoid UI thread dependency in the constructor (#10593)
DustinCampbell Jul 10, 2024
7b511df
Use pooled objects in more locations (#10598)
ryzngard Jul 11, 2024
91113cc
Remove unused usings
DustinCampbell Jul 11, 2024
e4cfab9
Don't bother ordering ImmutableArrays of length 1
DustinCampbell Jul 11, 2024
4f19d2f
Improve perf of ImmutableArray Order* extension methods
DustinCampbell Jul 11, 2024
ca16fcb
Fix indentation
DustinCampbell Jul 11, 2024
9b1be71
Reorder parameters for IReadOnlyList extensions and move to shared
DustinCampbell Jul 11, 2024
9e49c20
Prefer collection expressions and remove argument null checks
DustinCampbell Jul 11, 2024
a17a33a
Add other Any(...) and All(...) overloads for `IReadOnlyList<T>`
DustinCampbell Jul 11, 2024
50b66b8
Add First/Last/Single extension methods for IReadOnlyList
DustinCampbell Jul 11, 2024
1cfff80
Add unit tests for ReadOnlyListExtensions
DustinCampbell Jul 11, 2024
5deabb0
Add TArg-variant overloads to LINQ-style methods in PooledArrayBuilde…
DustinCampbell Jul 11, 2024
0dc2455
Add defaultValue-variants for PooledArrayBuilder LINQ-style APIs
DustinCampbell Jul 11, 2024
ff73a1d
Push array.Length checks down to avoid code duplication
DustinCampbell Jul 11, 2024
4e29f57
Logging
davidwengier Jul 11, 2024
cbc5e4a
Stop loggign from OOP in tests, because logging in OOP is dodgy
davidwengier Jul 12, 2024
d408918
Dispose of disposables 🤦‍♂️
davidwengier Jul 12, 2024
5090e74
Whitespace
davidwengier Jul 12, 2024
c78deb4
Tell the compiler that services are disposable
davidwengier Jul 12, 2024
b1f89e0
Abstract IServiceBroker away so that we can test services without nee…
davidwengier Jul 12, 2024
45a0821
Create MEF composition and services directly in testing
davidwengier Jul 12, 2024
66e4247
Clean up, and allow multple services to be used by a single endpoint
davidwengier Jul 12, 2024
24c99ef
Cohosting test infrastructure v2 (#10612)
davidwengier Jul 12, 2024
6d563c3
Fix NRE when invoking completion in empty document (#10610)
alexgav Jul 12, 2024
52debaf
Remove one more unneeded array.Length check
DustinCampbell Jul 12, 2024
ed5ddf0
Cleanup linked editing range tests, and allow the use of real components
davidwengier Jul 15, 2024
96ba294
Share some files
davidwengier Jul 15, 2024
d59d623
Add tests for cohosting linked editing range that use real components…
davidwengier Jul 15, 2024
2ff5ca0
Create semantic tokens tests for cohosting
davidwengier Jul 15, 2024
7a7998f
Fix test data 🤦‍♂️
davidwengier Jul 15, 2024
a96e5f1
Fix bad tests that relied on previously bad test data 🤦‍♂️🤦‍♂️🤦‍♂️
davidwengier Jul 15, 2024
66427f4
convert enumerables and enumerators to ref structs
DustinCampbell Jul 15, 2024
9c1c4f4
convert enumerables and enumerators to ref structs
DustinCampbell Jul 15, 2024
2ebe03e
Pass variable rather than reading property again
DustinCampbell Jul 15, 2024
125fcd8
Clean up RazorServiceFactoryBase a bit
DustinCampbell Jul 15, 2024
12b2025
Rename RazorServiceBase to RazorBrokeredServiceBase and clean up a bit
DustinCampbell Jul 15, 2024
24e35a1
Rework RazorServiceFactoryBase into nested class with simple args
DustinCampbell Jul 15, 2024
fcea6f7
Prefer single in ServiceFactoryMap to fail fast for tests
DustinCampbell Jul 15, 2024
fe1c8ad
Clean up ServiceFactoryMap and rename to BrokeredServiceFactory
DustinCampbell Jul 15, 2024
76bb925
Rename IRemoteServiceProvider to IRemoteServiceInvoker
DustinCampbell Jul 15, 2024
da4bd7d
Add RazorBrokeredServiceData and rework remote logging
DustinCampbell Jul 15, 2024
e32163c
Ensure that the RpcConnection is disposed
DustinCampbell Jul 15, 2024
8cf2152
Don't inherit all service interfaces from IDisposable
DustinCampbell Jul 15, 2024
41a0475
Rework cohosting test infrastructure a bit
DustinCampbell Jul 15, 2024
20e107f
Use correct MEF interfaces
DustinCampbell Jul 15, 2024
37b6f94
Further remote logging work
DustinCampbell Jul 15, 2024
9e96c3b
Remove unused variable
DustinCampbell Jul 15, 2024
5579bc0
Change WrappedComparer and WrappedComparison to 'Reversed*'
DustinCampbell Jul 15, 2024
28fbb59
Add GetPooledArraySpan(...) extension method
DustinCampbell Jul 15, 2024
a42dea4
Fix project info reading (#10623)
ryzngard Jul 16, 2024
87b4727
Add ImmutableArray extension methods for ordering (#10608)
DustinCampbell Jul 16, 2024
401f4f3
Fix issue with cancelling AsyncBatchingWorkQueue
DustinCampbell Jul 16, 2024
d5a6775
Don't force RazorActivityLog onto main thread
DustinCampbell Jul 16, 2024
7e7c211
Check CancellationToken in RazorActivityLog when processing batch
DustinCampbell Jul 16, 2024
d6b81be
Add better mocking for IAsyncServiceProvider
DustinCampbell Jul 16, 2024
cbe071b
Remvoe statics from intiailization services
davidwengier Jul 16, 2024
734c8a5
Test precise semantic tokens too
davidwengier Jul 16, 2024
9ff1e8b
Flesh out `PooledArrayBuilder<T>` a bit (#10606)
DustinCampbell Jul 16, 2024
9ad4466
Merge branch 'main' into tag-helper-discovery-perf
DustinCampbell Jul 16, 2024
5288d76
Add XML doc comments
DustinCampbell Jul 16, 2024
7213201
Add GetPooledArray(...) overloads to clear the array when returned
DustinCampbell Jul 16, 2024
8a97a5f
Improve performance of `DefaultRazorTagHelperContextDiscoveryPhase` (…
DustinCampbell Jul 16, 2024
721308d
Add overloads for string AsSpan(), AsMemory() and *OrDefault() variants
DustinCampbell Jul 16, 2024
2e994ba
Add overloads for string.Contains(), IndexOf, StartsWith, and EndsWith
DustinCampbell Jul 16, 2024
59362df
Pool CodeWriter ReadOnlyMemory<char> pages (#10585)
ToddGrun Jul 16, 2024
55aeabb
Add more XML doc comments
DustinCampbell Jul 16, 2024
19f2f7f
Add array AsSpan and AsMemory extensions that use Razor's polyfill types
DustinCampbell Jul 16, 2024
90cbe54
Remote DrainToImmutable() extension method
DustinCampbell Jul 16, 2024
fd837e1
[FUSE] Component attribute nameof() (#10581)
chsienki Jul 16, 2024
d1d03fb
Inline brokered service factories into the services
DustinCampbell Jul 16, 2024
12e4fbc
Fix Visual Studio unit tests (#10626)
DustinCampbell Jul 16, 2024
94a614e
Clean up RemoteMefComposition a bit
DustinCampbell Jul 16, 2024
00a11a3
Don't inherit EmptyLoggerFactory from AbstractLoggerFactory
DustinCampbell Jul 16, 2024
323e74c
Prefer mock for IServiceBroker
DustinCampbell Jul 16, 2024
a182da6
Simplify co-hosting infrastructure and improve co-hosting test infras…
DustinCampbell Jul 16, 2024
b2dae75
Merge remote-tracking branch 'upstream/main' into dev/dawengie/Cohost…
davidwengier Jul 16, 2024
55fee1e
Post merge updates, and rejig of client initialization options
davidwengier Jul 16, 2024
e67fab8
Add missing `ReturnAsync` for mock
DustinCampbell Jul 16, 2024
2edc201
Move CreateTextLoader helper to TestMocks class
DustinCampbell Jul 16, 2024
d96c004
Fix BackgroundDocumentGeneratorTest that was throwing exception
DustinCampbell Jul 16, 2024
3138fb0
Do not swallow test logging errors that occur outside of tests
DustinCampbell Jul 16, 2024
214d921
Ensure that we log exceptions during tests
DustinCampbell Jul 16, 2024
59aa56d
Don't read past end of span in NormalizeAndDedupeSlashes
DustinCampbell Jul 17, 2024
6d76c6d
Add "/" as special case when normalizing directories
DustinCampbell Jul 17, 2024
b8f14d3
Fix issue with cancelling AsyncBatchingWorkQueue
DustinCampbell Jul 16, 2024
0ded205
Move StreamExtensions to netcore only (#10634)
ryzngard Jul 17, 2024
c303117
Cohosting semantic tokens tests (#10619)
davidwengier Jul 17, 2024
93440cc
Localized file check-in by OneLocBuild Task: Build definition ID 262:…
dotnet-bot Jul 17, 2024
096f1fb
Create cohosting folding range tests
davidwengier Jul 17, 2024
d636a6f
Rename base class
davidwengier Jul 17, 2024
e2549ad
Add some html coverage
davidwengier Jul 17, 2024
78859c7
Fix bad assumption in tests
davidwengier Jul 16, 2024
2b28abc
Remove statics
davidwengier Jul 16, 2024
98c6494
Use the test solution store to actual map solution infos to solutions
davidwengier Jul 16, 2024
19f2329
Respond to CLaSP changes
davidwengier Jul 16, 2024
43f12e8
Apply suggestions from code review
davidwengier Jul 16, 2024
e1b7bc9
Bump Roslyn
davidwengier Jul 17, 2024
96b3fa3
Fix after insertion
davidwengier Jul 17, 2024
bd398ca
Remove dispose method
davidwengier Jul 17, 2024
57c32ad
Merge remote-tracking branch 'upstream/main' into CohostSigHelp
davidwengier Jul 17, 2024
c80b84a
Updates after merge
davidwengier Jul 17, 2024
bdf5796
Bump Roslyn
davidwengier Jul 17, 2024
fa94d4c
Localized file check-in by OneLocBuild Task: Build definition ID 262:…
davidwengier Jul 17, 2024
12b6d0e
Missed another spot
davidwengier Jul 17, 2024
9489e41
Update Version.Details.xml
davidwengier Jul 17, 2024
0884b79
Fix test
davidwengier Jul 17, 2024
850778b
Cohosting folding range tests (#10638)
davidwengier Jul 17, 2024
d184cae
Initial test commit but not working because I need to merge main
davidwengier Jul 17, 2024
5cb9daf
Merge remote-tracking branch 'upstream/main' into CohostSigHelp
davidwengier Jul 17, 2024
5a0a0b0
Updates after merge
davidwengier Jul 17, 2024
0a42f3c
Fail in a more interesting way
davidwengier Jul 17, 2024
c0b9aa2
Handle `:get`/`:set` in `EditorRequired` checking (#10628)
jjonescz Jul 17, 2024
8e007c6
Fix handful of unit test issues and the intermittent IndexOutOfRangeE…
DustinCampbell Jul 17, 2024
8b0fe3d
Expand string and span extension methods (#10629)
DustinCampbell Jul 17, 2024
32fed2e
Add StringExtensions.CreateString(...) helper
DustinCampbell Jul 17, 2024
6f3fcc1
Use CreateString helper in CodeWriter
DustinCampbell Jul 17, 2024
281a652
Remove binary test (#10639)
ryzngard Jul 17, 2024
8d9b438
Use ArgHelper in CodeWriter
DustinCampbell Jul 17, 2024
aed8cfa
Add MemoryBuilder<T> helper
DustinCampbell Jul 17, 2024
d0142ac
Use the right workspace, and everything just works!
davidwengier Jul 17, 2024
7fc8a12
Revert and comment
davidwengier Jul 17, 2024
f6bdc0b
Extract log message formatting and reduce string allocations
DustinCampbell Jul 17, 2024
5e63634
Use LogMessageFormatter in a couple existing loggers
DustinCampbell Jul 17, 2024
6faa9e9
File header
davidwengier Jul 17, 2024
cdae4fa
Use same EmptyLoggerFactory throughout Razor
DustinCampbell Jul 17, 2024
c945faf
Use different ILoggerProvider for integration tests and clean up
DustinCampbell Jul 17, 2024
6458bc3
Add GetPooledArraySpan(...) extension method (#10625)
DustinCampbell Jul 18, 2024
a546981
Initial tests
davidwengier Jul 18, 2024
b01f6a7
Moar tests!
davidwengier Jul 18, 2024
f07c7bb
Port AsyncBatchingWorkQueue fix to release/dev17.11 (#10636)
phil-allen-msft Jul 18, 2024
5d75e5e
Merge release/dev17.11 to main (#10643)
dotnet-bot Jul 18, 2024
8fd82a8
Minor updates for Razor repo (#10576)
phil-allen-msft Jul 18, 2024
54f3d27
Apply code review feedback for MemoryBuilder<T>
DustinCampbell Jul 18, 2024
590205b
Add comment back to CodeWriter.GenerateString(...)
DustinCampbell Jul 18, 2024
4002d45
Use static lambda
DustinCampbell Jul 18, 2024
6fa6e78
Assert that nextCapacity > _memory.Length in MemoryBuilder<T>
DustinCampbell Jul 18, 2024
bdb1348
Use static readonly field
DustinCampbell Jul 18, 2024
3b480de
Use ThrowHelper within ArgHelper
DustinCampbell Jul 18, 2024
9abb3a4
Bump Roslyn to inserted version
davidwengier Jul 18, 2024
dab3950
Update src/Razor/test/Microsoft.VisualStudio.LanguageServices.Razor.T…
davidwengier Jul 18, 2024
ed31895
PR Feedback
davidwengier Jul 18, 2024
2b48ebb
Minor cleanup
davidwengier Jul 18, 2024
d91189f
Remove dodgy `UpdateSolution` method in cohosting tests (#10627)
davidwengier Jul 18, 2024
45798d4
Merge remote-tracking branch 'upstream/main' into CohostSigHelp
davidwengier Jul 18, 2024
f75ab60
Turn off trailing whitespace triming in strings (#10646)
333fred Jul 18, 2024
4670d3e
Don't call Html for Uri presentation if it's occuring in a C# region
davidwengier Jul 18, 2024
3f524c0
Tweak names
davidwengier Jul 19, 2024
07ae1eb
Cohost: Support signature help (#10595)
davidwengier Jul 19, 2024
c79c968
Move BuildAnalyzers.sln to eng (#10647)
333fred Jul 19, 2024
a12e07b
Cohosting tests for Uri presentation (#10642)
davidwengier Jul 19, 2024
4af4e6f
Fix attribute parsing recovery (#10620)
jjonescz Jul 19, 2024
749ded8
Add XML doc comments for StreamExtensions.CreateString and SpanAction
DustinCampbell Jul 19, 2024
fabbeeb
Clean up MemoryBuilder<T>.Grow when checking again ArrayMaxLength
DustinCampbell Jul 19, 2024
abec894
Revisit Razor logging (#10641)
DustinCampbell Jul 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"files.trimTrailingWhitespace": true,
"files.trimTrailingWhitespaceInRegexAndStrings": false,
"files.associations": {
"*.*proj": "xml",
"*.props": "xml",
Expand Down
6 changes: 6 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>

<DefaultNetFxTargetFramework>net472</DefaultNetFxTargetFramework>

<!--
Needed to avoid error NU1010: The PackageReference items Microsoft.Net.Compilers.Toolset.Framework do not have corresponding PackageVersion.
Related to https://github.com/dotnet/sdk/issues/41791.
-->
<BuildWithNetFrameworkHostedCompiler>false</BuildWithNetFrameworkHostedCompiler>
</PropertyGroup>

<!--
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
If a C# file should only be compiled under NetCore, it can be named with a ".NetCore.cs" extension.
Or, the file can be included in a folder called "NetCore" or has a name that ends in "_NetCore".
-->
<ItemGroup Condition="'$(TargetFramework)' != '$(NetCurrent)' AND '$(TargetFramework)' != '$(NetPrevious)'">
<ItemGroup Condition="'$(TargetFramework)' != '$(DefaultNetCoreTargetFramework)' AND '$(TargetFramework)' != '$(NetCurrent)' AND '$(TargetFramework)' != '$(NetPrevious)'">
<Compile Remove="**\*.NetCore.cs" />
<Compile Remove="**\NetCore\**\*.*" />
<Compile Remove="**\*_NetCore\**\*.*" />
Expand Down
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@
<PackageVersion Include="Microsoft.WebTools.Languages.Shared.Editor" Version="$(_MicrosoftWebToolsPackageVersion)" />
<PackageVersion Include="Microsoft.WebTools.Languages.Shared.VS" Version="$(_MicrosoftWebToolsPackageVersion)" />
<PackageVersion Include="Microsoft.WebTools.Shared" Version="$(_MicrosoftWebToolsPackageVersion)" />
<PackageVersion Include="Moq" Version="4.16.0" />
<PackageVersion Include="Moq" Version="4.18.4" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="Nerdbank.Streams" Version="2.11.74" />
<PackageVersion Include="NuGet.SolutionRestoreManager.Interop" Version="4.8.0" />
<PackageVersion Include="NuGet.VisualStudio" Version="17.9.1" />
<PackageVersion Include="Roslyn.Diagnostics.Analyzers" Version="$(_MicrosoftCodeAnalysisAnalyzersPackageVersion)" />
<PackageVersion Include="System.Collections.Immutable" Version="$(SystemCollectionsImmutablePackageVersion)" />
<PackageVersion Include="System.Resources.Extensions" Version="6.0.0" />
Expand Down
4 changes: 2 additions & 2 deletions NuGet.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
Expand Down Expand Up @@ -112,8 +112,8 @@
<package pattern="nuget.packaging" />
<package pattern="nuget.protocol" />
<package pattern="nuget.resolver" />
<package pattern="nuget.solutionrestoremanager.interop" />
<package pattern="nuget.versioning" />
<package pattern="nuget.visualstudio" />
<package pattern="perfolizer" />
<package pattern="powershell" />
<package pattern="roslyn.diagnostics.analyzers" />
Expand Down
8 changes: 8 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,14 @@ stages:
displayName: Build and Deploy
condition: succeeded()

# Needed for Microsoft.AspNetCore.Razor.Microbenchmarks.Generator tests
- task: UseDotNet@2
displayName: 'Install .NET 8 runtime'
inputs:
packageType: runtime
version: 8.x
installationPath: '$(Build.SourcesDirectory)\.dotnet'

- script: eng\CIBuild.cmd
-configuration $(_BuildConfig)
-prepareMachine
Expand Down
2 changes: 1 addition & 1 deletion eng/Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
that is treated as an analyzer, there can be file locking issues if Razor.Diagnostics.Analyzers isn't
built before Razor.sln. Setting "BuildInParallel" to "false" ensures that this solution will be fully
built first. -->
<ProjectToBuild Include="$(RepoRoot)BuildAnalyzers.sln" BuildInParallel="false" />
<ProjectToBuild Include="$(RepoRoot)\eng\BuildAnalyzers.sln" BuildInParallel="false" />

<ProjectToBuild Condition="'$(OS)'=='WINDOWS_NT' and '$(SdkTaskProjects)'==''" Include="$(MSBuildThisFileDirectory)..\Razor.sln" />

Expand Down
2 changes: 1 addition & 1 deletion BuildAnalyzers.sln → eng/BuildAnalyzers.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.8.34117.57
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Razor.Diagnostics.Analyzers", "src\Analyzers\Razor.Diagnostics.Analyzers\Razor.Diagnostics.Analyzers.csproj", "{42438A8F-6284-443A-A518-9AAD5371A403}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Razor.Diagnostics.Analyzers", "..\src\Analyzers\Razor.Diagnostics.Analyzers\Razor.Diagnostics.Analyzers.csproj", "{42438A8F-6284-443A-A518-9AAD5371A403}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
84 changes: 42 additions & 42 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,82 +11,82 @@
<Sha>9ae78a4e6412926d19ba97cfed159bf9de70b538</Sha>
<SourceBuild RepoName="source-build-reference-packages" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.CommonLanguageServerProtocol.Framework" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.CommonLanguageServerProtocol.Framework" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.ExternalAccess.Razor" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.CodeAnalysis.ExternalAccess.Razor" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Common" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.CodeAnalysis.Common" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.CSharp" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.CodeAnalysis.CSharp" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.CSharp.EditorFeatures" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.CodeAnalysis.CSharp.EditorFeatures" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.CSharp.Features" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.CodeAnalysis.CSharp.Features" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Common" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Common" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Text" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Text" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Wpf" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.CodeAnalysis.EditorFeatures.Wpf" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Remote.ServiceHub" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.CodeAnalysis.Remote.ServiceHub" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.VisualBasic.Workspaces" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.CodeAnalysis.VisualBasic.Workspaces" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.VisualStudio.LanguageServices" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.VisualStudio.LanguageServices" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Test.Utilities" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.CodeAnalysis.Test.Utilities" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
</Dependency>
<!-- Intermediate is necessary for source build. -->
<Dependency Name="Microsoft.SourceBuild.Intermediate.roslyn" Version="4.11.0-3.24303.3">
<Dependency Name="Microsoft.SourceBuild.Intermediate.roslyn" Version="4.12.0-1.24366.6">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>ec443fac0dcc4e9ce2f83b9202f689dc2872b9f3</Sha>
<Sha>30edd04fd41dec9e8f9f48e698ebd5b80d9f7677</Sha>
<SourceBuild RepoName="roslyn" ManagedOnly="true" />
</Dependency>
</ProductDependencies>
Expand All @@ -96,14 +96,14 @@
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-runtime</Uri>
<Sha>3a25a7f1cc446b60678ed25c9d829420d6321eba</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.24352.1">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.24352.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>8b879da4e449c48d99f3f642fc429379a64e8fe8</Sha>
<Sha>4a7d983f833d6b86365ea1b2b4d6ee72fbdbf944</Sha>
</Dependency>
<!-- Intermediate is necessary for source build. -->
<Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="8.0.0-beta.24352.1">
<Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="9.0.0-beta.24352.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>8b879da4e449c48d99f3f642fc429379a64e8fe8</Sha>
<Sha>4a7d983f833d6b86365ea1b2b4d6ee72fbdbf944</Sha>
<SourceBuild RepoName="arcade" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="1.0.0-beta.23475.1" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
Expand Down
40 changes: 20 additions & 20 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -50,28 +50,28 @@
<MicrosoftNETCoreBrowserDebugHostTransportPackageVersion>6.0.2-servicing.22064.6</MicrosoftNETCoreBrowserDebugHostTransportPackageVersion>
<MicrosoftNETCorePlatformsPackageVersion>6.0.1</MicrosoftNETCorePlatformsPackageVersion>
<MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>9.0.0-alpha.1.24304.1</MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>
<MicrosoftSourceBuildIntermediatearcadePackageVersion>8.0.0-beta.24352.1</MicrosoftSourceBuildIntermediatearcadePackageVersion>
<MicrosoftSourceBuildIntermediatearcadePackageVersion>9.0.0-beta.24352.2</MicrosoftSourceBuildIntermediatearcadePackageVersion>
<MicrosoftDotNetXliffTasksPackageVersion>1.0.0-beta.23475.1</MicrosoftDotNetXliffTasksPackageVersion>
<MicrosoftSourceBuildIntermediatexlifftasksPackageVersion>1.0.0-beta.23475.1</MicrosoftSourceBuildIntermediatexlifftasksPackageVersion>
<MicrosoftNetCompilersToolsetPackageVersion>4.11.0-3.24303.3</MicrosoftNetCompilersToolsetPackageVersion>
<MicrosoftCommonLanguageServerProtocolFrameworkPackageVersion>4.11.0-3.24303.3</MicrosoftCommonLanguageServerProtocolFrameworkPackageVersion>
<MicrosoftCodeAnalysisExternalAccessRazorPackageVersion>4.11.0-3.24303.3</MicrosoftCodeAnalysisExternalAccessRazorPackageVersion>
<MicrosoftCodeAnalysisCommonPackageVersion>4.11.0-3.24303.3</MicrosoftCodeAnalysisCommonPackageVersion>
<MicrosoftCodeAnalysisCSharpPackageVersion>4.11.0-3.24303.3</MicrosoftCodeAnalysisCSharpPackageVersion>
<MicrosoftCodeAnalysisCSharpEditorFeaturesPackageVersion>4.11.0-3.24303.3</MicrosoftCodeAnalysisCSharpEditorFeaturesPackageVersion>
<MicrosoftCodeAnalysisCSharpFeaturesPackageVersion>4.11.0-3.24303.3</MicrosoftCodeAnalysisCSharpFeaturesPackageVersion>
<MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion>4.11.0-3.24303.3</MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion>
<MicrosoftCodeAnalysisEditorFeaturesPackageVersion>4.11.0-3.24303.3</MicrosoftCodeAnalysisEditorFeaturesPackageVersion>
<MicrosoftCodeAnalysisEditorFeaturesCommonPackageVersion>4.11.0-3.24303.3</MicrosoftCodeAnalysisEditorFeaturesCommonPackageVersion>
<MicrosoftCodeAnalysisEditorFeaturesTextPackageVersion>4.11.0-3.24303.3</MicrosoftCodeAnalysisEditorFeaturesTextPackageVersion>
<MicrosoftCodeAnalysisEditorFeaturesWpfPackageVersion>4.11.0-3.24303.3</MicrosoftCodeAnalysisEditorFeaturesWpfPackageVersion>
<MicrosoftCodeAnalysisRemoteServiceHubPackageVersion>4.11.0-3.24303.3</MicrosoftCodeAnalysisRemoteServiceHubPackageVersion>
<MicrosoftCodeAnalysisTestUtilitiesPackageVersion>4.11.0-3.24303.3</MicrosoftCodeAnalysisTestUtilitiesPackageVersion>
<MicrosoftCodeAnalysisVisualBasicWorkspacesPackageVersion>4.11.0-3.24303.3</MicrosoftCodeAnalysisVisualBasicWorkspacesPackageVersion>
<MicrosoftCodeAnalysisWorkspacesCommonPackageVersion>4.11.0-3.24303.3</MicrosoftCodeAnalysisWorkspacesCommonPackageVersion>
<MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>4.11.0-3.24303.3</MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>
<MicrosoftSourceBuildIntermediateroslynPackageVersion>4.11.0-3.24303.3</MicrosoftSourceBuildIntermediateroslynPackageVersion>
<MicrosoftVisualStudioLanguageServicesPackageVersion>4.11.0-3.24303.3</MicrosoftVisualStudioLanguageServicesPackageVersion>
<MicrosoftNetCompilersToolsetPackageVersion>4.12.0-1.24366.6</MicrosoftNetCompilersToolsetPackageVersion>
<MicrosoftCommonLanguageServerProtocolFrameworkPackageVersion>4.12.0-1.24366.6</MicrosoftCommonLanguageServerProtocolFrameworkPackageVersion>
<MicrosoftCodeAnalysisExternalAccessRazorPackageVersion>4.12.0-1.24366.6</MicrosoftCodeAnalysisExternalAccessRazorPackageVersion>
<MicrosoftCodeAnalysisCommonPackageVersion>4.12.0-1.24366.6</MicrosoftCodeAnalysisCommonPackageVersion>
<MicrosoftCodeAnalysisCSharpPackageVersion>4.12.0-1.24366.6</MicrosoftCodeAnalysisCSharpPackageVersion>
<MicrosoftCodeAnalysisCSharpEditorFeaturesPackageVersion>4.12.0-1.24366.6</MicrosoftCodeAnalysisCSharpEditorFeaturesPackageVersion>
<MicrosoftCodeAnalysisCSharpFeaturesPackageVersion>4.12.0-1.24366.6</MicrosoftCodeAnalysisCSharpFeaturesPackageVersion>
<MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion>4.12.0-1.24366.6</MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion>
<MicrosoftCodeAnalysisEditorFeaturesPackageVersion>4.12.0-1.24366.6</MicrosoftCodeAnalysisEditorFeaturesPackageVersion>
<MicrosoftCodeAnalysisEditorFeaturesCommonPackageVersion>4.12.0-1.24366.6</MicrosoftCodeAnalysisEditorFeaturesCommonPackageVersion>
<MicrosoftCodeAnalysisEditorFeaturesTextPackageVersion>4.12.0-1.24366.6</MicrosoftCodeAnalysisEditorFeaturesTextPackageVersion>
<MicrosoftCodeAnalysisEditorFeaturesWpfPackageVersion>4.12.0-1.24366.6</MicrosoftCodeAnalysisEditorFeaturesWpfPackageVersion>
<MicrosoftCodeAnalysisRemoteServiceHubPackageVersion>4.12.0-1.24366.6</MicrosoftCodeAnalysisRemoteServiceHubPackageVersion>
<MicrosoftCodeAnalysisTestUtilitiesPackageVersion>4.12.0-1.24366.6</MicrosoftCodeAnalysisTestUtilitiesPackageVersion>
<MicrosoftCodeAnalysisVisualBasicWorkspacesPackageVersion>4.12.0-1.24366.6</MicrosoftCodeAnalysisVisualBasicWorkspacesPackageVersion>
<MicrosoftCodeAnalysisWorkspacesCommonPackageVersion>4.12.0-1.24366.6</MicrosoftCodeAnalysisWorkspacesCommonPackageVersion>
<MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>4.12.0-1.24366.6</MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>
<MicrosoftSourceBuildIntermediateroslynPackageVersion>4.12.0-1.24366.6</MicrosoftSourceBuildIntermediateroslynPackageVersion>
<MicrosoftVisualStudioLanguageServicesPackageVersion>4.12.0-1.24366.6</MicrosoftVisualStudioLanguageServicesPackageVersion>
<!--
Exception - Microsoft.Extensions.ObjectPool and System.Collections.Immutable packages are not updated by automation,
but are present in Version.Details.xml for source-build PVP flow. See the comment in Version.Details.xml for more information.
Expand Down
Loading