-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBahtiFocus.csproj
53 lines (53 loc) · 2.56 KB
/
BahtiFocus.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0-windows8.0</TargetFramework>
<OutputType>Library</OutputType>
<RootNamespace>CanardConfit.NINA.BahtiFocus</RootNamespace>
<AssemblyName>CanardConfit.NINA.BahtiFocus</AssemblyName>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<UseWPF>true</UseWPF>
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NINA.Plugin" Version="3.0.0.9001" />
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Settings.Designer.cs">
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<AutoGen>True</AutoGen>
<DependentUpon>Settings.Settings</DependentUpon>
</Compile>
<Compile Update="Locale\Locale.fr-FR.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Locale.fr-FR.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Update="Properties\Settings.Settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<Page Update="BahtiVisualImage.xaml">
<Generator>MSBuild:Compile</Generator>
<XamlRuntime>Wpf</XamlRuntime>
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Locale\Locale.fr-FR.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Locale.fr-fr.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Locale\Locale.fr-FR.resx">
<LastGenOutput>Locale.fr-FR.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<PropertyGroup />
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="
if not exist "%25localappdata%25\NINA\Plugins\3.0.0" (
 echo "Creating $(PlatformName) Plugins folder"
 mkdir "%25localappdata%25\NINA\Plugins\3.0.0"
)
if not exist "%25localappdata%25\NINA\Plugins\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>