Skip to content

Releases: dotnet/vscode-csharp

v2.97.38-prerelease

05 Nov 20:12
66d78cc

Choose a tag to compare

v2.97.38-prerelease Pre-release
Pre-release

2.97.x

  • Add integration test for restore of file-based programs (PR: #8470)
  • Update setting documentation for on auto insert (PR: #8742)
  • Bump xamlTools to fix "Color" auto-completion and code navigation (PR: #8740)
  • Update VM image to macOS-15 in pipeline (PR: #8741)
  • Add instructions for creating private feedback (PR: #8732)
  • Implement tiered versioning scheme for branch snapping workflow (PR: #8728)
  • Bump xamlTools to 18.3.11128.18 (PR: #8669)
  • Update target framework in Razor integration test (PR: #8729)
  • Use global.json with rollforward instead of pipeline versions (PR: #8722)
  • Update RoslynCopilot url to 18.3.72-alpha (PR: #8726)
  • Add group ids to configuration groups (PR: #8720)
  • [WIP] Update job execution order for bump-main-version (PR: #8717)
  • Update CHANGELOG for version 2.97.x (PR: #8716)
  • Bump Roslyn to 5.3.0-2.25553.6 (PR: #8743)
    • Support LSP includeDeclaration field in find all references (PR: #80965)
    • Add support for lineFoldingOnly folding ranges (PR: #80955)
    • Expand #error version output to include compiler assembly path and use full commit SHA everywhere (PR: #80894)
    • Fix culture-sensitive StringBuilder.Append and ToString calls across codebase and add banned symbols (PR: #80800)
    • Add support for autocompleting raw string quotes (PR: #80871)
    • Don't add parenthesis when committing type with accessible nested type using dot (PR: #80846)
    • Completion for #:project paths in file based programs (PR: #80844)
    • Allow semantic tokens in Razor to be better behaved (PR: #80815)
    • When searching for the original file from a PDB, only allow absolute paths (PR: #80804)
  • Bump Razor to 10.0.0-preview.25552.2 (PR: #8734)
    • Add CodeAction to simplify fully-qualified component tags (PR: #12379)
    • Fix component and component attribute rename in cohosting (PR: #12374)
    • Fix formatting of mixed indentation in VS Code (PR: #12418)
    • Allow cohosting quick info to show html tag information even when on a taghelper or component tag. (PR: #12415)
    • Fix(ish) formatting of RenderFragments (C# templates) (PR: #12397)
    • Drop Html edits that would split a C# literal across multiple lines (PR: #12396)
    • Fix completion resolve for provisional completion (PR: #12403)

v2.96.3-prerelease

22 Oct 20:36
c32ee9a

Choose a tag to compare

v2.96.3-prerelease Pre-release
Pre-release

2.96.x

  • Update Debugger to v2.95.0 (PR: #8710)
  • Remove default editor.formatOnType configuration for C# (PR: #8709)
  • Support optional components (PR: #8703)
  • Update RoslynCopilot url to 18.0.904-alpha (PR: #8699)
  • Bump Roslyn to 5.3.0-1.25514.3 (PR: #8700)
    • Ensure LspWorkspaceManager returns solutions without misc document when file moved(PR: #80535)
    • Add limited support for binarylogger to MSBuildWorkspace(PR: #80120)
    • Restore fully qualify for Razor (PR: #80674)
    • Improve diagnostic quality for less accessible base type argument (PR: #80483)
    • Build BuildHost against net8.0 (PR: #80641)
    • Add completion for directives in file based programs (PR: #80410)
  • Bump Razor to 10.0.0-preview.25517.9 (PR: #8706)
    • Provide a way for users to turn on logging for formatting, to help resolve bugs (PR: #12304)
    • Handle diagnostic spans that cover an entire attribute value (PR: #12302)
    • Map component start tags to C#, for better GTD, FAR, Hover, etc. (PR: #12287)
    • Add snippet support for component completion with EditorRequired attributes (PR: #12325)
    • Add Go To Definition support for file paths in string literals (PR: #12323)
    • Add IntelliSense support for Blazor enhanced navigation and form handling data attributes (PR: #12324)
    • Fix component end tags to behave consistently with start tags for Hover, Go To Definition, and Find All References (PR: #12327)
    • Add out-of-scope Blazor Component completions with auto-insert @using statements (PR: #12336)
    • Fix classification for fully qualified components (PR: #12335)

v2.94.41-prerelease

09 Oct 21:55
0f0fcb0

Choose a tag to compare

v2.94.41-prerelease Pre-release
Pre-release

2.94.x

  • Add completion for razor components in settings (PR: #8680)
  • Add copilot instructions (PR: #8676)
  • Fix up changelog (PR: #8677)
  • Bump Razor to 10.0.0-preview.25503.1 (PR: #8679)
    • Ensure RazorVSInternalCompletionParams is used for serialization of completion requests (PR: #12271)
  • Fix update changelog script (PR: #8671)
  • Update RoslynCopilot url to 18.0.797-alpha (PR: #8652)
  • Fix GH action (PR: #8662)
  • Adds a new GH action to update the CHANGELOG (PR: #8658)
  • Do not run legacy Razor tests in CI (PR: #8656)
  • Update third party notices for currently shipped version (PR: #8653)
  • Bump xamlTools to 18.0.11023.10 (PR: #8669)
  • Bump Roslyn to 5.1.0-1.25475.3 (PR: #8665)
    • Fix index out of bounds producing diagnostic in error recovery scenario (PR: #80391)
    • Fix pp directives when converting block bodies to expression bodies (PR: #80401)
    • Fix renaming of type parameters used in object creation expressions (PR: #80403)
    • Add timing data for Proposal Adjuster fixers (PR: #80406)
    • Update ManagedHotReloadLanguageServiceBridge.cs to avoid raising not implement exception when projects is empty (PR: #80408)
  • Install roslyn-tools (PR: #8663)
  • Bump tar-fs from 2.1.3 to 2.1.4 (PR: #8661)
  • Add copilot setup steps (PR: #8655)
  • Update pipeline and packaging excludes (PR: #8654)
  • Add new telemetry fields (PR: #8673)
  • Bump Roslyn to 5.1.0-1.25506.3 (PR: #8673)
    • Improve error recovery when object initializer uses ':' instead of '=' (PR: #80553)
    • Support field keyword in EE. (PR: #80515)
    • Log a debug message for ContentModified exceptions. (PR: #80549)
    • Update proposal adjuster to acquire feature flags from VS (PR: #80541)
    • Add telemetry indicating when file-based programs are used (PR: #80538)
    • Fix thread safety issue in BuildServerConnection.TryCreateServer environment variable handling (PR: #80498)
    • Extensions: refine tracking of used imports (PR: #80485)
    • Disambiguate extension methods in "ambiguous call" error message when they have the same name but are from different assemblies (PR: #80453)
    • Block file-local EmbeddedAttribute definitions. (PR: #80501)
    • Extension block members do not have this parameter (PR: #80457)
    • Handle some scenarios where attributes applied in local functions or lambdas within extension blocks were missing in metadata (PR: #80464)
    • Unset other DOTNET_ROOT env vars when launching apphosts (PR: #80492)
    • Add friendlier error message on an explicit implementation when the return type is wrong (PR: #8037
    • Extensions: add Name property on embedded ExtensionMarkerAttribute (PR: #80456)
    • Avoid implicit null checks while narrowing type for or patterns (PR: #80348)

v2.93.22

10 Oct 17:59
7273f4c

Choose a tag to compare

2.93.x

  • Bump Roslyn to 5.0.0-2.25472.11 (PR: #8646)
    • Fix handling edits in types nested in reloadable types(PR: #80360)
    • Remove CS1998 warning entirely and remove dependent C# code fix providers(PR: #80144)
    • Only restore based on assets file changes if the actual content changed(PR: #80341)
    • Fix issue where build artifacts were added in source tree (PR: #80324)
    • Allow clients to send range ending at the line after the last line in the document(PR: #80310)
    • Don't show Razor diagnostics in Full Solution Analysis(PR: #80296)
    • Log project context in which document was found(PR: #80202)
  • Bump Razor to 10.0.0-preview.25472.6 (PR: #8639)
    • Support view components in Go To Def (PR: #12222)
    • Redirect the older named assembly too (PR: #12239)
    • Restore "Show Html/C#" VS Code commands (PR: #12234)

v2.93.21-prerelease

24 Sep 22:42
2c30c12

Choose a tag to compare

v2.93.21-prerelease Pre-release
Pre-release

2.93.x

  • Bump Roslyn to 5.0.0-2.25472.11 (PR: #8646)
    • Fix handling edits in types nested in reloadable types(PR: #80360)
    • Remove CS1998 warning entirely and remove dependent C# code fix providers(PR: #80144)
    • Only restore based on assets file changes if the actual content changed(PR: #80341)
    • Fix issue where build artifacts were added in source tree (PR: #80324)
    • Allow clients to send range ending at the line after the last line in the document(PR: #80310)
    • Don't show Razor diagnostics in Full Solution Analysis(PR: #80296)
    • Log project context in which document was found(PR: #80202)
  • Bump Razor to 10.0.0-preview.25472.6 (PR: #8639)
    • Support view components in Go To Def (PR: #12222)
    • Redirect the older named assembly too (PR: #12239)
    • Restore "Show Html/C#" VS Code commands (PR: #12234)

v2.92.18-prerelease

17 Sep 19:41
9e462d3

Choose a tag to compare

v2.92.18-prerelease Pre-release
Pre-release

2.92.x

  • Bump Razor to 10.0.0-preview.25464.2 (PR: #8628)
    • Improve go to definition for mvc tag helpers (PR: #12216)
    • Filter CSS024 when caused by C# code in an attribute (PR: #12209)
    • Provide more specific information in cohosting failures (PR: #12193)
    • Fix renaming file (PR: #12196)

v2.91.30-prerelease

12 Sep 00:56
4c1187e

Choose a tag to compare

v2.91.30-prerelease Pre-release
Pre-release

2.91.x

  • Bump Roslyn to 5.0.0-2.25458.10 (PR: #8588)
    • Move brace adjustment on enter to on auto insert in LSP(PR: #80075)
    • Avoid throwing when obsolete overload of GetUpdatesAsync is invoked with empty array(PR: #80161)
    • Bump patch version of MSBuild packages(PR: #80156)
    • Include category in Hot Reload log messages(PR: #80160)
    • Store client's version for open docs (PR: #80064)
    • Pass global properties and the binary log path via RPC to BuildHost (PR: #80094)
    • Don't switch runtime / design time solutions if cohosting is on (PR: #80065)
    • Allow Razor to get task list items for a document (PR: #80102)
    • Update debugger packages, move to PortableInterop IMetadataImport (PR: #80063)
    • Fix issue reporting diagnostic in additional file when diagnostic produced by a source generator (PR: #80071)
    • Always run the razor generator even in balanced mode (PR: #79510)
  • Bump Razor to 10.0.0-preview.25454.5 (PR: #8590)
    • Fix extra character insertion during attribute completion in VS Code (PR: #12177)
    • Remove UseNewRazorFormattingEngine feature flag (PR: #12160)
    • Allow for weird Uris as file paths (PR: #12155)
    • Remove the feature flag for precise semantic tokens (PR: #12149)
  • Do not create a proxy agent if proxy url is empty string. (PR: #8580)
  • Use aka.ms link for ARM32 Linux help page (PR: #8574)
  • Update Debugger to 2.90.0 (PR: #8572)

v2.90.60

12 Sep 00:32
bbd60e6

Choose a tag to compare

2.90.x

  • Register the CSharp context provider with Copilot Chat as well. (PR: #8565)
  • Improve the limited activation experience (PR: #8564)
  • Do not create a proxy agent if proxy url is empty string. (PR: #8564)
  • Bump Roslyn to 5.0.0-2.25428.10 (PR: #8576)
    • Fix issue reporting workspace diagnostics in Razor files (PR: #80071)
    • Cache project analyzers (PR: #80050)
    • Cache diagnostic analyzer computation (PR: #80045)
    • Generate init accessor for required properties inside readonly structs (PR: #80004)
    • Allow Razor cohosting to work with non-Razor SDK projects (PR: #79953)
    • Update 'use expr body' to be a purely syntactic analyzer (PR: #79979)
    • Implement "Simplify property accessor" feature (PR: #79754)
    • Allow Razor to hook up the source generator in misc files (PR: #79891)
  • Bump Razor to 10.0.0-preview.25424.9 (PR: #8559)
    • Allow Razor cohosting to work with non-Razor SDK projects (PR: #12118)
    • Allow the source generator to produce results for miscellaneous files (PR: #12106)
    • Fix range formatting in the presence of K&R braces (PR: #12121)
    • Add codelens endpoints and services for cohosting (PR: #12078)
    • Support Go To Def for Mvc tag helpers in cohosting (PR: #12102)
    • Add missing global:: prefix in a @ref scenario (PR: #12107)

v2.90.51-prerelease

27 Aug 21:29
1ca9614

Choose a tag to compare

v2.90.51-prerelease Pre-release
Pre-release

2.90.x

  • Bump Roslyn to 5.0.0-2.25424.1 (PR: #8559)
    • Generate init accessor for required properties inside readonly structs (PR: #80004)
    • Allow Razor cohosting to work with non-Razor SDK projects (PR: #79953)
    • Update 'use expr body' to be a purely syntactic analyzer (PR: #79979)
    • Implement "Simplify property accessor" feature (PR: #79754)
    • Allow Razor to hook up the source generator in misc files (PR: #79891)
  • Bump Razor to 10.0.0-preview.25424.9 (PR: #8559)
    • Allow Razor cohosting to work with non-Razor SDK projects (PR: #12118)
    • Allow the source generator to produce results for miscellaneous files (PR: #12106)
    • Fix range formatting in the presence of K&R braces (PR: #12121)
    • Add codelens endpoints and services for cohosting (PR: #12078)
    • Support Go To Def for Mvc tag helpers in cohosting (PR: #12102)
    • Add missing global:: prefix in a @ref scenario (PR: #12107)

2.88.42

13 Aug 04:45
47abf88

Choose a tag to compare

2.88.42 Pre-release
Pre-release
  • Enable Razor Cohosting "on" by default (PR: #8469)
  • Bump Roslyn to 5.0.0-2.25405.5 (PR: #8493)
    • Fix file-based programs getting stuck in the host workspace(PR: #79730)
    • Fixed irregular spacing between list items(PR: #79388)
    • Introduce helper to ensure span mapping is consistent everywhere(PR: #79729)
    • Fix formatting in use-auto-prop when attributes are present(PR: #79735)
    • Razor span mapping in LSP for cohosting(PR: #79677)
    • Handle concurrent requests to update workspace contents and workspace SG info.(PR: #79628)
    • Update debugger.contracts to 18.0.0-beta.25379.1(PR: #79661)
    • Fix logging when item counts change in LoadedProject(PR: #79640)
    • File-based program directive diagnostics in editor(PR: #79421)
    • Fixup quick info for suppressed nullable operations.(PR: #79636)
    • Rename Razor source generated documents in all scenarios, and map edits(PR: #79604)
    • Fix formatting of CDATA sections in quick info(PR: #79627)
    • Add diagnostic provider for clients without dynamic registration(PR: #77984)
    • Fix eol handling on the last token in a file when formatting code actions(PR: #79602)
    • Reduce allocations during CommonCompletionItem.Create(PR: #79591)
    • Add metadata documents to the MAS workspace upfront(PR: #78886)
    • Update debugger contracts to 18.0.0-beta.25353.1(PR: #79277)
    • Include comments written above local variables when getting quick info for them.(PR: #79580)
    • Modify LSP folding ranges to account for AutoCollapse(PR: #79551)
    • Have 'use explicit type' add usings as necessary to minimally qualify the type(PR: #79574)
    • Fix issue where we weren't properly adding elastic trivia to newly generated members(PR: #79571)
    • Properly handle optional arguments when converting a local function to a method.(PR: #79531)
    • Fix issue with 'use explicit type' and nullable tuples(PR: #79544)
    • Fix name qualification when moving a using alias outside of a file scoped namespace(PR: #79540)
    • Allow add using to work on Razor generated documents(PR: #79530)
    • Fix 'this' keyword not being recomended where allowed(PR: #79514)
    • Fix 'switch' keyword recomendations after an expression(PR: #79515)
    • Suggest proper 'Async'-suffixed name for Task-returning symbols(PR: #79518)
    • Locate usable MSBuild when launching .NET Core BuildHost (PR: #79494
  • Bump Razor to 10.0.0-preview.25403.1 (PR: #8485)
    • Cache MEF composition in OOP and VS Code (PR: #12041)
    • Make cohost formatting honour C# formatting options (PR: #12042)
    • Correctly set the Html document uri for diagnostics requests (PR: #12061)
  • Fix issue acquiring components when using proxies (PR: #8457)
  • Support activating the extension with limited support in untrusted workspaces (PR: #8435)
  • Report specific c# settings in issue template (PR: #8433)
  • Update OmniSharp to 1.39.14 (PR: #8492)