Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
- 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.104.x
# 2.111.x
* Update extension to run on .NET 10 (PR: [#8839](https://github.com/dotnet/vscode-csharp/pull/8839))
* Update Roslyn to 5.3.0-2.25604.5 (PR: [#8839](https://github.com/dotnet/vscode-csharp/pull/))
* Build our libraries against net10.0 (PR: [#81545](https://github.com/dotnet/roslyn/pull/81545))
* Update Roslyn LSP server to .net10 (PR: [#81508](https://github.com/dotnet/roslyn/pull/81508))
* Fix InvalidCastException in ConvertForToForEach with tuples (PR: [#81531](https://github.com/dotnet/roslyn/pull/81531))

# 2.103.x
* include roslyn event source configs in profiling command (PR: [#8808](https://github.com/dotnet/vscode-csharp/pull/8808))
Expand Down
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
Defines the lowest supported target framework for the extension.
Used by server download / integration tests to ensure they run when only this SDK is installed.
-->
<LowestSupportedTargetFramework>net6.0</LowestSupportedTargetFramework>
<LowestSupportedTargetFramework>net8.0</LowestSupportedTargetFramework>
</PropertyGroup>
</Project>
</Project>
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ stages:
pool:
name: NetCore-Public
demands: ImageOverride -equals build.ubuntu.2204.amd64.open
containerName: mcr.microsoft.com/dotnet/sdk:10.0.100-rc.2-noble
containerName: mcr.microsoft.com/dotnet/sdk:10.0-noble

- stage: Test_Windows_Stage
displayName: Test Windows
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"workspace"
],
"defaults": {
"roslyn": "5.3.0-2.25603.1",
"roslyn": "5.3.0-2.25604.5",
"omniSharp": "1.39.14",
"razor": "10.0.0-preview.25577.1",
"razorOmnisharp": "7.0.0-preview.23363.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import {
import { DotNetRuntimeExtensionId } from '../../checkDotNetRuntimeExtensionVersion';
import { getCSharpDevKit } from '../../utils/getCSharpDevKit';

const DotNetMajorVersion = '9';
const DotNetMajorVersion = '10';
const DotNetMinorVersion = '0';
const DotNetPatchVersion = '1';
const DotNetPatchVersion = '0';
export const DotNetRuntimeVersion = `${DotNetMajorVersion}.${DotNetMinorVersion}.${DotNetPatchVersion}`;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ describe(`Source Generator Tests`, () => {
requestPosition
)
);
expect(referencesList.length).toEqual(8);
expect(referencesList.length).toEqual(5);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Building against the net8.0 tfm causes the JsonSourceGenerator to generate fewer references.

const referencesInGeneratedFiles = sortLocations(
referencesList.filter((r) => r.uri.scheme === 'roslyn-source-generated')
);
expect(referencesInGeneratedFiles.length).toEqual(7);
expect(referencesInGeneratedFiles.length).toEqual(4);
const firstPath = referencesInGeneratedFiles[0].uri.path;
expect(firstPath).toEqual('/SourceGenerationContext.g.cs');

Expand Down