Skip to content

Commit bc26c11

Browse files
committed
Clean up csproj
1 parent 592b46c commit bc26c11

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

src/CoreRCON/CoreRCON.csproj

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
<PropertyGroup>
44
<Description>A .NET Standard implementation of the Source RCON Protocol.</Description>
55
<AssemblyTitle>CoreRCON</AssemblyTitle>
6-
<VersionPrefix>2.0.0</VersionPrefix>
76
<Authors>Alexander Westberg-Bladh Scott Kaye</Authors>
8-
<TargetFramework>netstandard2.0</TargetFramework>
7+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
98
<AssemblyName>CoreRCON</AssemblyName>
109
<OutputType>Library</OutputType>
1110
<PackageId>CoreRCON</PackageId>
@@ -20,21 +19,14 @@
2019
<Version>5.2.0</Version>
2120
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
2221
<AssemblyVersion>5.2.0</AssemblyVersion>
23-
<FileVersion>5.2.0.0</FileVersion>
22+
<FileVersion>$(AssemblyVersion)</FileVersion>
2423
<PackageReleaseNotes>https://github.com/Challengermode/CoreRcon/releases</PackageReleaseNotes>
2524
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2625
<PackageIcon>logo.png</PackageIcon>
2726
<EnableNETAnalyzers>true</EnableNETAnalyzers>
2827
<PackageReadmeFile>README.md</PackageReadmeFile>
29-
</PropertyGroup>
30-
31-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
32-
<LangVersion>7.2</LangVersion>
33-
</PropertyGroup>
34-
35-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
36-
<LangVersion>7.2</LangVersion>
37-
</PropertyGroup>
28+
<LangVersion>latest</LangVersion>
29+
</PropertyGroup>
3830

3931
<Target Name="PostcompileScript" AfterTargets="Build" Condition=" '$(IsCrossTargetingBuild)' != 'true' ">
4032
<Exec Command="dotnet pack --no-build --configuration $(Configuration)" />

0 commit comments

Comments
 (0)