Files
GenericTeProgramLibrary/Source/Program/Program.csproj
2025-10-24 15:18:11 -07:00

120 lines
5.4 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(SolutionDir)Solution.props" />
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<OutputType>Library</OutputType>
<AssemblyName>Program</AssemblyName>
<UseWPF>true</UseWPF>
<Description>NGSRI Program</Description>
<Product>NGSRI Program GUI</Product>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<!-- Static versioning (Suitable for Development) -->
<!-- Disable the line below for dynamic versioning -->
<Version>1.0.0</Version>
<ApplicationIcon>Resources\Icons\app.ico</ApplicationIcon>
<LangVersion>12.0</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.135" />
<PackageReference Include="NLog" Version="5.0.0" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.3.2" />
<PackageReference Include="Raytheon.Instruments.InstrumentManager.GeneralInstrumentManager" Version="1.5.0" />
<PackageReference Include="Raytheon.Common" Version="1.0.0" />
<PackageReference Include="Raytheon.Instruments.Implementation" Version="1.0.0" />
<PackageReference Include="Raytheon.MAL" Version="1.0.0" />
</ItemGroup>
<ItemGroup>
<Reference Include="NationalInstruments.TestStand.Interop.API">
<HintPath>..\ProgramLib\Dependencies\NationalInstruments.TestStand.Interop.API.dll</HintPath>
</Reference>
<Reference Include="PresentationFramework.Aero" />
<Reference Include="System.DirectoryServices" />
<Reference Include="System.Windows" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\Fonts\Digital-7 Mono.ttf" />
<Resource Include="Resources\Fonts\Digital-7 Mono-Italic.ttf" />
<Resource Include="Resources\Icons\app.ico" />
<Resource Include="Resources\Images\aur.png" />
<Resource Include="Resources\Images\black-led.png" />
<Resource Include="Resources\Images\folders.png" />
<Resource Include="Resources\Images\game_controller.png" />
<Resource Include="Resources\Images\gma.png" />
<Resource Include="Resources\Images\green-check-mark.png" />
<Resource Include="Resources\Images\green-led.png" />
<Resource Include="Resources\Images\missile.png" />
<Resource Include="Resources\Images\red-cross-mark.png" />
<Resource Include="Resources\Images\red-led.png" />
<Resource Include="Resources\Images\Title_Bar_Buttons\close_black.png" />
<Resource Include="Resources\Images\Title_Bar_Buttons\close_white.png" />
<Resource Include="Resources\Images\Title_Bar_Buttons\maximize.png" />
<Resource Include="Resources\Images\Title_Bar_Buttons\minimize.png" />
<Resource Include="Resources\Images\Title_Bar_Buttons\restore.png" />
<Resource Include="Resources\Images\yellow-led.png" />
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Settings.Designer.cs">
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Update="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<!-- Make it so that UnitTests project can access internal classes -->
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>UnitTests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<Target Name="CopyFilesToOutputDir" AfterTargets="AfterBuild">
<ItemGroup>
<FILES_1 Include="Dependencies\*.*" />
<FILES_2 Include="ConfigFiles\**\*.*" />
<FILES_3 Include="Dependencies\RINSS\*.*" />
</ItemGroup>
<Copy SourceFiles="@(FILES_1)" DestinationFolder="$(OutDir)" />
<Copy SourceFiles="@(FILES_2)" DestinationFolder="$(OutDir)ConfigFiles\%(RecursiveDir)" />
<Copy SourceFiles="@(FILES_3)" DestinationFolder="$(OutDir)RINSS" />
<Copy SourceFiles="$(OutDir)ConfigFiles\NLog.config" DestinationFolder="$(OutDir)" />
<Delete Files="$(OutDir)ConfigFiles\NLog.config" />
</Target>
<Target Name="CopyFilesToDeploymentDir" AfterTargets="AfterBuild">
<ItemGroup>
<FILES_4 Include="..\TestStand\Sequences\**\*.*" />
<FILES_5 Include="$(OutDir)*.dll" />
<FILES_6 Include="$(OutDir)*.pdb" />
</ItemGroup>
<Copy SourceFiles="@(FILES_1)" DestinationFolder="$(ProgramAppFolder)" />
<Copy SourceFiles="@(FILES_2)" DestinationFolder="$(ProgramAppFolder)ConfigFiles\%(RecursiveDir)" />
<Copy SourceFiles="@(FILES_3)" DestinationFolder="$(ProgramAppFolder)RINSS" />
<Copy SourceFiles="@(FILES_4)" DestinationFolder="$(DeploymentFolder)TestStand\%(RecursiveDir)" />
<Copy SourceFiles="@(FILES_5)" DestinationFolder="$(ProgramAppFolder)" />
<Copy SourceFiles="@(FILES_6)" DestinationFolder="$(ProgramAppFolder)" />
<Copy SourceFiles="$(ProgramAppFolder)ConfigFiles\NLog.config" DestinationFolder="$(ProgramAppFolder)" />
<Delete Files="$(ProgramAppFolder)ConfigFiles\NLog.config" />
</Target>
<Target Name="ProjClean" AfterTargets="AfterClean">
<RemoveDir Directories="$(DeploymentFolder)" />
<RemoveDir Directories="$(OutDir)ConfigFiles" />
<RemoveDir Directories="$(OutDir)RINSS" />
<Delete Files="$(OutDir)NLog.config" />
<Delete Files="$(OutDir)NLogWrapper.Part.dll" />
</Target>
</Project>