1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-25 15:20:10 +00:00
msfs-popout-panel-manager/WpfApp/WpfApp.csproj

142 lines
7.6 KiB
XML
Raw Normal View History

2022-01-27 13:40:04 +00:00
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
2022-07-23 19:23:32 +00:00
<TargetFrameworks>net6.0-windows</TargetFrameworks>
2022-01-27 13:40:04 +00:00
<UseWPF>true</UseWPF>
2022-07-23 19:23:32 +00:00
<AssemblyName>MSFSPopoutPanelManager</AssemblyName>
2022-01-27 13:40:04 +00:00
<PackageId>MSFS 2020 Popout Panel Manager</PackageId>
<Product>MSFS 2020 Popout Panel Manager</Product>
2022-07-23 19:23:32 +00:00
<Authors>Stanley Kwok</Authors>
<Company>Stanley Kwok</Company>
2022-01-27 13:40:04 +00:00
<Copyright>Stanley Kwok 2021</Copyright>
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
<RootNamespace>MSFSPopoutPanelManager.WpfApp</RootNamespace>
<ApplicationIcon>logo.ico</ApplicationIcon>
<Platforms>x64</Platforms>
2023-05-21 14:32:15 +00:00
<Version>3.4.6.0321</Version>
<AssemblyVersion>3.4.6.0321</AssemblyVersion>
<FileVersion>3.4.6.0321</FileVersion>
2022-07-23 19:23:32 +00:00
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<DebugType>embedded</DebugType>
2022-06-24 14:24:31 +00:00
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
2022-07-23 19:23:32 +00:00
<SpaRoot>../ReactClient</SpaRoot>
<DefaultItemExcludes>$(DefaultItemExcludes);$(SpaRoot)node_modules\**</DefaultItemExcludes>
<!-- Publishing options -->
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
<Configurations>Debug;Release;DebugTouchPanel;ReleaseTouchPanel</Configurations>
2022-01-27 13:40:04 +00:00
</PropertyGroup>
2022-08-13 06:14:49 +00:00
<ItemGroup>
<None Remove="Resources\info_icon.png" />
</ItemGroup>
2022-06-30 23:53:08 +00:00
<ItemGroup>
2022-07-23 19:23:32 +00:00
<Resource Include="logo.ico" />
2022-06-30 23:53:08 +00:00
</ItemGroup>
2022-01-27 13:40:04 +00:00
<ItemGroup>
<Content Include="log4net.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
2022-07-23 19:23:32 +00:00
<Resource Include="Resources\check.png">
2022-01-27 13:40:04 +00:00
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
2022-07-23 19:23:32 +00:00
</Resource>
<Resource Include="Resources\cross.png">
2022-01-27 13:40:04 +00:00
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
2022-07-23 19:23:32 +00:00
</Resource>
<Resource Include="Resources\info.png">
2022-01-27 13:40:04 +00:00
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
2022-07-23 19:23:32 +00:00
</Resource>
2022-08-13 06:14:49 +00:00
<Resource Include="Resources\info_icon.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Resource>
2022-07-23 19:23:32 +00:00
<Resource Include="resources\logo.png">
2022-01-27 13:40:04 +00:00
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
2022-07-23 19:23:32 +00:00
</Resource>
<Resource Include="Resources\msfsconnected.png">
2022-01-27 13:40:04 +00:00
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
2022-07-23 19:23:32 +00:00
</Resource>
<Resource Include="Resources\msfsdisconnected.png">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Resource>
<Resource Include="Resources\transparent.png">
2022-01-27 13:40:04 +00:00
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
2022-07-23 19:23:32 +00:00
</Resource>
2022-01-27 13:40:04 +00:00
</ItemGroup>
<ItemGroup>
2022-07-06 18:09:10 +00:00
<PackageReference Include="Autoupdater.NET.Official" Version="1.7.0" />
2022-01-27 13:40:04 +00:00
<PackageReference Include="CalcBinding" Version="2.5.2" />
<PackageReference Include="CoordinateSharp" Version="2.13.1.1" Condition=" '$(Configuration)' == 'ReleaseTouchPanel' " />
2022-07-23 19:23:32 +00:00
<PackageReference Include="Fody" Version="6.6.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
2022-01-27 13:40:04 +00:00
<PackageReference Include="Hardcodet.NotifyIcon.Wpf" Version="1.1.0" />
<PackageReference Include="ini-parser-netcore3.1" Version="3.0.0" Condition=" '$(Configuration)' == 'ReleaseTouchPanel' " />
2022-07-23 19:23:32 +00:00
<PackageReference Include="InputSimulatorCore" Version="1.0.5" />
2022-01-27 13:40:04 +00:00
<PackageReference Include="log4net" Version="2.0.14" />
<PackageReference Include="MahApps.Metro" Version="2.4.9" />
2022-07-23 19:23:32 +00:00
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.39" />
2022-01-27 13:40:04 +00:00
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
2022-07-23 19:23:32 +00:00
<PackageReference Include="Prism.Core" Version="8.1.97" />
2022-06-30 23:53:08 +00:00
<PackageReference Include="PropertyChanged.Fody" Version="3.4.1" />
2022-07-23 19:23:32 +00:00
<PackageReference Include="StringMath" Version="3.0.2" />
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
<PackageReference Include="System.IO.Ports" Version="6.0.0" Condition=" '$(Configuration)' == 'ReleaseTouchPanel' " />
<PackageReference Include="WindowsHook" Version="1.0.1" />
<PackageReference Include="Microsoft.AspNetCore.SpaServices" Version="3.1.27" Condition=" '$(Configuration)' == 'ReleaseTouchPanel' Or '$(Configuration)' == 'DebugTouchPanel' " />
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="6.0.7" Condition=" '$(Configuration)' == 'ReleaseTouchPanel' Or '$(Configuration)' == 'DebugTouchPanel' " />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.1293.44" />
2022-01-27 13:40:04 +00:00
</ItemGroup>
<ItemGroup>
2022-07-23 19:23:32 +00:00
<ProjectReference Include="..\Orchestration\Orchestration.csproj">
<SetTargetFramework>TargetFramework=net6.0</SetTargetFramework>
</ProjectReference>
<ProjectReference Include="..\Shared\Shared.csproj">
<SetTargetFramework>TargetFramework=net6.0</SetTargetFramework>
</ProjectReference>
2022-07-23 20:04:06 +00:00
<ProjectReference Include="..\WindowsAgent\WindowsAgent.csproj">
<SetTargetFramework>TargetFramework=net6.0</SetTargetFramework>
</ProjectReference>
2022-01-27 13:40:04 +00:00
</ItemGroup>
2022-07-23 19:23:32 +00:00
<Target Name="CopyItems" AfterTargets="ComputeFilesToPublish">
<!-- Copy all plugin-extensions items -->
<ItemGroup>
<Skipper Include="$(SolutionDir)\Assets\Community\zzz-ready-to-fly-button-skipper\**"></Skipper>
<MobiFlight Include="$(SolutionDir)\Assets\Community\mobiflight-event-module\**"></MobiFlight>
2022-08-18 14:20:12 +00:00
<License Include="$(SolutionDir)\LICENSE"></License>
<Version Include="$(SolutionDir)\VERSION.md"></Version>
2022-07-23 19:23:32 +00:00
</ItemGroup>
2022-08-18 14:20:12 +00:00
<Copy SourceFiles="@(License)" DestinationFolder="$(PublishDir)" SkipUnchangedFiles="false" OverwriteReadOnlyFiles="true" />
<Copy SourceFiles="@(Version)" DestinationFolder="$(PublishDir)" SkipUnchangedFiles="false" OverwriteReadOnlyFiles="true" />
2022-07-23 19:23:32 +00:00
<Copy SourceFiles="@(Skipper)" DestinationFolder="$(PublishDir)Community\zzz-ready-to-fly-button-skipper\%(RecursiveDir)" SkipUnchangedFiles="false" OverwriteReadOnlyFiles="true" />
<Copy SourceFiles="@(MobiFlight)" DestinationFolder="$(PublishDir)Community\mobiflight-event-module\%(RecursiveDir)" SkipUnchangedFiles="false" OverwriteReadOnlyFiles="true" Condition=" '$(Configuration)' == 'ReleaseTouchPanel' " />
</Target>
2022-01-27 13:40:04 +00:00
2022-07-23 19:23:32 +00:00
<!-- Conditional compiling, buidling, and publishing for person version of the app with touch panel included -->
<Target Name="DebugEnsureNodeEnv" BeforeTargets="Build" Condition=" '$(Configuration)' == 'DebugTouchPanel' And !Exists('$(SpaRoot)node_modules') ">
<Exec Command="node --version" ContinueOnError="true">
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
</Exec>
<Error Condition="'$(ErrorCode)' != '0'" Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
<Message Importance="high" Text="Restoring dependencies using 'npm'. This may take several minutes..." />
<Exec WorkingDirectory="$(SpaRoot)" Command="npm install" />
</Target>
<ItemGroup Condition=" '$(Configuration)' == 'ReleaseTouchPanel' ">
<ContentWithTargetPath Include="..\ReactClient\build\**">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<TargetPath>ReactClient\%(RecursiveDir)%(Filename)%(Extension)</TargetPath>
</ContentWithTargetPath>
2022-01-27 13:40:04 +00:00
</ItemGroup>
2022-07-23 19:23:32 +00:00
<Target Name="BuildReactJs" BeforeTargets="BeforeBuild" Condition=" '$(Configuration)' == 'ReleaseTouchPanel' ">
<Message Importance="high" Text="Building ReactJS app............................." />
<Exec WorkingDirectory="$(SpaRoot)" Command="npm install" />
<Exec WorkingDirectory="$(SpaRoot)" Command="npm run build" />
</Target>
2022-01-27 13:40:04 +00:00
</Project>