mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
32 lines
1.2 KiB
XML
32 lines
1.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Cosmos.Build.Common" />
|
|
<PackageReference Include="System.Diagnostics.Process" Version="4.3.0" />
|
|
<PackageReference Include="System.IO.Ports" Version="4.4.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<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>
|