-
Notifications
You must be signed in to change notification settings - Fork 2
/
Astro-Physics Tools.csproj
27 lines (27 loc) · 1.33 KB
/
Astro-Physics Tools.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0-windows7.0</TargetFramework>
<OutputType>Library</OutputType>
<RootNamespace>DaleGhent.NINA.AstroPhysicsTools</RootNamespace>
<AssemblyName>DaleGhent.NINA.AstroPhysicsTools</AssemblyName>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<UseWPF>true</UseWPF>
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
</PropertyGroup>
<ItemGroup>
<Reference Include="System.Net" />
<Reference Include="System.Printing" />
</ItemGroup>
<ItemGroup>
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="NINA.Plugin">
<Version>3.0.0.2001-beta</Version>
</PackageReference>
</ItemGroup>
<PropertyGroup />
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="if not exist "%25localappdata%25\NINA\Plugin\3.0.0\$(TargetName)" (
 echo "Creating $(PlatformName) Plugins $(TargetName) folder"
 mkdir "%25localappdata%25\NINA\Plugins\3.0.0\$(TargetName)"
)

echo "Copying $(PlatformName) $(TargetFileName)"
xcopy "$(TargetPath)" "%25localappdata%25\NINA\Plugins\3.0.0\$(TargetName)" /h/i/c/k/e/r/y" />
</Target>
</Project>