I am building and running a C# application using Visual Studio Code. I have been using the C# extension 0.3.7 without any problems. Today, I updated the extension to 1.2.1 and the application no longer runs.
When I attempt to use the .Net Core Launcher to run the application, I see the following message:
Run 'Debug: Download .NET Core Debugger' in the Command Palette or open a .NET project directory to download the .NET Core Debugger
When I open up the Command Palette and run this command, then I see this error:
Errors in C:\Users\martin.vscode\extensions\ms-vscode.csharp-1.2.1\coreclr-debug\project.json
The project 'coreclr-debug' does not specify any target frameworks in 'C:\Users\martin\.vscode\extensions\ms-vscode.csharp-1.2.1\coreclr-debug\project.json'.
Here is the frameworks fragment from the project.json file in the coreclr-debug directory:
"frameworks": {
"netcoreapp1.0": {
"imports": [
"dnxcore50",
"portable-net45+win8"
]
}
},
I've also tried upgrading again to Version 1.2.2, but see essentially the same error. Any ideas as to what is happening?