Migrate Virtu.csproj to new format
This commit is contained in:
parent
2b8c0edcc2
commit
0dd5b2a80d
|
@ -1,51 +1,18 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Import Project="$(ProjectDir)../../Common.props" />
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<TargetFramework>net48</TargetFramework>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup>
|
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<AssemblyName>Virtu</AssemblyName>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<FileAlignment>512</FileAlignment>
|
|
||||||
<OutputPath>bin/$(Configuration)/</OutputPath>
|
|
||||||
<OutputType>Library</OutputType>
|
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
|
||||||
<ProjectGuid>{8E522778-7A2C-4364-BDCE-0BA5623828E1}</ProjectGuid>
|
|
||||||
<RootNamespace>Virtu</RootNamespace>
|
|
||||||
<TargetFrameworkProfile />
|
|
||||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<DebugType>full</DebugType>
|
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
||||||
<Optimize>false</Optimize>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
||||||
<DebugSymbols>false</DebugSymbols>
|
|
||||||
<DebugType>pdbonly</DebugType>
|
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
|
||||||
<Optimize>true</Optimize>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(ProjectDir)../../CommonRefAssemblies.props" Condition=" '$(OS)' != 'Windows_NT' " />
|
<Import Project="$(ProjectDir)../../CommonRefAssemblies.props" Condition=" '$(OS)' != 'Windows_NT' " />
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Compile Include="**/*.cs" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Update="Cpu.Data.cs" DependentUpon="Cpu.cs" />
|
<Compile Update="Cpu.Data.cs" DependentUpon="Cpu.cs" />
|
||||||
<Compile Update="Memory.Data.cs" DependentUpon="Memory.cs" />
|
<Compile Update="Memory.Data.cs" DependentUpon="Memory.cs" />
|
||||||
<Compile Update="Video.Data.cs" DependentUpon="Video.cs" />
|
<Compile Update="Video.Data.cs" DependentUpon="Video.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
||||||
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
|
<Copy SourceFiles="$(TargetDir)$(TargetFileName)" DestinationFolder="$(ProjectDir)../../References" />
|
||||||
<PostBuildEvent>COPY /y "$(TargetDir)$(TargetFileName)" "$(ProjectDir)..\..\References\$(TargetFileName)"</PostBuildEvent>
|
</Target>
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
|
|
||||||
<PostBuildEvent>cp -f "$(TargetDir)$(TargetFileName)" "$(ProjectDir)../../References/$(TargetFileName)"</PostBuildEvent>
|
|
||||||
</PropertyGroup>
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Reference in New Issue