forked from badvectors/SimulatorPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSimulatorPlugin.csproj
More file actions
53 lines (47 loc) · 2.36 KB
/
Copy pathSimulatorPlugin.csproj
File metadata and controls
53 lines (47 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<Project Sdk="Microsoft.NET.Sdk">
<!-- Copy LocalOverrides.props.example to LocalOverrides.props and set your vatSys path -->
<Import Project="LocalOverrides.props" Condition="Exists('LocalOverrides.props')" />
<PropertyGroup>
<TargetFramework>net481</TargetFramework>
<RootNamespace>SimulatorPlugin</RootNamespace>
<UseWindowsForms>true</UseWindowsForms>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<VatSysPath Condition="'$(VatSysPath)' == ''">C:\vatSys</VatSysPath>
<OutputPath>$(VatSysPath)\bin\Plugins\SimulatorPlugin</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<Target Name="GenerateLaunchSettings" BeforeTargets="BeforeBuild"
Condition="!Exists('$(MSBuildProjectDirectory)\Properties\launchSettings.json')">
<PropertyGroup>
<_VatSysPathJson>$(VatSysPath.Replace('\','\\'))</_VatSysPathJson>
</PropertyGroup>
<ItemGroup>
<_LaunchSettingsLine Include="{" />
<_LaunchSettingsLine Include=" "profiles": {" />
<_LaunchSettingsLine Include=" "Debug with vatSys": {" />
<_LaunchSettingsLine Include=" "commandName": "Executable"," />
<_LaunchSettingsLine Include=" "executablePath": "$(_VatSysPathJson)\\bin\\vatSys.exe"," />
<_LaunchSettingsLine Include=" "workingDirectory": "$(_VatSysPathJson)\\bin"" />
<_LaunchSettingsLine Include=" }" />
<_LaunchSettingsLine Include=" }" />
<_LaunchSettingsLine Include="}" />
</ItemGroup>
<WriteLinesToFile File="$(MSBuildProjectDirectory)\Properties\launchSettings.json"
Lines="@(_LaunchSettingsLine)"
Overwrite="true" />
</Target>
<ItemGroup>
<PackageReference Include="Lib.Harmony" Version="2.3.3" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.ComponentModel.Composition" />
<Reference Include="vatSys">
<HintPath>$(VatSysPath)\bin\vatSys.exe</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
</Project>