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

[automated] Merge branch 'prerelease' => 'release' #7760

Merged
merged 143 commits into from
Nov 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
54672f8
Update main version
dibarbet Sep 27, 2024
7cafe93
Merge pull request #7614 from dotnet/merge/update-main-version
dibarbet Sep 27, 2024
6cb3178
Merge pull request #7615 from dotnet/merge/prerelease-to-main
dibarbet Sep 30, 2024
9045e25
Bump roslyn to 8d8276d4dd218568d003465b0cf6c7bebc633097
ryzngard Oct 1, 2024
d1dc92c
Bump razor to cab5217c9fdee5e1973ea04fde6497e4aeacb8e7
ryzngard Oct 1, 2024
e1009fc
Add changelog
ryzngard Oct 1, 2024
700c196
Update CHANGELOG.md
ryzngard Oct 1, 2024
cb86071
Merge pull request #7618 from ryzngard/bump_versions
ryzngard Oct 2, 2024
e961b33
Update changelog based on last roslyn update
dibarbet Oct 2, 2024
caf8515
Add new context object to registerRelatedFilesProvider
genlu Oct 2, 2024
1c17106
Update traits
genlu Oct 3, 2024
7936fa2
Merge pull request #7621 from dibarbet/update_changelog
dibarbet Oct 3, 2024
cfb38c8
Merge pull request #7622 from genlu/AddContext
genlu Oct 3, 2024
b58d85e
Disable all LSP Server toasts (#7624)
ryzngard Oct 3, 2024
115ba07
Add a TextDocumentContentProvider for source-generated files
jasonmalinowski Jun 24, 2023
769273d
rename method
dibarbet Sep 27, 2024
6a17673
Update roslyn version to 4.13.0-1.24503.11
dibarbet Oct 3, 2024
ad3a27a
Bumped xamlTools to 17.12.35403.211
jstedfast Oct 4, 2024
52dfbd4
Merge pull request #7581 from dibarbet/open_source_generated_documents
dibarbet Oct 4, 2024
8678313
Add source generator test file
dibarbet Oct 4, 2024
e5b32c2
Merge branch 'main' into dev/jestedfa/xaml-tools-bump
jstedfast Oct 4, 2024
fa877b4
Add source generator integration test
dibarbet Oct 4, 2024
1424881
Update main version
dibarbet Oct 7, 2024
17c9cbb
Merge pull request #7633 from dotnet/merge/main-to-prerelease
dibarbet Oct 7, 2024
85ab08b
Merge pull request #7634 from dotnet/merge/update-main-version
dibarbet Oct 7, 2024
1697eda
Merge pull request #7632 from dibarbet/sg_tests
dibarbet Oct 7, 2024
7022e9f
Localization result of 1697eda7175394d992fc81f6a52dd304c986f0aa.
dotnet-bot Oct 7, 2024
c3673a4
Merge pull request #7629 from jstedfast/dev/jestedfa/xaml-tools-bump
JoeRobich Oct 8, 2024
081bc73
Merge pull request #7636 from dotnet/merge/prerelease-to-main
JoeRobich Oct 8, 2024
ce7f247
Merge pull request #7639 from dotnet/merge/release-to-main
JoeRobich Oct 8, 2024
ec1d55d
Merge pull request #7637 from dotnet/localization/1697eda7175394d992f…
Cosifne Oct 8, 2024
7b6600a
Make sure named pipe awaits server start (#7645)
ryzngard Oct 9, 2024
c796071
Localization result of 7b6600aecc2e5d2d55e0b245d664a2350d7900dd.
dotnet-bot Oct 9, 2024
c2ec1e4
Update debugger to 2.52.0 (#7648)
gregg-miskelly Oct 9, 2024
8dd4dfc
Merge pull request #7646 from dotnet/localization/7b6600aecc2e5d2d55e…
JoeRobich Oct 9, 2024
b2526a8
Require at least version 8.0.10 of the .net runtime
dibarbet Oct 9, 2024
d31f777
Warn in the statusbar when the active file is not part of the open wo…
JoeRobich Oct 4, 2024
53b5c4d
Switch to using an IsMiscellaneous propert on ProjectContext
JoeRobich Oct 8, 2024
3562921
Update Roslyn to 4.13.0-1.24509.4
JoeRobich Oct 10, 2024
8c32259
Merge pull request #7628 from dotnet/dev/jorobich/warn-misc-files
JoeRobich Oct 10, 2024
84eb99f
Add miscellaneous file open notifications
JoeRobich Oct 10, 2024
52c0fcb
Ensure tests use 8.0.10 runtime
dibarbet Oct 10, 2024
b4591f3
Merge pull request #7651 from dibarbet/require_8_0_10_runtime
dibarbet Oct 10, 2024
890919e
Add setting to suppress notifications.
JoeRobich Oct 10, 2024
321ffe3
Move notified document check
JoeRobich Oct 10, 2024
3fc374c
Merge pull request #7652 from dotnet/dev/jorobich/warn-misc-files
JoeRobich Oct 11, 2024
0cba05a
Localization result of 3fc374cc4d0a97f1a428b056506471aec08e53bf.
dotnet-bot Oct 11, 2024
e740fa9
Update Roslyn
dibarbet Oct 11, 2024
f5d622a
Merge pull request #7655 from dotnet/localization/3fc374cc4d0a97f1a42…
JoeRobich Oct 11, 2024
e31c451
Update main version
JoeRobich Oct 11, 2024
0b41f0d
Merge pull request #7657 from dibarbet/update_roslyn
JoeRobich Oct 11, 2024
a1ee1a7
Merge pull request #7653 from dotnet/merge/release-to-main
JoeRobich Oct 11, 2024
2577bb5
Fix up changelog
JoeRobich Oct 11, 2024
f3cd81c
Update versions in changelog
JoeRobich Oct 11, 2024
af51128
Merge pull request #7658 from dotnet/merge/main-to-prerelease
JoeRobich Oct 12, 2024
151cd9f
Merge pull request #7659 from dotnet/merge/update-main-version
JoeRobich Oct 12, 2024
3a4b66e
Merge pull request #7660 from dotnet/merge/prerelease-to-main
dibarbet Oct 14, 2024
ad9f0c5
Lookup Razor file context using its document uri.
JoeRobich Oct 15, 2024
99fd564
Only show warning toasts for C# files in the misc workspace
JoeRobich Oct 16, 2024
d8c096e
Merge pull request #7663 from dotnet/dev/jorobich/razor-doc-context
JoeRobich Oct 16, 2024
50e91ef
Bump xamltools
drasticactions Oct 16, 2024
cf3844d
Update CHANGELOG
drasticactions Oct 16, 2024
5dcc4c6
Actually, bump to 17.13.35414.86
drasticactions Oct 16, 2024
256c3bb
Escape code block in changelog
dibarbet Oct 16, 2024
e612c07
Merge pull request #7665 from dotnet/dibarbet-patch-1
dibarbet Oct 16, 2024
b6b0dd6
Localization result of e612c07e5da7008e7df46a3d8dcdab28a961f5a9.
dotnet-bot Oct 16, 2024
68bf42f
Merge pull request #7664 from drasticactions/dev/timill/xaml-tools-bump
dibarbet Oct 16, 2024
5b68a05
Merge pull request #7666 from dotnet/localization/e612c07e5da7008e7df…
JoeRobich Oct 17, 2024
311f032
Update razor (#7667)
ryzngard Oct 17, 2024
3cb1418
move change to correct section
dibarbet Oct 17, 2024
69f9dee
fix spacing
dibarbet Oct 17, 2024
d5df573
Merge pull request #7669 from dotnet/dibarbet-patch-1
dibarbet Oct 17, 2024
f262795
Update Roslyn version and changelog
dibarbet Oct 18, 2024
1ec54ec
Merge pull request #7670 from dibarbet/update_roslyn
dibarbet Oct 18, 2024
8bee17a
Update main version
dibarbet Oct 18, 2024
4476cda
Merge pull request #7671 from dotnet/merge/main-to-prerelease
dibarbet Oct 18, 2024
b03fd81
Merge pull request #7672 from dotnet/merge/update-main-version
dibarbet Oct 21, 2024
f8f16c3
Localization result of b03fd815e60e3f0aac50aaa1162859b0de035342.
dotnet-bot Oct 21, 2024
00db788
Merge pull request #7677 from dotnet/localization/b03fd815e60e3f0aac5…
JoeRobich Oct 21, 2024
23155a8
Disable the Razor project context status bar.
JoeRobich Oct 22, 2024
cef8fbf
Merge pull request #7680 from dotnet/dev/jorobich/disable-razor-langu…
JoeRobich Oct 22, 2024
dc660ec
Bump xamlTools to 17.13.35422.31
drasticactions Oct 23, 2024
163ad2a
Bump CHANGELOG
drasticactions Oct 23, 2024
4c00ae6
Bump CHANGELOG with the right PR number too...
drasticactions Oct 23, 2024
713ce9d
Merge pull request #7685 from drasticactions/dev/timill/xaml-bump-231…
dibarbet Oct 23, 2024
7aad579
create new changelog section
dibarbet Oct 23, 2024
e9f1c7f
Merge pull request #7686 from dotnet/dibarbet-patch-1
dibarbet Oct 23, 2024
18fc37b
Create new section in changelog when updating version
dibarbet Oct 23, 2024
6a4e321
Delay the Misc Files warning toast.
JoeRobich Oct 24, 2024
b566469
Update razor package (#7692)
ryzngard Oct 25, 2024
e71dcdc
Update Roslyn to 4.13.0-1.24525.2
dibarbet Oct 25, 2024
665ce64
Merge pull request #7694 from dibarbet/update_roslyn
dibarbet Oct 25, 2024
087aa4a
Merge pull request #7689 from dotnet/dev/jorobich/delay-miscfiles-toast
dibarbet Oct 25, 2024
9e91fa2
Merge branch 'main' into update_changelog_in_snap
dibarbet Oct 25, 2024
a1da7b0
Merge pull request #7687 from dibarbet/update_changelog_in_snap
dibarbet Oct 25, 2024
e57375e
Update debugger packages to v2.54.0 (#7691)
WardenGnaw Oct 25, 2024
4a75f23
Update changelog
dibarbet Oct 25, 2024
61a7d3e
Merge branch 'main' into update_changelog
dibarbet Oct 25, 2024
c894500
Merge pull request #7695 from dibarbet/update_changelog
dibarbet Oct 25, 2024
11799bc
Update main version
dibarbet Oct 25, 2024
de2caae
Merge pull request #7697 from dotnet/merge/main-to-prerelease
dibarbet Oct 25, 2024
40f770c
Merge pull request #7696 from dotnet/merge/update-main-version
dibarbet Oct 26, 2024
f0b9dbf
Use new LogOutputChannel for improved logging experience
dibarbet Oct 1, 2024
05d9416
Update to version of roslyn with dynamic log change
dibarbet Oct 28, 2024
a6e8298
Update tests to account for adjusted command enablement
dibarbet Oct 29, 2024
3abec2c
Merge pull request #7698 from dotnet/merge/prerelease-to-main
dibarbet Oct 29, 2024
f679df2
Move checkDevCert to be Modal
WardenGnaw Oct 29, 2024
a7673be
Bump Razor and Roslyn
davidwengier Oct 30, 2024
1f097be
Update changelog
davidwengier Oct 30, 2024
9bfb753
Bump xamlTools to 17.13.35429.30
drasticactions Oct 30, 2024
b177d6d
Update CHANGELOG.md
drasticactions Oct 30, 2024
c3fe7a4
Merge pull request #7704 from dotnet/dev/waan/fixCheckDevCert
dibarbet Oct 30, 2024
4c4b836
Merge pull request #7706 from drasticactions/dev/timill/xaml-bump-10-30
dibarbet Oct 30, 2024
310e3b7
Temporarily downgrade VSCode version to fix integration tests
dibarbet Oct 30, 2024
a21c1fa
Merge branch 'main' into DualInsertion
dibarbet Oct 30, 2024
df103a9
Merge pull request #7708 from dibarbet/downgrade_vscode
dibarbet Oct 30, 2024
e1e6553
Merge branch 'main' into vscode_output_logging
dibarbet Oct 30, 2024
e426224
Merge pull request #7688 from dibarbet/vscode_output_logging
dibarbet Oct 30, 2024
2e4ebf8
Merge branch 'main' into DualInsertion
dibarbet Oct 30, 2024
23105d1
Merge pull request #7705 from davidwengier/DualInsertion
davidwengier Oct 30, 2024
2f185f7
Localize the 'Select project' string
JoeRobich Nov 1, 2024
1d3c499
Bump xamlTools to 17.13.35431.11
drasticactions Nov 1, 2024
6f167e0
Include CHANGELOG
drasticactions Nov 1, 2024
e90b1e1
Merge pull request #7719 from drasticactions/dev/timill/xaml-bump-11-1
dibarbet Nov 1, 2024
12b1061
Update Roslyn version
dibarbet Nov 1, 2024
af225e2
Update razor (#7723)
ryzngard Nov 1, 2024
41b50a3
Merge branch 'main' into update_roslyn
dibarbet Nov 1, 2024
1a7338e
Merge pull request #7718 from dotnet/dev/jorobich/localize-select-pto…
JoeRobich Nov 1, 2024
9ec2178
Merge pull request #7722 from dibarbet/update_roslyn
dibarbet Nov 1, 2024
1adbb4a
Update changelog before release
dibarbet Nov 1, 2024
dbb87e5
Merge pull request #7726 from dibarbet/update_changelog
dibarbet Nov 1, 2024
b545060
Merge pull request #7729 from dotnet/merge/main-to-prerelease
dibarbet Nov 2, 2024
ae7c81c
Improve activation telemetry to track down when dropoffs occur
dibarbet Nov 6, 2024
2a8aac5
Merge pull request #7739 from dibarbet/activation_telemetry
dibarbet Nov 6, 2024
b51169b
Update Debugger Packages for v2.55.0
WardenGnaw Oct 30, 2024
e5dc21d
Merge pull request #7746 from dotnet/dev/waan/cherryPick2_55_0
dibarbet Nov 8, 2024
ec3f262
Patch prerelease roslyn version
dibarbet Nov 8, 2024
331eadd
Merge pull request #7751 from dibarbet/patch_roslyn
dibarbet Nov 8, 2024
d5befb7
Update razor package
ryzngard Nov 8, 2024
72fd7f9
Update razor package
ryzngard Nov 8, 2024
316e119
Update CHANGELOG
ryzngard Nov 8, 2024
747e0ec
Merge branch 'prerelease' into cp/telemetry_update
ryzngard Nov 8, 2024
a733d12
Merge pull request #7757 from ryzngard/cp/telemetry_update
dibarbet Nov 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/branch-snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Update version.json
run: npx gulp incrementVersionJson
- name: Create version.json update PR
run: npx gulp incrementVersion
- name: Create version update PR
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
12 changes: 9 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"csharp-test-profile",
"${workspaceRoot}/test/lsptoolshost/integrationTests/testAssets/slnWithCsproj/.vscode/slnWithCsproj.code-workspace",
"--extensionDevelopmentPath=${workspaceRoot}",
"--extensionTestsPath=${workspaceRoot}/out/test/lsptoolshost/integrationTests"
"--extensionTestsPath=${workspaceRoot}/out/test/lsptoolshost/integrationTests",
"--log",
"ms-dotnettools.csharp:trace"
],
"env": {
"CODE_EXTENSIONS_PATH": "${workspaceRoot}",
Expand All @@ -49,7 +51,9 @@
"csharp-test-profile",
"${workspaceRoot}/test/lsptoolshost/integrationTests/testAssets/slnWithCsproj/.vscode/devkit_slnWithCsproj.code-workspace",
"--extensionDevelopmentPath=${workspaceRoot}",
"--extensionTestsPath=${workspaceRoot}/out/test/lsptoolshost/integrationTests"
"--extensionTestsPath=${workspaceRoot}/out/test/lsptoolshost/integrationTests",
"--log",
"ms-dotnettools.csharp:trace"
],
"env": {
"CODE_EXTENSIONS_PATH": "${workspaceRoot}",
Expand All @@ -74,7 +78,9 @@
"csharp-test-profile",
"${workspaceRoot}/test/razor/razorIntegrationTests/testAssets/BasicRazorApp2_1/.vscode/lsp_tools_host_BasicRazorApp2_1.code-workspace",
"--extensionDevelopmentPath=${workspaceRoot}",
"--extensionTestsPath=${workspaceRoot}/out/test/razor/razorIntegrationTests"
"--extensionTestsPath=${workspaceRoot}/out/test/razor/razorIntegrationTests",
"--log",
"ms-dotnettools.csharp:trace"
],
"env": {
"CODE_EXTENSIONS_PATH": "${workspaceRoot}",
Expand Down
119 changes: 113 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,124 @@
- Diagnostics related feature requests and improvements [#5951](https://github.com/dotnet/vscode-csharp/issues/5951)
- Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876)

# 2.50.x
# 2.55.x
* Update Razor to 9.0.0-preview.24557.10 (PR: [#7757](https://github.com/dotnet/vscode-csharp/pull/7757))
* Update VSTelemetryAPI version (#11181) (PR: [#11181](https://github.com/dotnet/razor/pull/11181))
* Update Roslyn to 4.13.0-2.24557.6 (PR: [#7751](https://github.com/dotnet/vscode-csharp/pull/7751))
* Fix issue telemetry reporting incorrect property value (PR: [#75817](https://github.com/dotnet/roslyn/pull/75817))
* Update Roslyn to 4.13.0-2.24531.3 (PR: [#7722](https://github.com/dotnet/vscode-csharp/pull/7722))
* Proffer project system query service (PR: [#75682](https://github.com/dotnet/roslyn/pull/75682))
* Ensure discards are initially soft selected in VSCode (PR: [#75655](https://github.com/dotnet/roslyn/pull/75655))
* Reduce allocations in VirtualCharService.CreateVirtualCharSequence (PR: [#75654](https://github.com/dotnet/roslyn/pull/75654))
* Reduce allocations in TextDocumentStates.AddRange (PR: [#75640](https://github.com/dotnet/roslyn/pull/75640))
* Update Razor to 9.0.0-preview.24531.4 (PR: [#7723](https://github.com/dotnet/vscode-csharp/pull/7723))
* Fix aggregate telemetry reliability (PR: [#11134](https://github.com/dotnet/razor/pull/11134))
* [FUSE] Fix OnAutoInsert and override completion and possible others (PR: [#11122](https://github.com/dotnet/razor/pull/11122))
* Update Roslyn to 4.13.0-2.24529.3 (PR: [#7705](https://github.com/dotnet/vscode-csharp/pull/7705))
* Update Razor to 9.0.0-preview.24528.3 (PR: [#7705](https://github.com/dotnet/vscode-csharp/pull/7705))
* Update project configuration from Roslyn info (#11092) (PR: [#11092](https://github.com/dotnet/razor/pull/11092))
* Reduce the amount of telemetry emitted (#11094) (PR: [#11094](https://github.com/dotnet/razor/pull/11094))
* Remove tooling MvcShims (#11088) (PR: [#11088](https://github.com/dotnet/razor/pull/11088))
* Switch to new log output window API and remove `dotnet.server.trace` (PR: [#7688](https://github.com/dotnet/vscode-csharp/pull/7688))
* Update Roslyn to 4.13.0-1.24528.3 (PR: [#7688](https://github.com/dotnet/vscode-csharp/pull/7688))
* Fix crash when 'add await' analyzers binding expressions (PR: [#75644](https://github.com/dotnet/roslyn/pull/75644))
* Shorten names shown in 'pull member up' (PR: [#75643](https://github.com/dotnet/roslyn/pull/75643))
* Fix inaccessible constructors shown in sighelp (PR: [#75642](https://github.com/dotnet/roslyn/pull/75642))
* Allow the client to update the server logging level dynamically (PR: [#75615](https://github.com/dotnet/roslyn/pull/75615))
* Bumped xamlTools to 17.13.35431.11 (PR: [#7719](https://github.com/dotnet/vscode-csharp/pull/7719))
* XAML validation improvements
* Validating properties of Setters, Triggers, Conditions.
* Validating text values like `<Color> Red </Color>`
* Warnings for obsolete values like LayoutOptions.CenterAndExpand
* XAML IntelliseSense completions for ResourceDictionary.Source
* XAML IntelliseSense completions for name properties like Setter.TargetName

# 2.54.x
* Update debugger packages to v2.54.0 (PR: [#7691](https://github.com/dotnet/vscode-csharp/pull/7691))
* Only show misc files warning toast after delay. (PR: [#7689](https://github.com/dotnet/vscode-csharp/pull/7689))
* Update Roslyn to 4.13.0-1.24525.2 (PR: [#7694](https://github.com/dotnet/vscode-csharp/pull/7694))
* Fix error message spelling (PR: [#75601](https://github.com/dotnet/roslyn/pull/75601))
* Improve diagnostic performance by re-using results if diagnostic data is the same (PR: [#75587](https://github.com/dotnet/roslyn/pull/75587))
* Improve performance in checksum computation (PR: [#75479](https://github.com/dotnet/roslyn/pull/75479))
* Bumped xamlTools to 17.13.35422.31 (PR: [#7685](https://github.com/dotnet/vscode-csharp/pull/7685))
* Update Razor to 9.0.0-preview.24524.4 (PR: [#7692](https://github.com/dotnet/vscode-csharp/pull/7692))
* Roslyn Tokenizer (#11086) (PR: [#11086](https://github.com/dotnet/razor/pull/11086))
* **Experimental feature**
* Add flush method and make it implementation detail on how that happens (#11087) (PR: [#11087](https://github.com/dotnet/razor/pull/11087))
* Do not extract component into code block (#11069) (PR: [#11069](https://github.com/dotnet/razor/pull/11069))
* **New code action to handle extracting razor code into a new razor component**
* Handle EditorRequired *Changed/*Expression parameters (#11043) (PR: [#11043](https://github.com/dotnet/razor/pull/11043))
* Avoid ambiguous `object` reference in generic component recovery (#11053) (PR: [#11053](https://github.com/dotnet/razor/pull/11053))
* Move culture info check (#11057) (PR: [#11057](https://github.com/dotnet/razor/pull/11057))
* Report a better error for void components (#11041) (PR: [#11041](https://github.com/dotnet/razor/pull/11041))
* Ensure model directives are mapped at runtime (#11007) (PR: [#11007](https://github.com/dotnet/razor/pull/11007))
* Including @using for Out-of-Scope Razor Component References (#10651) (PR: [#10651](https://github.com/dotnet/razor/pull/10651))
* Make checkDevCert a modal dialogue (PR: [#7704](https://github.com/dotnet/vscode-csharp/pull/7704))

# 2.53.x
* Update Roslyn to 4.13.0-1.24518.1 (PR: [#7670](https://github.com/dotnet/vscode-csharp/pull/7670))
* Fix issue where server sometimes crashed when saving new C# file for the first time (PR: [#75509](https://github.com/dotnet/roslyn/pull/75509))
* Report LSP loading telemetry (PR: [#75402](https://github.com/dotnet/roslyn/pull/75402))
* Bumped xamlTools to 17.13.35414.86 (PR: [#7664](https://github.com/dotnet/vscode-csharp/pull/7664))
* Escape code block in changelog (PR: [#7665](https://github.com/dotnet/vscode-csharp/pull/7665))
* Lookup Razor file context using its document uri. (PR: [#7663](https://github.com/dotnet/vscode-csharp/pull/7663))
* Update razor to 9.0.0-preview.24516.1 (PR: [#7667](https://github.com/dotnet/vscode-csharp/pull/7667))
* Add CLaSP Request Tracking (PR: [#11015](https://github.com/dotnet/razor/pull/11015))
* Fix potentially ambiguous System.Object in _Imports.razor (PR: [#10999](https://github.com/dotnet/razor/pull/10999))
* Fix nullability to match specification (PR: [#11003](https://github.com/dotnet/razor/pull/11003))
* Recognize `_Imports.razor` in the source generator (PR: [#10992](https://github.com/dotnet/razor/pull/10992))
* Fix @inherits mapping for fuse (PR: [#10985](https://github.com/dotnet/razor/pull/10985))
* Fix project publish (or: Various project system fixes) (PR: [#10983](https://github.com/dotnet/razor/pull/10983))
* Emit and map empty csharp tokens (PR: [#10969](https://github.com/dotnet/razor/pull/10969))
* Fix Generate Event Handler code action (PR: [#10967](https://github.com/dotnet/razor/pull/10967))
* Add IProjectSnapshot.ContainsDocument to test document paths cheaply (PR: [#10975](https://github.com/dotnet/razor/pull/10975))
* Refresh diagnostics on project changes (PR: [#10964](https://github.com/dotnet/razor/pull/10964))
* Don't throw if we get an old/bad Inlay Hint request (PR: [#10968](https://github.com/dotnet/razor/pull/10968))
* Fix on type formatting (PR: [#10949](https://github.com/dotnet/razor/pull/10949))

# 2.52.x
* Add miscellaneous file open notifications (PR: [#7652](https://github.com/dotnet/vscode-csharp/pull/7652))
* Require at least version 8.0.10 of the .net runtime (PR: [#7651](https://github.com/dotnet/vscode-csharp/pull/7651))
* Warn when the active file is not part of the open workspace (PR: [#7628](https://github.com/dotnet/vscode-csharp/pull/7628))
* Update debugger to 2.52.0 (PR: [#7648](https://github.com/dotnet/vscode-csharp/pull/7648))
* Ensure Razor is initialized when project loaded outside of the workspace (PR: [#7645](https://github.com/dotnet/vscode-csharp/pull/7645))
* Update Roslyn to 4.13.0-1.24511.1 (PR: [#7628](https://github.com/dotnet/vscode-csharp/pull/7628))
* Add a WorkspaceKind property to ProjectContext. (PR: [#75384](https://github.com/dotnet/roslyn/pull/75384))
* Convert more lambda rude edits to runtime rude edits (PR: [#75285](https://github.com/dotnet/roslyn/pull/75285))
* Bumped xamlTools to 17.12.35403.211 (PR: [#7629](https://github.com/dotnet/vscode-csharp/pull/7629))

# 2.51.17
* Update Roslyn to 4.13.0-1.24503.11 (PR: [#7618](https://github.com/dotnet/vscode-csharp/pull/7618))
* LSP hover responses escape backticks within inline code (PR: [#75364](https://github.com/dotnet/roslyn/pull/75364))
* Localize build host message output (PR: [#74910](https://github.com/dotnet/roslyn/pull/74910))
* Log and report NFW when we fail to apply project system update (PR: [#75362](https://github.com/dotnet/roslyn/pull/75362))
* Reduce allocations and UI thread CPU costs in WithDoNotCreateCreationPolicy (PR: [#75358](https://github.com/dotnet/roslyn/pull/75358))
* Enable support for an LSP client to open source generated files (PR: [#75180](https://github.com/dotnet/roslyn/pull/75180))
* Improve error reporting when reading bad metadata during EnC (PR: [#75304](https://github.com/dotnet/roslyn/pull/75304))
* Suppress recoverable errors from razor LSP (PR: [#7624](https://github.com/dotnet/vscode-csharp/pull/7624))
* NOTE: this can be re-enabled by setting `razor.languageServer.suppressLspErrorToasts = false`
* Update Roslyn to 4.13.0-1.24501.3 (PR: [#7618](https://github.com/dotnet/vscode-csharp/pull/7618))
* Fix issue loading analyzers when using EnforceCodeStyleInBuild (PR: [#75250](https://github.com/dotnet/roslyn/pull/75250))
* Update Razor to 9.0.0-preview.24480.1 (PR: [#7618](https://github.com/dotnet/vscode-csharp/pull/7618))
* Fuse fix usings (PR: [#10925](https://github.com/dotnet/razor/pull/10925))
* Fuse incorrect page directives (PR: [#10907](https://github.com/dotnet/razor/pull/10907))
* Calculate SuppressAddComponentParameter in tooling (PR: [#10763](https://github.com/dotnet/razor/pull/10763))
* Fix some `AssumeNotNull` assumptions (PR: [#10901](https://github.com/dotnet/razor/pull/10901))
* Fixing HTML attribute commit (PR: [#10897](https://github.com/dotnet/razor/pull/10897))
* Fix `FormattingContext` disposal (PR: [#10887](https://github.com/dotnet/razor/pull/10887))
* Fix #10891 - Formatting does not respect indentation within Razor comment blocks (PR: [#10893](https://github.com/dotnet/razor/pull/10893))

# 2.50.25
* Update Roslyn to 4.13.0-1.24477.2 (PR: [#<>](https://github.com/dotnet/vscode-csharp/pull/<>))
* Use MSBuild globs to determine which file changes are relevant (PR: [#75139](https://github.com/dotnet/roslyn/pull/75139))
* Allow <code> in DocComments to render as a block in Hover response (PR: [#75215](https://github.com/dotnet/roslyn/pull/75215))
* Allow `<code>` in DocComments to render as a block in Hover response (PR: [#75215](https://github.com/dotnet/roslyn/pull/75215))
* Ignore irrelevant exceptions when reporting LSP server NFW (PR: [#75150](https://github.com/dotnet/roslyn/pull/75150))
* Bumped xamltools to 17.12.35326.17 (PR: [#7610](https://github.com/dotnet/vscode-csharp/pull/7610))
* Do not remove documents if they are not files (PR: [#7607](https://github.com/dotnet/vscode-csharp/pull/7607))
* Support copilot registerRelatedFilesProvider API (PR: [#7605](https://github.com/dotnet/vscode-csharp/pull/7605))
* Update Debugger packages to v2.50.0 (PR: [#7597](https://github.com/dotnet/vscode-csharp/pull/7597))

# 2.49.x
# 2.49.25
* Update Razor to 9.0.0-preview.24467.1
* Fix LF line-ending auto format bug (PR: [#10802](https://github.com/dotnet/razor/pull/10802))
* Bumped xamltools to 17.12.35319.159 (PR: [#7583](https://github.com/dotnet/vscode-csharp/pull/7583))
Expand All @@ -24,7 +131,7 @@
* Do not attempt to report EnC diagnostics for non-host workspaces (PR: [#75138](https://github.com/dotnet/roslyn/pull/75138))
* Allow Razor to get diagnostics for cohosting (PR: [#75102](https://github.com/dotnet/roslyn/pull/75102))
Í
# 2.48.x
# 2.48.31
* Add signing support to VSIX (PR: [#7490](https://github.com/dotnet/vscode-csharp/pull/7490))
* Update Debugger to v2.47.0 (PR: [#7547](https://github.com/dotnet/vscode-csharp/pull/7547))
* Adds in support for .NET 9 Break for Async User-Unhandled
Expand All @@ -41,14 +148,14 @@
* Bump xamltools to 17.12.35311.18 (PR: [#7549](https://github.com/dotnet/vscode-csharp/pull/7549))
* XAML color swatches

# 2.47.x
# 2.47.21
* Update Roslyn to 4.12.0-3.24456.2 (PR: [#7525](https://github.com/dotnet/vscode-csharp/pull/7525))
* Avoid BuildHost crash in Mono due to missing types (PR: [#74994](https://github.com/dotnet/roslyn/pull/74994))
* Turn off word suggestions in XAML completions (PR: [#7516](https://github.com/dotnet/vscode-csharp/pull/7516))
* Bump xamltools to 17.12.35305.252 (PR: [#7521](https://github.com/dotnet/vscode-csharp/pull/7521))
* XAML editor enabled various lightbulbs related to x:DataType, BindingContext and Bindings.

# 2.46.x
# 2.46.32
* Update Roslyn to 4.12.0-3.24430.2 (PR: [#7496](https://github.com/dotnet/vscode-csharp/pull/7496))
* Bump Razor to 9.0.0-preview.24427.2 (PR: [#7471](https://github.com/dotnet/vscode-csharp/pull/7471))
* Suppress unique ids (#10791) (PR: [#10791](https://github.com/dotnet/razor/pull/10791))
Expand Down
24 changes: 17 additions & 7 deletions SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,25 @@ We highly recommend using the C# extension's built-in command, `CSharp: Report a

The template has a section to include the `C#` output window logs. These logs are not automatically included as they may contain personal information (such as full file paths and project names), but they are key to resolving problems.

1. First, set `dotnet.server.trace` to `Trace` in VSCode settings
![settings window showing trace option](./docs/trace_logs.png)
2. Reload the window via the `Developer: Reload Window` (`workbench.action.reloadWindow`) command
1. Find the `C#` output window (`View` -> `Output`) and set the log level to `Trace`
![c# output window showing trace option](./docs/csharp_trace.png)
2. Reproduce the issue
3. In the `C#` output window, select all (e.g. `cntrl+a`) and copy paste into the issue template under the 'C# Log' section. If you need to redact file paths and other information, please do so at this time.
4. Once the logs are collected, reset the window log level to `Info`

If the issue only reproduces on extension startup, you can set `Trace` as the default (see screenshot above), reload the window, and trace logs will be captured on startup.

##### C# LSP Trace Logs
Sometimes we need to know exactly what requests were sent to the Roslyn language server. To capture these logs:

1. Set the log level to `Trace` for the `C#` output window as described above.
2. Find the `C# LSP Trace Logs` output window
3. Reproduce the issue
4. Open the output window via `View` -> `Output` and change to the `C#` output window.
5. Select all (e.g. cntrl+a) and copy paste into the issue template under the 'C# Log' section. If you need to redact file paths and other information, please do so at this time.
6. Once the logs are collected, reset `dotnet.server.trace` back to `Information`
4. Copy the contents of the `C# LSP Trace Logs` output window.

Oftentimes the C# logs are enough, but sometimes when dealing with LSP server issues, the LSP trace logs are required. These can be found by following the same steps as above, but using the `C# LSP Trace Logs` output window instead.
##### Other ways to set the log level
1. When launching VSCode from the CLI, pass the `--log ms-dotnettools.csharp:trace` parameter.
2. Invoke the `Developer: Set Log Level` command from the VSCode command palette, find the `C#` entry and set the level.

#### Project loading problems

Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines/prereqs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ steps:
# So we avoid installing .NET in those cases.
- ${{ if eq(parameters.installDotNet, true) }}:
- task: UseDotNet@2
displayName: 'Install .NET Core SDKs'
displayName: 'Install .NET SDK'
inputs:
version: '8.x'
version: '8.0.403'

- script: dotnet --info
displayName: Display dotnet info
Expand Down
3 changes: 1 addition & 2 deletions azure-pipelines/test-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
steps:
- template: /azure-pipelines/test.yml@self
parameters:
# Prefer the dotnet from the container.
installDotNet: false
installDotNet: true
installAdditionalLinuxDependencies: true
npmCommand: $(npmCommand)
Binary file added docs/csharp_trace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/trace_logs.png
Binary file not shown.
Loading
Loading