Cosmos/source/Cosmos.Debug.Hosts/Cosmos.Debug.Hosts.csproj
2018-07-23 00:07:32 +01:00

32 lines
1.3 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Diagnostics.Process" Version="4.3.0" />
<PackageReference Include="System.IO.Ports" Version="4.4.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Cosmos.Build.Common\Cosmos.Build.Common.csproj" />
<ProjectReference Include="..\Cosmos.Debug.Common\Cosmos.Debug.Common.csproj" />
</ItemGroup>
<Target Name="IncludeHyperVServer" BeforeTargets="AssignTargetPaths">
<PropertyGroup>
<_HyperVServerPath>$(IntermediateOutputPath)HyperVServer\</_HyperVServerPath>
</PropertyGroup>
<MSBuild Projects="..\Cosmos.Debug.HyperVServer\Cosmos.Debug.HyperVServer.csproj" Targets="Restore;Publish" Properties="PublishDir=$(MSBuildProjectDirectory)\$(_HyperVServerPath)" RemoveProperties="TargetFramework" />
<ItemGroup>
<ContentWithTargetPath Include="$(_HyperVServerPath)**" CopyToOutputDirectory="Always" />
<ContentWithTargetPath Update="@(ContentWithTargetPath)" TargetPath="HyperVServer\%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
</Target>
</Project>