|
3 | 3 | <PropertyGroup> |
4 | 4 | <Description>A .NET Standard implementation of the Source RCON Protocol.</Description> |
5 | 5 | <AssemblyTitle>CoreRCON</AssemblyTitle> |
6 | | - <VersionPrefix>2.0.0</VersionPrefix> |
7 | 6 | <Authors>Alexander Westberg-Bladh Scott Kaye</Authors> |
8 | | - <TargetFramework>netstandard2.0</TargetFramework> |
| 7 | + <TargetFrameworks>netstandard2.0</TargetFrameworks> |
9 | 8 | <AssemblyName>CoreRCON</AssemblyName> |
10 | 9 | <OutputType>Library</OutputType> |
11 | 10 | <PackageId>CoreRCON</PackageId> |
|
20 | 19 | <Version>5.2.0</Version> |
21 | 20 | <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
22 | 21 | <AssemblyVersion>5.2.0</AssemblyVersion> |
23 | | - <FileVersion>5.2.0.0</FileVersion> |
| 22 | + <FileVersion>$(AssemblyVersion)</FileVersion> |
24 | 23 | <PackageReleaseNotes>https://github.com/Challengermode/CoreRcon/releases</PackageReleaseNotes> |
25 | 24 | <PackageLicenseExpression>MIT</PackageLicenseExpression> |
26 | 25 | <PackageIcon>logo.png</PackageIcon> |
27 | 26 | <EnableNETAnalyzers>true</EnableNETAnalyzers> |
28 | 27 | <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> |
38 | 30 |
|
39 | 31 | <Target Name="PostcompileScript" AfterTargets="Build" Condition=" '$(IsCrossTargetingBuild)' != 'true' "> |
40 | 32 | <Exec Command="dotnet pack --no-build --configuration $(Configuration)" /> |
|
0 commit comments