Releases: dotnet/vscode-csharp
Releases · dotnet/vscode-csharp
v1.13.0-beta4
Cake
- Added support for *.cake files! (PRs: #1681, omnisharp-roslyn#932) (Contributed by @mholo65)
Editor
- Improved completion list behavior when matching substrings. (PRs: #1813, omnisharp-roslyn#990) (Contributed by @filipw)
- Completion list now triggers on SPACE after
new. (#146, PR: #1776, omnisharp-roslyn#975)
Navigation
- Fixed issue with Go to Definition where it was not possible to navigate to a definition within the same file if the file was generated from metadata. (PR: #1772) (Contributed by @filipw)
- Improved symbol search behavior when matching substrings. (PR: omnisharp-roslyn#990) (Contributed by @filipw)
Project System
- Significantly changed how MSBuild is located by OmniSharp, resulting in more project types loading properly. (PR: omnisharp-roslyn#988)
- Fixed long-standing problem with renaming files. (#785, #1792, PR: #1805)
Other Updates and Fixes
- If Mono 5.2.0 or greater is installed, OmniSharp will be launched on that rather than the local Mono runtime that it carries with it. This allows, more Mono and Xamarin projects to load properly and improves OmniSharp performance (since it can run on Mono AOT'd binaries). (#1779, PR: #1789)
- Support added for launching OmniSharp on folders and solutions across multi-root workspaces. (#1762, PR: #1806)
- Added
csharp.referencesCodeLens.enabledandcsharp.testsCodeLens.enabledoptions to allow disabling/enabling for the 'references' and 'run/debug test' code lenses independently. (#1570, #1807, PRs: #1781, #1809)
v1.13.0-beta3
Project System
- Fixed bug where
LangVersionproperty was not read correctly from project file, blocking C# 7.1 development. (omnisharp-roslyn#961, PR: omnisharp-roslyn#962]) (Contributed by @filipw) - Fixed issue where signing key was not read correctly from project file, which can result in InternalsVisibleTo not being handled properly. (PR: omnisharp-roslyn#964)
Testing
1.13.0-beta2
Testing
- Properly fix error that occurs when running or debugging tests with latest xUnit 2.3.0 builds. (#1733, omnisharp-rolsyn#944, PR: omnisharp-roslyn#945, #1749)
v1.13.0-beta1
Debugger
- Improved logic for resolving breakpoints in local functions and lambdas (#1678)
Testing
- Fix error that occurs when running or debugging tests with latest xUnit 2.3.0 builds. (#1733, omnisharp-rolsyn#944, PR: omnisharp-roslyn#945)
- Pass
--no-restorewhen invokingdotnet buildto ensure that implicit restore does not run, making the build and the test run a bit faster. (omnisharp-roslyn##942, PR: omnisharp-roslyn#945)
v1.12.1
v1.12.0
What's New in 1.12
Debugger
- Update debugger to run itself on .NET Core 2.0-preview2 (target app can still use .NET Core 1.x). This allows the debugger to run on more Linux distributions, and it allows there to be a single debugger package for all supported Linux distributions.
- Fix issue where the call stack may be empty when stepping quickly (#1575)
- Improvements to the information displayed in the editor peak window when stopping on an exception that has inner exceptions (#1007)
- Fix expression evaluation when stopping at an exception in .NET Core 2.0 (#1593)
- Improve error behavior when
"program"in launch.json is set to a path that doesn't exist (#1634) - Enable stepping by statement (instead of by line) (#1476)
Editor
- Go to Definition now works from "metadata as source" files (#771, PR: #1620) (Contributed by @filipw)
- Selection-based code fixes and refactorings (such as "Extract Method") will no longer be offerred unless there is actually a selection in the editor. (#1605, PR: #1606)
Project System
- Mono targets and tasks are now better located when Mono is installed. This enables support for many Mono-based projects types, such as Xamarin.iOS, Xamarin.Android, MonoGame, etc. (#1597, #1624, #1396 omnisharp-roslyn#892, PR: omnisharp-roslyn#923)
- Use new solution parer to be more resilient against invalid solution files. (1580, 1645, PRs: omnisharp-roslyn#897 and omnisharp-roslyn#918)
- The MSBuild project system now calls the "Compile" target rather than the "ResolveReferences" target when processing MSBuild files. This has the effect of ensuring that other targets have the opportunity to run (such as targets that generate files) while still not building any output binaries. (#1531)
- Binding redirects added for MSBuild assemblies, fixing issues with MSBuild tasks built with different versions of MSBuild. (omnisharp-roslyn#903)
- The OmniSharp server has updated to the latest MSBuild. (omnisharp-roslyn#904, PR: omnisharp-roslyn#907)
Scripting
- Support added for referencing NuGet packages in C# scripts. (PR: omnisharp-roslyn#813) (Contributed by @seesharper)
- System.dll is now added correctly for C# scripts targeting .NET Framework. (omnisharp-vscode#1581, PR: #898) (Contributed by @filipw)
Other Updates and Fixes
- Switched to a new CDN for the extension's dependencies which should deliver an improved download experience (#1542)
- Automatically activate the extension when opening workspaces that contain any .csproj, .sln, or .csx files (#1375, #1150, PR: #1592))
- Added nag message when project.json projects are opened by OmniSharp, to serve as a reminder to migrate projects from project.json to .csproj. (PR: #1657)
- Added
typeproperty tocsharp.unitTestDebuggingOptionsto allow debugging tests with 'clr' debugger (Windows only). (#1586, PR: #1663) - The
[csharp]configuration section is now checked for formatting options. (#1574) (Contributed by @filipw) - All project systems (project.json, MSBuild, CSX Scripting) now support an "Enabled" property that can be configured in omnisharp.json. (PR: omnisharp-roslyn#902) (Contributed by @filipw)
- The OmniSharp server has been updated to Roslyn 2.3.0, which adds support for C# 7.1 (PRs: omnisharp-roslyn#900, omnisharp-roslyn#901, omnisharp-roslyn#930 and omnisharp-roslyn#931)
v1.12.0-beta5
Project System
- Fixed several regressions due to the work to better locate Mono targets and tasks. (#1676, omnisharp-roslyn#936, PR: omnisharp-roslyn#937)
Other Updates and Fixes
- The OmniSharp server has been updated to Roslyn 2.3.0, which adds support for C# 7.1 (PRs: omnisharp-roslyn#900, omnisharp-roslyn#901, omnisharp-roslyn#930, omnisharp-roslyn#931 and omnisharp-roslyn#935)
v1.12.0-beta4
Project System
- Mono targets and tasks are now located properly when Mono is installed. This enables support for many Mono-based projects types, such as Xamarin.iOS, Xamarin.Android, MonoGame, etc. (#1597, #1624, #1396 omnisharp-roslyn#892, PR: omnisharp-roslyn#923)
Other Updates and Fixes
- Added nag message when project.json projects are opened by OmniSharp, to serve as a reminder to migrate projects from project.json to .csproj. (PR: #1657)
- Added
typeproperty tocsharp.unitTestDebuggingOptionsto allow debugging tests with 'clr' debugger (Windows only). (#1586, PR: #1663) - The
[csharp]configuration section is now checked for formatting options. (#1574) (Contributed by @filipw)
v1.12.0-beta3
Debugger
- Improvements to the information displayed in the editor peak window when stopping on an exception that has inner exceptions (#1007)
- Fix expression evaluation when stopping at an exception in .NET Core 2.0 (#1593)
- Improve error behavior when
"program"in launch.json is set to a path that doesn't exist (#1634) - Enable stepping by statement (instead of by line) (#1476)
Other updates
- Switched to a new CDN for the extension's dependencies which should deliver an improved download experience (#1542)
v1.12.0-beta2
Editor
- Go to Definition now works from "metadata as source" files (#771, PR: #1620) (Contributed by @filipw)
- Selection-based code fixes and refactorings (such as "Extract Method") will no longer be offerred unless there is actually a selection in the editor. (#1605, PR: #1606)
Project System
- Use MSBuild solution parsing API, which is the official parser for handling weird solution file cases. (1580, PR: omnisharp-roslyn#897)
- The MSBuild project system now calls the "Compile" target rather than the "ResolveReferences" target when processing MSBuild files. This has the effect of ensuring that other targets have the opportunity to run (such as targets that generate files) while still not building any output binaries. (#1531)
- Binding redirects added for MSBuild assemblies, fixing issues with MSBuild tasks built with different versions of MSBuild. (omnisharp-roslyn#903)
- The OmniSharp serverhas updated to the latest MSBuild. (omnisharp-roslyn#904, PR: omnisharp-roslyn#907)
Scripting
- Support added for referencing NuGet packages in C# scripts. (PR: omnisharp-roslyn#813) (Contributed by @seesharper)
- System.dll is now added correctly for C# scripts targeting .NET Framework. (omnisharp-vscode#1581, PR: #898) (Contributed by @filipw)
Other Updates and Fixes
- All project systems (project.json, MSBuild, CSX Scripting) now support an "Enabled" property that can be configured in omnisharp.json. (PR: omnisharp-roslyn#902) (Contributed by @filipw)
- The OmniSharp server has been updated to Roslyn 2.3.0-beta2, which adds support for C# 7.1 (PRs: omnisharp-roslyn#900 and omnisharp-roslyn#901)