78 lines
3.8 KiB
XML
78 lines
3.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<AssemblyName>Facepunch.Steamworks.Win64</AssemblyName>
|
|
<DefineConstants>$(DefineConstants);PLATFORM_WIN64;PLATFORM_WIN;PLATFORM_64</DefineConstants>
|
|
<TargetFrameworks>netstandard2.1</TargetFrameworks>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<LangVersion>8.0</LangVersion>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
|
<RootNamespace>Steamworks</RootNamespace>
|
|
<Platforms>AnyCPU;x64</Platforms>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<Authors>Garry Newman</Authors>
|
|
<PackageId>Facepunch.Steamworks</PackageId>
|
|
<PackageDescription>Steamworks implementation with an emphasis on making things easy. For Windows x64.</PackageDescription>
|
|
<PackageProjectUrl>https://github.com/Facepunch/Facepunch.Steamworks</PackageProjectUrl>
|
|
<PackageIcon>Facepunch.Steamworks.jpg</PackageIcon>
|
|
<PackageTags>facepunch;steam;unity;steamworks;valve</PackageTags>
|
|
<LangVersion>10</LangVersion>
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
<RepositoryUrl>https://github.com/Facepunch/Facepunch.Steamworks.git</RepositoryUrl>
|
|
<RepositoryType>git</RepositoryType>
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="Facepunch.Steamworks.jpg">
|
|
<Pack>true</Pack>
|
|
<PackagePath>/</PackagePath>
|
|
</None>
|
|
<None Include="steam_api64.dll">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
<Pack>true</Pack>
|
|
<PackagePath>content</PackagePath>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.1|x64'">
|
|
<NoWarn>1701;1702;1591;1587</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.1|x64'">
|
|
<NoWarn>1701;1702;1591;1587</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.1|AnyCPU'">
|
|
<NoWarn>1701;1702;1591;1587</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.1|AnyCPU'">
|
|
<NoWarn>1701;1702;1591;1587</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<WarningsAsErrors>;NU1605;CS0114;CS0108;CS8597;CS8600;CS8601;CS8602;CS8603;CS8604;CS8605;CS8606;CS8607;CS8608;CS8609;CS8610;CS8611;CS8612;CS8613;CS8614;CS8615;CS8616;CS8617;CS8618;CS8619;CS8620;CS8621;CS8622;CS8624;CS8625;CS8626;CS8629;CS8631;CS8632;CS8633;CS8634;CS8638;CS8643;CS8644;CS8645;CS8653;CS8654;CS8655;CS8667;CS8669;CS8670;CS8714;CS8717;CS8765</WarningsAsErrors>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="Facepunch.Steamworks.targets" />
|
|
|
|
<Target Name="PostBuildHome" AfterTargets="PostBuildEvent" Condition="'$(Computername)'=='GarryBasementPc'">
|
|
<Exec Command="Copy $(TargetDir)\Facepunch.Steamworks.Win64.* C:\plastic\RustMain\Assets\Plugins\Facepunch.Steamworks\" />
|
|
<Exec Command="Copy $(TargetDir)\Facepunch.Steamworks.Posix.* C:\plastic\RustMain\Assets\Plugins\Facepunch.Steamworks\" />
|
|
</Target>
|
|
|
|
<Target Name="PostBuildOffice" AfterTargets="PostBuildEvent" Condition="'$(Computername)'=='GARRYSOFFICEPC'">
|
|
<Exec Command="Copy $(TargetDir)\Facepunch.Steamworks.Win64.* C:\Plastic\Rust\Assets\Plugins\Facepunch.Steamworks\" />
|
|
<Exec Command="Copy $(TargetDir)\Facepunch.Steamworks.Posix.* C:\Plastic\Rust\Assets\Plugins\Facepunch.Steamworks\" />
|
|
<Exec Command="Copy $(TargetDir)\Facepunch.Steamworks.Win64.* C:\Git\Facepunch.Steamworks.UnityTest\Assets\Steamworks" />
|
|
<Exec Command="Copy $(TargetDir)\Facepunch.Steamworks.Win32.* C:\Git\Facepunch.Steamworks.UnityTest\Assets\Steamworks" />
|
|
<Exec Command="Copy $(TargetDir)\Facepunch.Steamworks.Posix.* C:\Git\Facepunch.Steamworks.UnityTest\Assets\Steamworks" />
|
|
</Target>
|
|
|
|
</Project>
|