mirror of
https://github.com/nomi-san/parsec-vdd.git
synced 2026-08-07 21:56:32 +00:00
85 lines
2.5 KiB
XML
85 lines
2.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net472</TargetFramework>
|
|
<ProjectGuid>{2D44934F-B4CF-4F2C-BD03-AE60B71AD045}</ProjectGuid>
|
|
<UseWPF>true</UseWPF>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<OutputPath>bin\</OutputPath>
|
|
<AssemblyName>ParsecVDisplay</AssemblyName>
|
|
<RootNamespace>ParsecVDisplay</RootNamespace>
|
|
<StartupObject>ParsecVDisplay.Program</StartupObject>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
|
<OutputType>WinExe</OutputType>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<ApplicationIcon>Resources\icon.ico</ApplicationIcon>
|
|
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="App.config" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Resource Include="Resources\*.png" />
|
|
<Resource Include="Resources\*.ico" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Management" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
<Reference Include="System.Net.Http" />
|
|
<Reference Include="System.Xaml" />
|
|
<Reference Include="WindowsBase" />
|
|
<Reference Include="PresentationCore" />
|
|
<Reference Include="PresentationFramework" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="CreateBatchFile" AfterTargets="Build">
|
|
<PropertyGroup>
|
|
<CLICode>
|
|
<![CDATA[
|
|
@echo off
|
|
setlocal
|
|
|
|
set app_exe=%~dp0ParsecVDisplay.exe
|
|
set parent_exe=%~dp0..\ParsecVDisplay.exe
|
|
|
|
if exist "%app_exe%" (
|
|
start /b /wait "" "%app_exe%" -cli %*
|
|
) else if exist "%parent_exe%" (
|
|
start /b /wait "" "%parent_exe%" -cli %*
|
|
) else (
|
|
echo ParsecVDisplay.exe does not exist.
|
|
)
|
|
|
|
endlocal
|
|
]]>
|
|
</CLICode>
|
|
</PropertyGroup>
|
|
<WriteLinesToFile File="$(OutputPath)vdd.cmd" Lines="$(CLICode)" Overwrite="true" />
|
|
</Target>
|
|
|
|
</Project> |