XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESystem

【Rust】XFE系统,基于Rust和汇编

公开
关注 0 Fork 0 Star 0
UTF-8
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net10.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <IsTestProject>true</IsTestProject>
    <IsPackable>false</IsPackable>
    <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
    <NuGetLockFilePath>Packages.lock.json</NuGetLockFilePath>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.8.1" />
    <PackageReference Include="xunit" Version="2.9.3" />
    <PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" PrivateAssets="all" />
    <ProjectReference Include="../../Source/XFESystem.ManagedRuntime/XFESystem.ManagedRuntime.csproj" />
    <ProjectReference Include="../../Samples/XFESystem.ManagedHello/XFESystem.ManagedHello.csproj" ReferenceOutputAssembly="false" />
    <ProjectReference Include="Fixtures/ManagedFixture.csproj" ReferenceOutputAssembly="false" />
    <Compile Remove="Fixtures/**/*.cs" />
  </ItemGroup>
  <Target Name="CopyManagedFixtures" AfterTargets="Build">
    <MSBuild Projects="../../Samples/XFESystem.ManagedHello/XFESystem.ManagedHello.csproj;Fixtures/ManagedFixture.csproj" Targets="GetTargetPath" Properties="Configuration=$(Configuration)" BuildInParallel="false">
      <Output TaskParameter="TargetOutputs" ItemName="ManagedFixturePaths" />
    </MSBuild>
    <Copy SourceFiles="@(ManagedFixturePaths)" DestinationFolder="$(OutDir)Fixtures" />
  </Target>
</Project>