Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
477 commits
Select commit Hold shift + click to select a range
7c8e77c
Update IProjectSnapshot to use TagHelperCollection
DustinCampbell Nov 11, 2025
87a8302
Update RenameService to remove ImmutableArray<TagHelperDescriptor>
DustinCampbell Nov 11, 2025
d93bb38
Update HoverFactory to use TagHelperCollection
DustinCampbell Nov 11, 2025
087362b
Update ITagHelperResolver to use TagHelperCollection
DustinCampbell Nov 11, 2025
225580f
Update FetchTagHelpersResult to use TagHelperCollection
DustinCampbell Nov 11, 2025
ca2650a
Update TagHelperFacts to use TagHelperCollection
DustinCampbell Nov 12, 2025
3d126b3
Update TagHelperDocumentContext.Create callers
DustinCampbell Nov 12, 2025
8ef55c1
Update *TagHelperCompletionServerTest to use TagHelperCollection
DustinCampbell Nov 12, 2025
987cabc
RenameService: Small tweaks from code review feedback
DustinCampbell Nov 20, 2025
e2f3e45
ITagHelperResolver.GetTagHelpers(...) should signal null return value
DustinCampbell Nov 20, 2025
fe38743
DirectiveAttributeComplationItemProvider: Fix logic error
DustinCampbell Nov 20, 2025
2654bc4
TagHelperCollection Part 2: Mechanical Updates (#12505)
DustinCampbell Nov 24, 2025
587518c
Optimize tag helper change detection logic in source generator
DustinCampbell Nov 12, 2025
261d2e1
TagHelperCollection Part 3: Optimize tag helper change detection logi…
DustinCampbell Nov 24, 2025
8c55d7c
Introduce TagHelperDiscoveryService with assembly-level cache
DustinCampbell Nov 13, 2025
8751f22
Break dependency between bind and component tag helper providers
DustinCampbell Nov 14, 2025
e94a840
Implement producers with factory pattern for all tag helper providers
DustinCampbell Nov 15, 2025
17b5e22
Make TagHelperDiscoveryService walk assemblies rather than the providers
DustinCampbell Nov 17, 2025
f4a353a
Remove #nullable disable from a few files
DustinCampbell Nov 20, 2025
a845656
TagHelperCollection Part 4: Rewrite Tag Helper Discovery(!) (#12507)
DustinCampbell Nov 24, 2025
00d5e51
Add cache to TagHelperDocumentContext
DustinCampbell Nov 18, 2025
0d1e021
Resurrect our integration tests (#12523)
davidwengier Nov 24, 2025
a939ae2
Remove non-cohost bits from C# extension (#12518)
davidwengier Nov 24, 2025
d4a50d9
TagHelperCollection Part 5: Add weak cache for TagHelperDocumentConte…
DustinCampbell Nov 24, 2025
c1e400a
Add the RazorCSharp keywords to completion (#12522)
ToddGrun Nov 24, 2025
7f8b393
Fix build
davidwengier Nov 25, 2025
1e8c346
Fix main build (#12528)
davidwengier Nov 25, 2025
b5c4bff
Initial plan
Copilot Nov 25, 2025
9e6b317
Convert TryGetTextDocumentEdits to iterator pattern and fix consumers
Copilot Nov 25, 2025
2bc52c5
Revert over-engineering and simplify to just add iterator method
Copilot Nov 25, 2025
4241861
Remove TryGetTextDocumentEdits method and update all callers to use G…
Copilot Nov 25, 2025
855d2dd
Remove timeout causing folding behavior instability on document open
ToddGrun Nov 25, 2025
1b5a69f
Failing tests
davidwengier Nov 26, 2025
0ce03d8
Call Roslyn to get additional edits when renaming components
davidwengier Nov 26, 2025
ad9715a
Call our edit helper when mapping edits so we get the full capabiliti…
davidwengier Nov 26, 2025
5cb34b5
When editing a start tag, edit the end tag too
davidwengier Nov 26, 2025
cec69d7
Ensure tooling doesn't see intermediate state changes in the source g…
davidwengier Nov 26, 2025
a6fb3ce
Update old test mocks
davidwengier Nov 26, 2025
386947f
Update after Roslyn insertion
davidwengier Nov 26, 2025
a058d47
Remove UpdateBuffersForClosedDocuments option
davidwengier Nov 26, 2025
e9cfe70
Fix comments
davidwengier Nov 26, 2025
d9e580a
Remove DelegateToCSharpOnDiagnosticPublish option
davidwengier Nov 26, 2025
9e08234
Remove DoNotInitializeMiscFilesProjectFromWorkspace option
davidwengier Nov 26, 2025
5ff1b0a
Mark options that can't be easily removed, but only apply to the old …
davidwengier Nov 26, 2025
7cc7d5d
Update after Roslyn insertion (#12535)
davidwengier Nov 26, 2025
3d00318
Localized file check-in by OneLocBuild Task: Build definition ID 262:…
dotnet-bot Nov 26, 2025
a79a136
Remove HtmlVirtualDocumentSuffix option
davidwengier Nov 26, 2025
e1caca1
Remove UseVsCodeCompletionCommitCharacters option
davidwengier Nov 26, 2025
bfba856
Fix attribute completion in Html contexts in VS Code
davidwengier Nov 26, 2025
c7ce653
Remove SupportsSoftSelectionInCompletion option
davidwengier Nov 27, 2025
cf9bf4d
Remove IncludeProjectKeyInGeneratedFilePath option and preview featur…
davidwengier Nov 27, 2025
89fcdf5
Remove CSharpVirtualDocumentSuffix option
davidwengier Nov 27, 2025
c22eac5
Remove SingleServerSupport option
davidwengier Nov 27, 2025
0707e39
Remove ignoreComponentAttributes parameter
davidwengier Nov 27, 2025
7372631
Localized file check-in by OneLocBuild Task: Build definition ID 262:…
davidwengier Nov 27, 2025
a195906
Rename GetTextDocumentEdits to EnumerateTextDocumentEdits and fix dat…
Copilot Nov 27, 2025
13baebb
Extract single-edit methods and use Assumed.Unreachable for fallback …
Copilot Nov 28, 2025
e1f5792
Add nickname to the installation display
davidwengier Nov 28, 2025
95fc41f
Simplify by using EnumerateTextDocumentEdits with in-place modification
Copilot Nov 28, 2025
bc10bc0
Move DocumentChanges check up and use is not null pattern
Copilot Nov 28, 2025
2aee33b
Move DocumentChanges check up in AbstractEditMappingService
Copilot Nov 28, 2025
9d78966
Make remap methods consistent in modifying the incoming object
davidwengier Nov 28, 2025
e9c966d
Make it clear that mapping happens in-place
davidwengier Dec 1, 2025
8449a97
Replace TryGetTextDocumentEdits with EnumerateTextDocumentEdits itera…
davidwengier Dec 1, 2025
ed4e474
Add `@bind` test
davidwengier Dec 1, 2025
45ad529
Merge remote-tracking branch 'upstream/main' into RenameCSharpWhenRen…
davidwengier Dec 1, 2025
ee157f1
Rename after merge
davidwengier Dec 1, 2025
7f85d0f
Filter out empty edits while also mapping in place
davidwengier Dec 1, 2025
38ad2b7
FIx test
davidwengier Dec 1, 2025
86738bd
Add nickname to the installation display (#12542)
davidwengier Dec 1, 2025
75bfc1e
Fix logic
davidwengier Dec 1, 2025
34d6653
PR Feedback
davidwengier Dec 1, 2025
20a733f
Merge remote-tracking branch 'upstream/main' into RemoveUnusedOptions
davidwengier Dec 1, 2025
2464f90
Fix after merge
davidwengier Dec 1, 2025
acc88b9
Clean up LanguageServerFeatureOptions (#12540)
davidwengier Dec 1, 2025
90bace2
Merge remote-tracking branch 'upstream/main' into RenameCSharpWhenRen…
davidwengier Dec 1, 2025
6008aa2
Close GC hole in EnumExtensions
GrabYourPitchforks Dec 3, 2025
ce69d46
Replace Unsafe.BitCast with Unsafe.As
GrabYourPitchforks Dec 3, 2025
e530945
Remove Unsafe.As on RHS and revert to normal unsafe cast
GrabYourPitchforks Dec 3, 2025
1e2cefc
Close GC hole in EnumExtensions (#12549)
GrabYourPitchforks Dec 4, 2025
e367e15
Localized file check-in by OneLocBuild Task: Build definition ID 262:…
dotnet-bot Dec 4, 2025
345bd3b
Update dependencies from https://github.com/dotnet/arcade build 20251…
dotnet-maestro[bot] Dec 4, 2025
114549e
Update dependencies from https://github.com/dotnet/dotnet build 293166
dotnet-maestro[bot] Dec 4, 2025
fc96baa
Localized file check-in by OneLocBuild Task: Build definition ID 262:…
davidwengier Dec 4, 2025
bd3ab1e
[main] Source code updates from dotnet/dotnet (#12552)
davidwengier Dec 4, 2025
fe984e1
Bump Roslyn to 5.3.0-2.25601.4
davidwengier Dec 4, 2025
efc3272
Theorise a test
davidwengier Dec 4, 2025
a280f43
Add a couple of failing tests
davidwengier Dec 5, 2025
a3fffa6
Filter out changes inside string literals
davidwengier Dec 5, 2025
f9bd507
Ignore indentation for lines that are in string literals
davidwengier Dec 5, 2025
81de90b
Update calls
davidwengier Dec 5, 2025
96bf3ab
Using directive
davidwengier Dec 5, 2025
b5073d2
Move NetVSCode to net10.0
JoeRobich Dec 5, 2025
8f6bb90
Update dependencies from https://github.com/dotnet/arcade build 20251…
dotnet-maestro[bot] Dec 5, 2025
d94b207
Suppress instance of IDE0052
JoeRobich Dec 5, 2025
37f0fdb
Restore when publishing to download the Microsoft.DotNet.Build.Tasks.…
JoeRobich Dec 5, 2025
d4ed535
Ensure _UpdatePublishItems runs before PublishToAzureDevOpsArtifacts
JoeRobich Dec 5, 2025
20cf476
Do not publish packages from MacOS or Linux
JoeRobich Dec 5, 2025
849ea24
Revert change to _UpdatePublishItems target
JoeRobich Dec 5, 2025
747c954
[main] Update dependencies from dotnet/arcade (#12466)
JoeRobich Dec 5, 2025
6caab22
Immutable code document (#12533)
chsienki Dec 5, 2025
af1380e
Filter only for string literals, and only ignore indentation for mult…
davidwengier Dec 6, 2025
17133cd
Update dependencies from https://github.com/dotnet/dotnet build 293565
dotnet-maestro[bot] Dec 6, 2025
cc52e55
Merge branch 'main' into FixFormattingCSharpLiterals
davidwengier Dec 6, 2025
5f0c52a
Update src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatti…
davidwengier Dec 6, 2025
4c217f5
Merge remote-tracking branch 'upstream/main' into RenameCSharpWhenRen…
davidwengier Dec 6, 2025
2c0aab5
Fix after merge
davidwengier Dec 6, 2025
36e340c
Fix after merge
davidwengier Dec 6, 2025
8d4744c
[main] Source code updates from dotnet/dotnet (#12558)
davidwengier Dec 6, 2025
d700d5d
Ensure formatting can't change string literal contents (#12556)
davidwengier Dec 6, 2025
4b7b23a
Update dependencies from https://github.com/dotnet/arcade build 20251…
dotnet-maestro[bot] Dec 7, 2025
4d80e6c
Update C# code when Razor components are renamed (#12534)
davidwengier Dec 7, 2025
29e014b
NoWarn NETSDK1233
JoeRobich Dec 7, 2025
a0c9afe
Update vs-extension-testing package
davidwengier Dec 8, 2025
4f425c8
Fix integration tests (#12562)
davidwengier Dec 8, 2025
406ec4c
Fix official build
JoeRobich Dec 8, 2025
e7408cb
[main] Update dependencies from dotnet/arcade (#12559)
JoeRobich Dec 8, 2025
d0e7406
Move NetVSCode to net10.0 (#12557)
JoeRobich Dec 8, 2025
84e4377
Return a document symbol for the "Render" method for a Razor file, ev…
davidwengier Dec 8, 2025
2de0795
Missed updating the old language server tests
davidwengier Dec 8, 2025
63b8397
Update Page to View
davidwengier Dec 8, 2025
72bad28
Interactive bikeshedding via github comments :)
davidwengier Dec 8, 2025
1ee614b
Don't wait for outlining in rename tests
davidwengier Dec 9, 2025
f08c4e0
Unskip tests
davidwengier Dec 9, 2025
8d783a7
Use better caret placement logic for more consistent test results
davidwengier Dec 9, 2025
3a71a31
Update dependencies from https://github.com/dotnet/arcade build 20251…
dotnet-maestro[bot] Dec 9, 2025
1c86ca7
Various integration test fixes (#12572)
davidwengier Dec 9, 2025
ecf8bb8
Move helper method to extension method
davidwengier Dec 8, 2025
87b5d5c
Map class declaration to the start of the Razor file
davidwengier Dec 8, 2025
ca9281a
Typo in method name
davidwengier Dec 8, 2025
7ea97f2
Test
davidwengier Dec 8, 2025
08ad279
WIP
davidwengier Dec 8, 2025
1046fef
Navigate to Razor component from C# class name in a Razor file
davidwengier Dec 9, 2025
735ff71
Add integration tests
davidwengier Dec 9, 2025
72c7573
Create some more rename integration tests
davidwengier Dec 9, 2025
0911c5a
Reference a newer Roslyn.Diagnostics.Analyzers
davidwengier Dec 9, 2025
bcf33b8
Migrate to slnx
davidwengier Dec 9, 2025
9f63411
Move dependency to next to the other Roslyn dependencies, so we have …
davidwengier Dec 9, 2025
44850a5
Migrate to slnx (#12574)
davidwengier Dec 9, 2025
73344c2
Merge remote-tracking branch 'upstream/main' into dev/dawengie/GoToDe…
davidwengier Dec 9, 2025
332f4a0
Fix tests now that I can actually run them
davidwengier Dec 9, 2025
858ad86
Merge remote-tracking branch 'upstream/main' into dev/dawengie/Rename…
davidwengier Dec 9, 2025
91a23a8
Fix rename of components in the global namespace
davidwengier Dec 10, 2025
5215c99
Fix integration tests
davidwengier Dec 10, 2025
5455068
Organize file
davidwengier Dec 10, 2025
34ae888
Update dependencies from https://github.com/dotnet/arcade build 20251…
dotnet-maestro[bot] Dec 10, 2025
caafe46
Add go to impl tests
davidwengier Dec 10, 2025
f4dbd91
Add FAR tests
davidwengier Dec 10, 2025
98ee134
Add integration tests
davidwengier Dec 10, 2025
af612a9
Whoops
davidwengier Dec 10, 2025
5fa79a0
Reference a newer Roslyn.Diagnostics.Analyzers (#12573)
davidwengier Dec 10, 2025
4378055
Be OS agnostic when generating semantic token baseline files (#12581)
davidwengier Dec 10, 2025
c5b1e47
Initial plan
Copilot Dec 9, 2025
6888896
Fix: Handle MarkupEphemeralTextLiteralSyntax in TagHelper attribute p…
Copilot Dec 9, 2025
ec4cb24
Update test baseline for TagHelper_AttributeAfterRazorComment
Copilot Dec 9, 2025
1ccaef1
Add back copilot authored tests, without baselines.
davidwengier Dec 10, 2025
b229795
Fix comment placeholder in test file
Copilot Dec 10, 2025
f0b7c48
Add new test baselines
davidwengier Dec 10, 2025
3c742ea
Fix rename of components in the global namespace, and add integration…
davidwengier Dec 11, 2025
4692e30
[main] Update dependencies from dotnet/arcade (#12570)
dibarbet Dec 11, 2025
f8e0385
Fix: Handle MarkupEphemeralTextLiteralSyntax in TagHelper attribute p…
davidwengier Dec 11, 2025
14fc2da
PR Feedback
davidwengier Dec 11, 2025
45f70d7
Remove assert and doc
davidwengier Dec 11, 2025
48d2d90
Update TextMate grammar for render fragments
davidwengier Dec 11, 2025
e9ad652
Using statements 🤦‍♂️
davidwengier Dec 11, 2025
1e8712b
Update TextMate grammar for render fragments (#12584)
davidwengier Dec 11, 2025
0dc7af6
Navigate to a Razor file when GTD/FAR/GTI is run in C# on the class n…
davidwengier Dec 11, 2025
085d517
Update dependencies from https://github.com/dotnet/arcade build 20251…
dotnet-maestro[bot] Dec 12, 2025
f791c45
Prepare some data that will be needed
davidwengier Dec 12, 2025
355da95
Emit the attribute class as file scoped if all conditions are met
davidwengier Dec 12, 2025
46293f1
Render mode specific tests
davidwengier Dec 12, 2025
e7af331
Integration tests and baselines
davidwengier Dec 12, 2025
fb04435
Fix and add RazorLanguageVersion test
davidwengier Dec 12, 2025
534bc35
Update dependencies from https://github.com/dotnet/arcade build 20251…
dotnet-maestro[bot] Dec 13, 2025
695ed34
Encode double slash as underscore slash in hint names
davidwengier Dec 13, 2025
0cb63b0
Add lang version 11
davidwengier Dec 13, 2025
6978342
Encode double slash as underscore slash in hint names (#12597)
davidwengier Dec 13, 2025
210867e
Don't run tests in official builds
davidwengier Dec 14, 2025
3369338
Don't publish if we're not testing
davidwengier Dec 14, 2025
08e2bbe
Add preview version, point latest to 9, and fix tests
davidwengier Dec 16, 2025
3baf456
Test against preview by default
davidwengier Dec 16, 2025
62f8816
Allow `@rendermode` and `@typeparam` to coexist in basic scenarios (#…
davidwengier Dec 16, 2025
7d9223c
Create one failing test, and one passing with our desired state
davidwengier Dec 12, 2025
116ff7b
Map the directive contents
davidwengier Dec 12, 2025
a509c26
Add regression test to ensure no difference in line directives for Ra…
davidwengier Dec 12, 2025
e7804df
Add ability for tests to customize project generation
davidwengier Dec 12, 2025
1f2df96
Oops, missed a few baselines
davidwengier Dec 12, 2025
97d71f5
Update directive test baselines
davidwengier Dec 12, 2025
0a5c83f
Regenerate baselines for a couple of compiler integration tests, for …
davidwengier Dec 12, 2025
475e13b
Update compiler test baselines
davidwengier Dec 12, 2025
f290a30
Fix tests
davidwengier Dec 12, 2025
58bb9a3
Cross platform fix
davidwengier Dec 13, 2025
2fb82bc
Fix test
davidwengier Dec 16, 2025
fce8e0f
Fix typo in test names
davidwengier Dec 16, 2025
479f751
Use preview lang version in tests
davidwengier Dec 16, 2025
d1dacf9
Gate the feature behind the right version
davidwengier Dec 16, 2025
0f54055
Don't run tests in official builds (#12599)
davidwengier Dec 16, 2025
0235d10
Update ComponentRenderModeDirectivePass.cs
davidwengier Dec 16, 2025
93414e3
Return a document symbol representing the "Render" method for a Razor…
davidwengier Dec 16, 2025
5051b47
Cargo cults keep me warm at night
davidwengier Dec 16, 2025
09ee2b1
Add source mapping for rendermode directives (#12604)
davidwengier Dec 16, 2025
990bb36
Update test and baselines to demostrate the issue
davidwengier Dec 17, 2025
2c160e4
Filter out unnecessary whitespace, and update basleines
davidwengier Dec 17, 2025
423eeb7
Update invalid langver error message
jjonescz Dec 17, 2025
c4fbc5a
Add a parameter for max lang version
jjonescz Dec 17, 2025
ada2e89
Add failing tests
davidwengier Dec 18, 2025
0918859
Provide better APIs for getting source generated documents, and valid…
davidwengier Dec 18, 2025
3f96743
Move to the new APIs, to fix the actual bug by passing in the right p…
davidwengier Dec 18, 2025
18fe553
Move other code to the new API. These didn't have the bug, but pit of…
davidwengier Dec 18, 2025
c076161
PR Feedback
davidwengier Dec 18, 2025
102158f
Delete azure-pipelines-conditional-integration.yml
davidwengier Dec 18, 2025
2f5e3d7
Don't colour background of whitespace before component attributes (#1…
davidwengier Dec 18, 2025
de6a167
Update invalid langver error message (#12611)
davidwengier Dec 18, 2025
52f0a8b
Remove ConditionalSkipIdeFact
davidwengier Dec 19, 2025
743f32a
Update TextMate from C# extension
davidwengier Dec 19, 2025
049dbdb
Update TextMate from C# extension (#12618)
davidwengier Dec 19, 2025
c96e65b
Remove ConditionalSkipIdeFact (#12617)
davidwengier Dec 19, 2025
0440ae2
Delete azure-pipelines-conditional-integration.yml (#12615)
davidwengier Dec 19, 2025
ea6e6aa
Update dependencies from https://github.com/dotnet/arcade build 20251…
dotnet-maestro[bot] Dec 27, 2025
2d9fe02
Add missing test scenarios from auto insert
davidwengier Dec 30, 2025
9670aa6
Add missing test scenarios from add using tests
davidwengier Dec 30, 2025
81c7d8b
Add missing test scenarios from create component tests
davidwengier Dec 30, 2025
d521617
Add missing test scenarios from extract to code behind tests
davidwengier Dec 30, 2025
d85352a
Add missing test scenarios from extract component tests
davidwengier Dec 30, 2025
800f9bc
Add missing test scenarios from generate event handler tests
davidwengier Dec 30, 2025
2497792
Always specify the same project information as Roslyn in VS diagnostics
davidwengier Dec 31, 2025
1b74fa1
Add missing test scenarios from completion tests
davidwengier Dec 31, 2025
9b6d624
Add missing test scenarios from debugging
davidwengier Dec 31, 2025
1113576
Bump dependencies
davidwengier Dec 20, 2025
9dae7d6
Bump Roslyn to 5.3.0-2.25630.5
davidwengier Dec 31, 2025
128fad9
Fix typo
davidwengier Jan 1, 2026
dce1170
Clean up
davidwengier Jan 1, 2026
18c752d
Add missing test scenarios from CodeDirectiveFormattingTest
davidwengier Jan 1, 2026
c636be2
[main] Update dependencies from dotnet/arcade (#12586)
davidwengier Jan 1, 2026
dc1b497
Add missing test scenarios from HtmlFormattingTest
davidwengier Jan 1, 2026
6c81ebb
Add missing test scenarios from formatting endpoint tests
davidwengier Jan 1, 2026
4c2a308
Add missing test scenarios from semantic tokens tests
davidwengier Jan 2, 2026
2c7e72f
Add missing test scenarios from spell check endpoint tests
davidwengier Jan 2, 2026
cc9fdf6
Fix rename integration test
davidwengier Jan 5, 2026
bf62c0d
Merge remote-tracking branch 'upstream/main' into ErrorListProjectFix
davidwengier Jan 5, 2026
dcf1653
PR feedback
davidwengier Jan 5, 2026
c7ff56f
Update src/Razor/test/Microsoft.VisualStudio.Razor.IntegrationTests/I…
davidwengier Jan 5, 2026
a8d4df3
Always specify the same project information as Roslyn in VS diagnosti…
davidwengier Jan 5, 2026
feb67dc
Create cohosting tests for existing LSP server endpoint test coverage…
davidwengier Jan 5, 2026
f7ff382
Fix cross project span and edit mapping (#12614)
davidwengier Jan 5, 2026
153e938
Fix rename integration test (#12634)
davidwengier Jan 5, 2026
e2ab0f1
Merge remote-tracking branch 'upstream/release/dev18.3' into merges/m…
davidwengier Jan 6, 2026
0a3b6ee
Revert
davidwengier Jan 6, 2026
fded731
Update insertion title prefix
davidwengier Jan 6, 2026
8e9c129
Update insertion title prefix again for consistency
davidwengier Jan 6, 2026
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
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .azuredevops/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: 2

# Disabling dependabot on Azure DevOps as this is a mirrored repo. Updates should go through github.
enable-campaigned-updates: false
enable-security-updates: false
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"omnisharp.useModernNet": true,
"omnisharp.enableAsyncCompletion": true,
// ms-dotnettools.csdevkit settings
"dotnet.defaultSolution": "Razor.sln",
"dotnet.defaultSolution": "Razor.slnx",
// ms-vscode.powershell settings
"powershell.promptToUpdatePowerShell": false,
"powershell.integratedConsole.showOnStartup": false,
Expand Down
3 changes: 2 additions & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Razor documents contain multiple languages:
- Prefer raw string literals over verbatim strings
- Ideally we test the end user scenario, not implementation details
- Consider cross-platform compatibility by testing path handling and case sensitivity where applicable
- For tooling, "Cohosting" is the new architecture we're moving towards, so always create tests in the src\Razor\test\Microsoft.VisualStudioCode.RazorExtension.Test project

### Architecture Considerations

Expand All @@ -57,7 +58,7 @@ Razor documents contain multiple languages:
## Build and Development

### Prerequisites
- .NET 8.0+ SDK (latest version specified in `global.json`)
- .NET 9.0+ SDK (latest version specified in `global.json`)
- Visual Studio 2026 (Windows) or VS Code with C# extension (Windows, macOS or Linux)
- PowerShell (for Windows build scripts)

Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
artifacts/
[Dd]ebug/
[Rr]elease/
x64/
x86/ !eng/common/cross/x86/
[Bb]in/
[Oo]bj/
Expand Down
19 changes: 16 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@
<!-- Embed source files that are not tracked by the source control manager in the PDB. -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>

<!-- Working around https://github.com/dotnet/sdk/issues/24747 -->
<NoWarn>$(NoWarn);NU1505</NoWarn>
<!--
NU1505: Working around https://github.com/dotnet/sdk/issues/24747
NETSDK1233: Working around https://github.com/dotnet/sdk/issues/51678 until we move our Windows CI to VS2026 images.
-->
<NoWarn>$(NoWarn);NU1505;NETSDK1233</NoWarn>

<!-- Working around https://github.com/microsoft/msbuild/pull/4764 -->
<EmbeddedResourceUseDependentUponConvention>false</EmbeddedResourceUseDependentUponConvention>
Expand All @@ -51,10 +54,20 @@

<NetFxVS>net472</NetFxVS>
<NetVS>net8.0</NetVS>
<NetVSCode>net9.0</NetVSCode>
<NetVSCode>net10.0</NetVSCode>
<NetVSAndVSCode>$(NetVS);$(NetVSCode)</NetVSAndVSCode>
</PropertyGroup>

<PropertyGroup Label="VSIX Settings">
<RazorVSSDKTargetPlatformRegRootSuffix>RoslynDev</RazorVSSDKTargetPlatformRegRootSuffix>
<RazorExtensionInstallationRoot>CommonExtensions</RazorExtensionInstallationRoot>
<!-- Base folder for Razor Language Services content inside CommonExtensions -->
<RazorExtensionInstallationFolderBase>Microsoft\RazorLanguageServices</RazorExtensionInstallationFolderBase>
<!-- Sub-folder used by ServiceHub core components -->
<RazorServiceHubCoreSubFolder>ServiceHubCore</RazorServiceHubCoreSubFolder>
<RazorVisualStudioInsertionComponent>Microsoft.VisualStudio.RazorExtension</RazorVisualStudioInsertionComponent>
</PropertyGroup>

<!--
There are effectively three modes that are needed for our source build TFMs and this is where
we calculate them
Expand Down
13 changes: 6 additions & 7 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@
-->
<PropertyGroup>
<_MicrosoftWebToolsPackageVersion>17.11.11-preview-0001</_MicrosoftWebToolsPackageVersion>
<_MicrosoftVisualStudioShellPackagesVersion>18.0.2101-preview.1</_MicrosoftVisualStudioShellPackagesVersion>
<_MicrosoftVisualStudioPackagesVersion>18.0.332-preview</_MicrosoftVisualStudioPackagesVersion>
<_MicrosoftVisualStudioShellPackagesVersion>18.0.2188-preview.1</_MicrosoftVisualStudioShellPackagesVersion>
<_MicrosoftVisualStudioPackagesVersion>18.0.404-preview</_MicrosoftVisualStudioPackagesVersion>
<_VisualStudioLanguageServerProtocolVersion>17.12.1-preview</_VisualStudioLanguageServerProtocolVersion>
<_MicrosoftExtensionsPackageVersion>9.0.0</_MicrosoftExtensionsPackageVersion>
<_BasicReferenceAssembliesVersion>1.7.2</_BasicReferenceAssembliesVersion>
<_BenchmarkDotNetPackageVersion>0.13.5.2136</_BenchmarkDotNetPackageVersion>
<_MicrosoftVisualStudioExtensibilityTestingVersion>0.1.785-beta</_MicrosoftVisualStudioExtensibilityTestingVersion>
<_RoslynDiagnosticAnalyzersPackageVersion>3.11.0-beta1.24508.2</_RoslynDiagnosticAnalyzersPackageVersion>
<_MicrosoftVisualStudioExtensibilityTestingVersion>0.1.800-beta</_MicrosoftVisualStudioExtensibilityTestingVersion>
<_MicrosoftVisualStudioLanguageServicesPackageVersion>$(MicrosoftVisualStudioLanguageServicesPackageVersion)</_MicrosoftVisualStudioLanguageServicesPackageVersion>
<_XunitPackageVersion>2.9.2</_XunitPackageVersion>
<_MicrosoftBuildPackageVersion>17.15.0-preview-25353-11</_MicrosoftBuildPackageVersion>
<_MicrosoftBuildPackageVersion>17.15.0-preview-25357-08</_MicrosoftBuildPackageVersion>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -87,7 +86,7 @@
<PackageVersion Include="Microsoft.VisualStudio.Text.Data" Version="$(_MicrosoftVisualStudioPackagesVersion)" />
<PackageVersion Include="Microsoft.VisualStudio.Text.Implementation" Version="$(_MicrosoftVisualStudioPackagesVersion)" NoWarn="NU1701" />
<PackageVersion Include="Microsoft.VisualStudio.Text.Logic" Version="$(_MicrosoftVisualStudioPackagesVersion)" />
<PackageVersion Include="Microsoft.VisualStudio.Threading" Version="17.15.20-alpha" />
<PackageVersion Include="Microsoft.VisualStudio.Threading" Version="17.15.22-alpha" />
<PackageVersion Include="Microsoft.VisualStudio.Validation" Version="17.8.8" />
<PackageVersion Include="Microsoft.VisualStudio.Web" Version="16.10.0-preview-1-31008-014" />
<PackageVersion Include="Microsoft.WebTools.Languages.Html" Version="$(_MicrosoftWebToolsPackageVersion)" />
Expand All @@ -101,7 +100,7 @@
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="Nerdbank.Streams" Version="2.12.87" />
<PackageVersion Include="NuGet.VisualStudio" Version="17.9.1" />
<PackageVersion Include="Roslyn.Diagnostics.Analyzers" Version="$(_RoslynDiagnosticAnalyzersPackageVersion)" />
<PackageVersion Include="Roslyn.Diagnostics.Analyzers" Version="$(RoslynDiagnosticsAnalyzersPackageVersion)" />
<PackageVersion Include="System.Collections.Immutable" Version="$(SystemCollectionsImmutablePackageVersion)" />
<PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="9.0.0" />
<PackageVersion Include="System.Private.Uri" Version="4.3.2" />
Expand Down
1 change: 1 addition & 0 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
<package pattern="nuget.projectmodel" />
<package pattern="nuget.protocol" />
<package pattern="nuget.versioning" />
<package pattern="roslyn.diagnostics.analyzers" />
</packageSource>
<packageSource key="dotnet6-transport">
<package pattern="microsoft.net.sdk.razor" />
Expand Down
4 changes: 1 addition & 3 deletions Razor.Slim.slnf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"solution": {
"path": "Razor.sln",
"path": "Razor.slnx",
"projects": [
"src\\Analyzers\\Razor.Diagnostics.Analyzers.Test\\Razor.Diagnostics.Analyzers.Test.csproj",
"src\\Analyzers\\Razor.Diagnostics.Analyzers\\Razor.Diagnostics.Analyzers.csproj",
Expand All @@ -20,13 +20,11 @@
"src\\Compiler\\tools\\Microsoft.CodeAnalysis.Razor.Tooling.Internal\\Microsoft.CodeAnalysis.Razor.Tooling.Internal.csproj",
"src\\Razor\\src\\Microsoft.CodeAnalysis.Razor.Workspaces\\Microsoft.CodeAnalysis.Razor.Workspaces.csproj",
"src\\Razor\\src\\Microsoft.CodeAnalysis.Remote.Razor\\Microsoft.CodeAnalysis.Remote.Razor.csproj",
"src\\Razor\\src\\Microsoft.VisualStudio.DevKit.Razor\\Microsoft.VisualStudio.DevKit.Razor.csproj",
"src\\Razor\\src\\Microsoft.VisualStudio.LanguageServer.ContainedLanguage\\Microsoft.VisualStudio.LanguageServer.ContainedLanguage.csproj",
"src\\Razor\\src\\Microsoft.VisualStudio.LanguageServices.Razor\\Microsoft.VisualStudio.LanguageServices.Razor.csproj",
"src\\Razor\\src\\Microsoft.VisualStudio.RazorExtension\\Microsoft.VisualStudio.RazorExtension.csproj",
"src\\Razor\\src\\Microsoft.VisualStudioCode.RazorExtension\\Microsoft.VisualStudioCode.RazorExtension.csproj",
"src\\Razor\\src\\Microsoft.AspNetCore.Razor.LanguageServer\\Microsoft.AspNetCore.Razor.LanguageServer.csproj",
"src\\Razor\\src\\rzls\\rzls.csproj",
"src\\Razor\\test\\Microsoft.AspNetCore.Razor.Test.Common.Tooling\\Microsoft.AspNetCore.Razor.Test.Common.Tooling.csproj",
"src\\Razor\\test\\Microsoft.AspNetCore.Razor.LanguageServer.Test\\Microsoft.AspNetCore.Razor.LanguageServer.Test.csproj",
"src\\Razor\\test\\Microsoft.CodeAnalysis.Razor.Workspaces.Test\\Microsoft.CodeAnalysis.Razor.Workspaces.Test.csproj",
Expand Down
Loading
Loading