-
Notifications
You must be signed in to change notification settings - Fork 2
/
Ground Station.csproj
56 lines (56 loc) · 3.5 KB
/
Ground Station.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0-windows7.0</TargetFramework>
<OutputType>Library</OutputType>
<RootNamespace>DaleGhent.NINA.GroundStation</RootNamespace>
<AssemblyName>DaleGhent.NINA.GroundStation</AssemblyName>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<UseWPF>true</UseWPF>
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
</PropertyGroup>
<ItemGroup>
<Reference Include="System.Speech" />
<Reference Include="System.Windows.Presentation" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MailKit">
<Version>3.6.0</Version>
<IncludeAssets></IncludeAssets>
</PackageReference>
<PackageReference Include="MQTTnet">
<Version>3.1.2</Version>
</PackageReference>
<PackageReference Include="NetCoreAudio" Version="1.7.0" />
<PackageReference Include="NINA.Plugin" Version="3.0.0.3001-rc" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
<PackageReference Include="System.Speech" Version="8.0.0" />
<PackageReference Include="Telegram.Bot">
<Version>18.0.0</Version>
</PackageReference>
</ItemGroup>
<PropertyGroup>
<CopyLocalLockFileAssemblies>True</CopyLocalLockFileAssemblies>
</PropertyGroup>
<PropertyGroup>
<ProduceReferenceAssembly>True</ProduceReferenceAssembly>
</PropertyGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</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>
<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 artifacts"
xcopy "$(TargetPath)" "%25localappdata%25\NINA\Plugins\3.0.0\$(TargetName)" /h/i/c/k/e/r/y
xcopy "$(TargetDir)$(TargetName).pdb" "%25localappdata%25\NINA\Plugins\3.0.0\$(TargetName)" /h/i/c/k/e/r/y
xcopy "$(TargetDir)runtimes\win\lib\net8.0\System.Speech.dll" "%25localappdata%25\NINA\Plugins\3.0.0\$(TargetName)" /h/i/c/k/e/r/y
xcopy "$(TargetDir)MailKit.dll" "%25localappdata%25\NINA\Plugins\3.0.0\$(TargetName)" /h/i/c/k/e/r/y
xcopy "$(TargetDir)MimeKit.dll" "%25localappdata%25\NINA\Plugins\3.0.0\$(TargetName)" /h/i/c/k/e/r/y
xcopy "$(TargetDir)BouncyCastle.Crypto.dll" "%25localappdata%25\NINA\Plugins\3.0.0\$(TargetName)" /h/i/c/k/e/r/y
xcopy "$(TargetDir)Telegram.Bot.dll" "%25localappdata%25\NINA\Plugins\3.0.0\$(TargetName)" /h/i/c/k/e/r/y
xcopy "$(TargetDir)MQTTnet.dll" "%25localappdata%25\NINA\Plugins\3.0.0\$(TargetName)" /h/i/c/k/e/r/y
xcopy "$(TargetDir)NetCoreAudio.dll" "%25localappdata%25\NINA\Plugins\3.0.0\$(TargetName)" /h/i/c/k/e/r/y" />
</Target>
</Project>