Skip to content

Commit

Permalink
fix: revert LangVersion to 11
Browse files Browse the repository at this point in the history
  • Loading branch information
workgroupengineering committed Apr 5, 2024
1 parent 92ba5e2 commit ce75d44
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<AvaloniaTemplatesPackageName>Avalonia.Templates</AvaloniaTemplatesPackageName>
<AvaloniaTemplatesPackageVersion>11.0.10</AvaloniaTemplatesPackageVersion>
<AvaloniaVersion>11.0.7</AvaloniaVersion>
<LangVersion>12.0</LangVersion>
<LangVersion>11.0</LangVersion>

This comment has been minimized.

Copy link
@LUJIAN2020

LUJIAN2020 Apr 6, 2024

why not latest?

</PropertyGroup>

<PropertyGroup>
Expand Down
5 changes: 2 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ variables:

steps:
- task: UseDotNet@2
displayName: 'Use .NET 8.0 SDK'
displayName: 'Use .NET Core SDK 7.0'
inputs:
packageType: sdk
useGlobalJson: true
version: 7.0.100

- task: DotNetCoreCLI@2
displayName: Restore Packages
Expand Down
6 changes: 0 additions & 6 deletions global.json

This file was deleted.

5 changes: 3 additions & 2 deletions tests/CompletionEngineTests/AdvancedTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -532,10 +532,11 @@ public void ControlTheme_Nested_Selector_Should_Be_Completed_Template()
[Fact]
public void ControlTheme_Nested_Selector_Should_Be_Completed_Setter()
{
string[] expected = [
string[] expected = new[]
{
"Command",
"CommandParameter",
];
};

var xaml =
"""
Expand Down

0 comments on commit ce75d44

Please sign in to comment.