11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <Project ToolsVersion =" 15.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
2+ <Project ToolsVersion =" 15.0"
3+ xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
34 <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
5+ <Import Project =" .\ModloaderProps.props" />
46 <PropertyGroup >
57 <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
68 <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
1517 <NuGetPackageImportStamp >
1618 </NuGetPackageImportStamp >
1719 </PropertyGroup >
18- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
19- <DebugSymbols >true</DebugSymbols >
20- <DebugType >full</DebugType >
21- <Optimize >false</Optimize >
22- <OutputPath >bin\Debug\</OutputPath >
23- <DefineConstants >DEBUG;TRACE</DefineConstants >
24- <ErrorReport >prompt</ErrorReport >
25- <WarningLevel >4</WarningLevel >
26- </PropertyGroup >
2720 <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
2821 <DebugType >pdbonly</DebugType >
2922 <Optimize >true</Optimize >
4437 </Reference >
4538 <Reference Include =" Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL" >
4639 <SpecificVersion >False</SpecificVersion >
40+ <Private >False</Private >
4741 <HintPath >..\Dependencies\Newtonsoft.Json.dll</HintPath >
4842 </Reference >
4943 <Reference Include =" System" />
118112 <None Include =" packages.config" />
119113 </ItemGroup >
120114 <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
115+
116+ <!-- After build copy dll file into managed folder and start the game -->
117+ <Target Name =" AfterBuild" >
118+ <Copy SourceFiles =" bin\Release\ModLoader.dll" DestinationFolder =" $(ManagedFolder)" ContinueOnError =" true" />
119+ <Exec Command =" start steam://rungameid/1718870" />
120+ </Target >
121+
121122</Project >
0 commit comments