Skip to content

Commit 3eab3b3

Browse files
committed
Maybe GitHub Actions hosted runners are using an old version of Visual Studio, MSBuild, or the .NET SDK, because not only are extension blocks broken, but now the field keyword requires Preview C# language version. Didn't .NET 10 come out 5 months ago? Why is this still a problem?
1 parent 24bef8b commit 3eab3b3

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

WinampNowPlayingToFile/WinampNowPlayingToFile.csproj

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,12 @@
1111
<RootNamespace>WinampNowPlayingToFile</RootNamespace>
1212
<AssemblyName>WinampNowPlayingToFile</AssemblyName>
1313
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
14-
<LangVersion>latest</LangVersion>
14+
<LangVersion>preview</LangVersion>
1515
<FileAlignment>512</FileAlignment>
16-
<FileUpgradeFlags>
17-
</FileUpgradeFlags>
18-
<UpgradeBackupLocation>
19-
</UpgradeBackupLocation>
2016
<OldToolsVersion>3.5</OldToolsVersion>
21-
<TargetFrameworkProfile />
2217
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
2318
<RuntimeIdentifiers>win;win-x64;win-x86</RuntimeIdentifiers>
19+
<Nullable>enable</Nullable>
2420
</PropertyGroup>
2521
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2622
<DebugSymbols>true</DebugSymbols>
@@ -31,7 +27,6 @@
3127
<ErrorReport>prompt</ErrorReport>
3228
<WarningLevel>4</WarningLevel>
3329
<Prefer32Bit>false</Prefer32Bit>
34-
<Nullable>enable</Nullable>
3530
</PropertyGroup>
3631
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3732
<DebugType>embedded</DebugType>
@@ -41,13 +36,8 @@
4136
<ErrorReport>prompt</ErrorReport>
4237
<WarningLevel>4</WarningLevel>
4338
<Prefer32Bit>false</Prefer32Bit>
44-
<Nullable>enable</Nullable>
4539
<DebugSymbols>true</DebugSymbols>
4640
</PropertyGroup>
47-
<PropertyGroup>
48-
<StartupObject>
49-
</StartupObject>
50-
</PropertyGroup>
5141
<PropertyGroup>
5242
<ApplicationIcon>winampIcon.ico</ApplicationIcon>
5343
</PropertyGroup>

0 commit comments

Comments
 (0)