Skip to content

Commit 7c7dcdd

Browse files
Merge pull request #1695 from OmniSharp/master
Merge master into release
2 parents b6e6c86 + 2adadbd commit 7c7dcdd

34 files changed

+851
-1318
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
bin
22
node_modules
33
out
4+
.omnisharp/
45
.omnisharp-*/
56
.debugger
67
.vscode-test

CHANGELOG.md

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,46 @@
1-
## Known Issues in 1.11.0
1+
## Known Issues in 1.12.0
22

3-
* When opening a .csproj-based .NET Core project in VS Code, the C# extension will not activate until a C# file is opened in the editor. ([#1150](https://github.com/OmniSharp/omnisharp-vscode/issues/1150))
43
* There currently is no completion support for package references in csproj files. ([#1156](https://github.com/OmniSharp/omnisharp-vscode/issues/1156))
54

5+
## 1.12.0 _(Not Yet Released)_
6+
7+
#### Debugger
8+
9+
* 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.
10+
* Fix issue where the call stack may be empty when stepping quickly ([#1575](https://github.com/OmniSharp/omnisharp-vscode/issues/1575))
11+
* Improvements to the information displayed in the editor peak window when stopping on an exception that has inner exceptions ([#1007](https://github.com/OmniSharp/omnisharp-vscode/issues/1007))
12+
* Fix expression evaluation when stopping at an exception in .NET Core 2.0 ([#1593](https://github.com/OmniSharp/omnisharp-vscode/issues/1593))
13+
* Improve error behavior when `"program"` in launch.json is set to a path that doesn't exist ([#1634](https://github.com/OmniSharp/omnisharp-vscode/issues/1634))
14+
* Enable stepping by statement (instead of by line) ([#1476](https://github.com/OmniSharp/omnisharp-vscode/issues/1476))
15+
16+
#### Editor
17+
18+
* Go to Definition now works from "metadata as source" files ([#771](https://github.com/OmniSharp/omnisharp-vscode/issues/771), PR: [#1620](https://github.com/OmniSharp/omnisharp-vscode/pull/1620)) _(Contributed by [@filipw](https://github.com/filipw))_
19+
* 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](https://github.com/OmniSharp/omnisharp-vscode/issues/1605), PR: [#1606](https://github.com/OmniSharp/omnisharp-vscode/pull/1606))
20+
21+
#### Project System
22+
23+
* 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](https://github.com/OmniSharp/omnisharp-vscode/issues/1597), [#1624](https://github.com/OmniSharp/omnisharp-vscode/issues/1624), [#1396](https://github.com/OmniSharp/omnisharp-vscode/issues/1396) [omnisharp-roslyn#892](https://github.com/OmniSharp/omnisharp-roslyn/issues/892), PR: [omnisharp-roslyn#923](https://github.com/OmniSharp/omnisharp-roslyn/pull/923))
24+
* Use new solution parer to be more resilient against invalid solution files. ([1580](https://github.com/OmniSharp/omnisharp-vscode/issues/1580), [1645](https://github.com/OmniSharp/omnisharp-vscode/issues/1645), PRs: [omnisharp-roslyn#897](https://github.com/OmniSharp/omnisharp-roslyn/pull/897) and [omnisharp-roslyn#918](https://github.com/OmniSharp/omnisharp-roslyn/pull/918))
25+
* 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](https://github.com/OmniSharp/omnisharp-vscode/issues/1531))
26+
* Binding redirects added for MSBuild assemblies, fixing issues with MSBuild tasks built with different versions of MSBuild. ([omnisharp-roslyn#903](https://github.com/OmniSharp/omnisharp-roslyn/issues/903))
27+
* The OmniSharp server has updated to the latest MSBuild. ([omnisharp-roslyn#904](https://github.com/OmniSharp/omnisharp-roslyn/pull/904), PR: [omnisharp-roslyn#907](https://github.com/OmniSharp/omnisharp-roslyn/pull/907))
28+
29+
#### Scripting
30+
31+
* Support added for referencing NuGet packages in C# scripts. (PR: [omnisharp-roslyn#813](https://github.com/OmniSharp/omnisharp-roslyn/pull/813)) _(Contributed by [@seesharper](https://github.com/seesharper))_
32+
* System.dll is now added correctly for C# scripts targeting .NET Framework. ([omnisharp-vscode#1581](https://github.com/OmniSharp/omnisharp-vscode/issues/1581), PR: [#898](https://github.com/OmniSharp/omnisharp-roslyn/pull/898)) _(Contributed by [@filipw](https://github.com/filipw))_
33+
34+
#### Other Updates and Fixes
35+
36+
* Switched to a new CDN for the extension's dependencies which should deliver an improved download experience ([#1542](https://github.com/OmniSharp/omnisharp-vscode/issues/1542))
37+
* Automatically activate the extension when opening workspaces that contain any .csproj, .sln, or .csx files ([#1375](https://github.com/OmniSharp/omnisharp-vscode/issues/1375), [#1150](https://github.com/OmniSharp/omnisharp-vscode/issues/1150), PR: [#1592](https://github.com/OmniSharp/omnisharp-vscode/pull/1592)))
38+
* 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](https://github.com/OmniSharp/omnisharp-vscode/pull/1657))
39+
* Added `type` property to `csharp.unitTestDebuggingOptions` to allow debugging tests with 'clr' debugger (Windows only). ([#1586](https://github.com/OmniSharp/omnisharp-vscode/issues/1586), PR: [#1663](https://github.com/OmniSharp/omnisharp-vscode/pull/1663))
40+
* The `[csharp]` configuration section is now checked for formatting options. ([#1574](https://github.com/OmniSharp/omnisharp-vscode/issues/1574)) _(Contributed by [@filipw](https://github.com/filipw))_
41+
* All project systems (project.json, MSBuild, CSX Scripting) now support an "Enabled" property that can be configured in omnisharp.json. (PR: [omnisharp-roslyn#902](https://github.com/OmniSharp/omnisharp-roslyn/pull/902)) _(Contributed by [@filipw](https://github.com/filipw))_
42+
* The OmniSharp server has been updated to Roslyn 2.3.0, which adds support for C# 7.1 (PRs: [omnisharp-roslyn#900](https://github.com/OmniSharp/omnisharp-roslyn/pull/900), [omnisharp-roslyn#901](https://github.com/OmniSharp/omnisharp-roslyn/pull/901), [omnisharp-roslyn#930](https://github.com/OmniSharp/omnisharp-roslyn/pull/930) and [omnisharp-roslyn#931](https://github.com/OmniSharp/omnisharp-roslyn/pull/931))
43+
644
## 1.11.0 (June 27, 2017)
745

846
#### Completion List

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,17 @@ See our [change log](https://github.com/OmniSharp/omnisharp-vscode/blob/v1.10.0/
2828

2929
### Supported Operating Systems for Debugging
3030

31-
* Currently, the C# debugger supports the following operating systems:
31+
* Currently, the C# debugger officially supports the following operating systems:
3232

3333
* Windows (64-bit only)
34-
* macOS
35-
* Ubuntu 14.04 / Linux Mint 17 / Linux Mint 18 / Elementary OS 0.3
36-
* Ubuntu 16.04 / Elementary OS 0.4 / Arch / Zorin OS 12
37-
* Ubuntu 16.10
38-
* Debian 8.2
39-
* CentOS 7.1 / Oracle Linux 7
40-
* Red Hat Enterprise Linux (RHEL)
41-
* Fedora 23 / 24
42-
* OpenSUSE 13 / 42
34+
* macOS 10.12 (Sierra) and newer
35+
* Ubuntu 14.04+ (and distros based on it)
36+
* Debian 8.7+
37+
* Red Hat Enterprise Linux (RHEL) / CentOS / Oracle Linux 7.3+
38+
* Fedora 23 / 24 / 25
39+
* OpenSUSE 42.2+
40+
41+
This list is currently the same as the x64 .NET Core 2.0 operating systems (see [.NET Core list](https://github.com/dotnet/core/blob/master/roadmap.md#net-core-20---supported-os-versions)). Note that other Linux distributions will likely work as well as long as they include glibc, OpenSSL 1.0, and libunwind.
4342

4443
### Found a Bug?
4544
Please file any issues at https://github.com/OmniSharp/omnisharp-vscode/issues.

debugger-launchjson.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,16 @@ The `preLaunchTask` field runs the associated taskName in tasks.json before debu
1818
This will create a task that runs `dotnet build`. You can read more about tasks at [https://code.visualstudio.com/docs/editor/tasks](https://code.visualstudio.com/docs/editor/tasks).
1919

2020
## Program
21-
The program field is set to the path to the application dll or .NET Core host executable to launch.
21+
The program field is set to the path of the application dll or .NET Core host executable to launch.
2222

23-
Example: "${workspaceRoot}/bin/Debug/\<target-framework\>/\<project-name.dll\>" where:
23+
This property normally takes the form: "${workspaceRoot}/bin/Debug/\<target-framework\>/\<project-name.dll\>".
2424

25-
* \<target-framework\>: (example: 'netstandard1.5') This is the framework that the app is being built for. It is set in the project.json file.
26-
* \<project-name\>: (example: 'MyApp') The name of the project being debugged.",
25+
Example: `"${workspaceRoot}/bin/Debug/netcoreapp1.1/MyProject.dll"`
26+
27+
Where:
28+
29+
* \<target-framework\> is the framework that the debugged project is being built for. This is normally found in the project file as the 'TargetFramework' property.
30+
* \<project-name.dll\> is the name of debugged project's build output dll. This is normally the same as the project file name but with a '.dll' extension.
2731

2832
## Cwd
2933
The working directory of the target process.

debugger.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@ This page gives you detailed instructions on how to debug code running under .NE
44
#### Your Feedback​
55
File bugs and feature requests [here](https://github.com/OmniSharp/omnisharp-vscode/issues) and [join our insiders group](http://landinghub.visualstudio.com/dotnetcoreinsiders) to help us build great tooling for .NET Core.
66

7-
#### Requirements
8-
* Requires .NET Core 1.0 (rc2 are earlier releases are not supported)
9-
* X64 only
10-
* Supported operating systems:
11-
* macOS: 10.11+ (El Capitan+)
12-
* Linux: Red Hat Enterprise Linux 7.2+, Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Debian 8.2+, Linux Mint 17+, CentOS 7.1+, Oracle Linux 7.1+, Fedora 23, openSUSE 13.2
13-
* Windows: 7+
14-
157
### First Time setup
168
##### 1: Get Visual Studio Code
179
Install Visual Studio Code (VSC). Pick the latest VSC version from here: https://code.visualstudio.com Make sure it is at least 1.5.

gulpfile.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const platform = require('./out/src/platform');
2020
const util = require('./out/src/common');
2121
const child_process = require('child_process');
2222
const optionsSchemaGenerator = require('./out/src/tools/GenerateOptionsSchema');
23+
const packageDependencyUpdater = require('./out/src/tools/UpdatePackageDependencies');
2324

2425
const Logger = logger.Logger;
2526
const PackageManager = packages.PackageManager;
@@ -44,6 +45,10 @@ gulp.task('generateOptionsSchema', () => {
4445
optionsSchemaGenerator.GenerateOptionsSchema();
4546
});
4647

48+
gulp.task('updatePackageDependencies', () => {
49+
packageDependencyUpdater.updatePackageDependencies();
50+
});
51+
4752
// Install Tasks
4853
function install(platformInfo, packageJSON) {
4954
const packageManager = new PackageManager(platformInfo, packageJSON);

0 commit comments

Comments
 (0)