2021-11-17 12:13:46 +13:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
2019-07-15 02:46:11 +12:00
|
|
|
|
<PropertyGroup>
|
2021-11-17 07:47:49 +13:00
|
|
|
|
<TargetFramework>net6.0-windows10.0.22000.0</TargetFramework>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
|
2022-10-23 11:02:31 +13:00
|
|
|
|
<UseWPF>True</UseWPF>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
|
2021-09-01 06:01:02 +12:00
|
|
|
|
<OutputType>WinExe</OutputType>
|
|
|
|
|
<PublishUrl>publish\</PublishUrl>
|
|
|
|
|
<Install>true</Install>
|
|
|
|
|
<InstallFrom>Disk</InstallFrom>
|
|
|
|
|
<UpdateEnabled>false</UpdateEnabled>
|
|
|
|
|
<UpdateMode>Foreground</UpdateMode>
|
|
|
|
|
<UpdateInterval>7</UpdateInterval>
|
|
|
|
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
|
|
|
|
<UpdatePeriodically>false</UpdatePeriodically>
|
|
|
|
|
<UpdateRequired>false</UpdateRequired>
|
|
|
|
|
<MapFileExtensions>true</MapFileExtensions>
|
|
|
|
|
<ApplicationRevision>0</ApplicationRevision>
|
|
|
|
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
|
|
|
|
<UseApplicationTrust>true</UseApplicationTrust>
|
2020-06-06 01:42:34 +12:00
|
|
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
2022-12-03 14:14:15 +13:00
|
|
|
|
<Nullable>enable</Nullable>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
<Platforms>x64;x86;AnyCPU</Platforms>
|
|
|
|
|
<Configurations>Debug;Release;ReleasePackage</Configurations>
|
2019-07-15 02:46:11 +12:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<StartupObject>SystemTrayMenu.Program</StartupObject>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<ApplicationIcon>Resources\SystemTrayMenu.ico</ApplicationIcon>
|
|
|
|
|
</PropertyGroup>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
|
|
|
|
<OutputPath>bin\x64\Debug\</OutputPath>
|
2020-02-22 21:51:06 +13:00
|
|
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
2022-02-08 10:45:10 +13:00
|
|
|
|
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
2020-02-22 21:51:06 +13:00
|
|
|
|
</PropertyGroup>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
2020-06-21 23:12:38 +12:00
|
|
|
|
<OutputPath>bin\AnyCPU\Debug\</OutputPath>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
2022-02-08 10:45:10 +13:00
|
|
|
|
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
|
2020-06-21 23:12:38 +12:00
|
|
|
|
<OutputPath>bin\x86\Debug\</OutputPath>
|
2020-02-22 21:51:06 +13:00
|
|
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
2022-02-08 10:45:10 +13:00
|
|
|
|
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
2020-02-22 21:51:06 +13:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
|
|
|
|
<OutputPath>bin\x64\Release\</OutputPath>
|
|
|
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
|
</PropertyGroup>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
2020-06-21 23:12:38 +12:00
|
|
|
|
<OutputPath>bin\AnyCPU\Release\</OutputPath>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleasePackage|x64'">
|
|
|
|
|
<OutputPath>bin\x64\Release\</OutputPath>
|
|
|
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleasePackage|AnyCPU'">
|
2020-06-21 23:12:38 +12:00
|
|
|
|
<OutputPath>bin\AnyCPU\Release\</OutputPath>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
|
2020-06-21 23:12:38 +12:00
|
|
|
|
<OutputPath>bin\x86\Release\</OutputPath>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleasePackage|x86'">
|
2020-06-21 23:12:38 +12:00
|
|
|
|
<OutputPath>bin\x86\Release\</OutputPath>
|
2020-02-22 21:51:06 +13:00
|
|
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
|
</PropertyGroup>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
2020-02-26 07:06:03 +13:00
|
|
|
|
<ErrorReport>none</ErrorReport>
|
|
|
|
|
<DebugSymbols>true</DebugSymbols>
|
2021-12-02 05:04:59 +13:00
|
|
|
|
<Optimize>True</Optimize>
|
2022-02-08 10:45:10 +13:00
|
|
|
|
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
2020-02-22 21:51:06 +13:00
|
|
|
|
</PropertyGroup>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
2020-06-14 00:56:57 +12:00
|
|
|
|
<ErrorReport>none</ErrorReport>
|
|
|
|
|
<DebugSymbols>true</DebugSymbols>
|
2021-12-02 05:04:59 +13:00
|
|
|
|
<Optimize>True</Optimize>
|
2022-02-08 10:45:10 +13:00
|
|
|
|
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
2020-06-14 00:56:57 +12:00
|
|
|
|
</PropertyGroup>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleasePackage|x64'">
|
2020-06-14 00:56:57 +12:00
|
|
|
|
<ErrorReport>none</ErrorReport>
|
|
|
|
|
<DebugSymbols>true</DebugSymbols>
|
2021-11-17 12:13:46 +13:00
|
|
|
|
<Optimize>True</Optimize>
|
2022-02-08 10:45:10 +13:00
|
|
|
|
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
2020-06-14 00:56:57 +12:00
|
|
|
|
</PropertyGroup>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleasePackage|AnyCPU'">
|
|
|
|
|
<ErrorReport>none</ErrorReport>
|
|
|
|
|
<DebugSymbols>true</DebugSymbols>
|
2021-11-17 12:13:46 +13:00
|
|
|
|
<Optimize>True</Optimize>
|
2022-02-08 10:45:10 +13:00
|
|
|
|
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
2020-02-22 21:51:06 +13:00
|
|
|
|
</PropertyGroup>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
|
|
|
|
|
<ErrorReport>none</ErrorReport>
|
|
|
|
|
<DebugSymbols>true</DebugSymbols>
|
2021-12-02 05:04:59 +13:00
|
|
|
|
<Optimize>True</Optimize>
|
2022-02-08 10:45:10 +13:00
|
|
|
|
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
2020-06-14 00:56:57 +12:00
|
|
|
|
</PropertyGroup>
|
2020-06-21 22:52:37 +12:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleasePackage|x86'">
|
|
|
|
|
<ErrorReport>none</ErrorReport>
|
|
|
|
|
<DebugSymbols>true</DebugSymbols>
|
2021-11-17 12:13:46 +13:00
|
|
|
|
<Optimize>True</Optimize>
|
2022-02-08 10:45:10 +13:00
|
|
|
|
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
2020-06-14 00:56:57 +12:00
|
|
|
|
</PropertyGroup>
|
2022-10-23 11:02:31 +13:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<EmbeddedResource Remove="UserInterface\Menu.resx" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Remove="Resources\SystemTrayMenu.png" />
|
|
|
|
|
</ItemGroup>
|
2022-12-05 10:03:57 +13:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Page Remove="Business\App.xaml" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ApplicationDefinition Include="Business\App.xaml" />
|
|
|
|
|
</ItemGroup>
|
2019-07-15 02:46:11 +12:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Reference Include="Clearcove.Logging, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
|
|
<SpecificVersion>False</SpecificVersion>
|
|
|
|
|
<HintPath>ThirdParty\Clearcove.Logging.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2020-06-06 01:42:34 +12:00
|
|
|
|
<Compile Update="Properties\Resources.Designer.cs">
|
2020-04-11 06:27:18 +12:00
|
|
|
|
<AutoGen>True</AutoGen>
|
|
|
|
|
<DesignTime>True</DesignTime>
|
|
|
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
|
|
|
</Compile>
|
2020-06-06 04:30:26 +12:00
|
|
|
|
<Compile Update="Properties\Settings.Designer.cs">
|
|
|
|
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
|
|
|
|
<AutoGen>True</AutoGen>
|
|
|
|
|
<DependentUpon>Settings.settings</DependentUpon>
|
|
|
|
|
</Compile>
|
2020-06-06 01:42:34 +12:00
|
|
|
|
<EmbeddedResource Update="Properties\Resources.resx">
|
2019-07-15 02:46:11 +12:00
|
|
|
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
|
|
|
</EmbeddedResource>
|
2020-07-27 08:36:31 +12:00
|
|
|
|
<None Include="LICENSE">
|
|
|
|
|
<Pack>True</Pack>
|
|
|
|
|
<PackagePath></PackagePath>
|
|
|
|
|
</None>
|
2019-07-15 02:46:11 +12:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Content Include="Resources\SystemTrayMenu.ico" />
|
2022-10-23 11:02:31 +13:00
|
|
|
|
<EmbeddedResource Include="Resources\SystemTrayMenu.png" />
|
2019-07-15 02:46:11 +12:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<COMReference Include="IWshRuntimeLibrary">
|
|
|
|
|
<Guid>{F935DC20-1CF0-11D0-ADB9-00C04FD58A0B}</Guid>
|
|
|
|
|
<VersionMajor>1</VersionMajor>
|
|
|
|
|
<VersionMinor>0</VersionMinor>
|
|
|
|
|
<Lcid>0</Lcid>
|
|
|
|
|
<WrapperTool>tlbimp</WrapperTool>
|
|
|
|
|
<Isolated>False</Isolated>
|
|
|
|
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
|
|
|
|
</COMReference>
|
|
|
|
|
<COMReference Include="Shell32">
|
|
|
|
|
<Guid>{50A7E9B0-70EF-11D1-B75A-00A0C90564FE}</Guid>
|
|
|
|
|
<VersionMajor>1</VersionMajor>
|
|
|
|
|
<VersionMinor>0</VersionMinor>
|
|
|
|
|
<Lcid>0</Lcid>
|
|
|
|
|
<WrapperTool>tlbimp</WrapperTool>
|
|
|
|
|
<Isolated>False</Isolated>
|
|
|
|
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
|
|
|
|
</COMReference>
|
|
|
|
|
</ItemGroup>
|
2020-03-23 12:32:15 +13:00
|
|
|
|
<ItemGroup>
|
2023-05-01 07:10:55 +12:00
|
|
|
|
<PackageReference Include="H.NotifyIcon" Version="2.0.108" />
|
2023-05-02 09:37:07 +12:00
|
|
|
|
<PackageReference Include="HidSharp" Version="2.1.0" />
|
2023-04-16 04:53:12 +12:00
|
|
|
|
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="7.0.1">
|
2020-07-09 03:54:19 +12:00
|
|
|
|
<PrivateAssets>all</PrivateAssets>
|
|
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
|
|
|
</PackageReference>
|
2021-04-17 12:39:48 +12:00
|
|
|
|
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
|
2020-03-25 03:05:17 +13:00
|
|
|
|
<PrivateAssets>all</PrivateAssets>
|
|
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
|
|
|
</PackageReference>
|
2020-03-23 12:32:15 +13:00
|
|
|
|
</ItemGroup>
|
2020-07-27 08:36:31 +12:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Folder Include="Packaging\AppPackages\" />
|
|
|
|
|
</ItemGroup>
|
2021-05-05 02:18:19 +12:00
|
|
|
|
<ItemGroup>
|
2021-10-23 22:59:39 +13:00
|
|
|
|
<None Update="Package.appxmanifest">
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
</None>
|
2021-05-05 02:18:19 +12:00
|
|
|
|
<None Update="Properties\Settings.settings">
|
|
|
|
|
<Generator>SettingsSingleFileGenerator</Generator>
|
|
|
|
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
|
|
|
|
</None>
|
2022-02-06 00:47:27 +13:00
|
|
|
|
<None Update="README.md">
|
|
|
|
|
<Pack>True</Pack>
|
|
|
|
|
<PackagePath>\</PackagePath>
|
|
|
|
|
</None>
|
2021-05-05 02:18:19 +12:00
|
|
|
|
</ItemGroup>
|
2020-04-16 03:23:42 +12:00
|
|
|
|
<PropertyGroup>
|
2022-02-08 10:45:10 +13:00
|
|
|
|
<PreBuildEvent>taskkill /f /fi "pid gt 0" /im SystemTrayMenu.exe >nul
|
2020-07-04 23:17:44 +12:00
|
|
|
|
EXIT 0</PreBuildEvent>
|
2020-07-27 08:36:31 +12:00
|
|
|
|
<RepositoryUrl>https://github.com/Hofknecht/SystemTrayMenu</RepositoryUrl>
|
|
|
|
|
<PackageIcon>icon.png</PackageIcon>
|
|
|
|
|
<PackageProjectUrl>hofknecht.eu/systemtraymenu/</PackageProjectUrl>
|
|
|
|
|
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
|
|
|
|
<RepositoryType></RepositoryType>
|
|
|
|
|
<PackageTags>SystemTrayMenu</PackageTags>
|
2021-11-17 12:13:46 +13:00
|
|
|
|
<SupportedOSPlatformVersion>10.0.17763.0</SupportedOSPlatformVersion>
|
2022-02-06 00:47:27 +13:00
|
|
|
|
<ApplicationManifest>Resources\app.manifest</ApplicationManifest>
|
|
|
|
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
|
|
|
|
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
|
|
|
|
|
<EnableNETAnalyzers>True</EnableNETAnalyzers>
|
2020-04-16 03:23:42 +12:00
|
|
|
|
</PropertyGroup>
|
2022-02-14 10:20:13 +13:00
|
|
|
|
<ItemGroup>
|
2022-10-23 11:02:31 +13:00
|
|
|
|
<FrameworkReference Update="Microsoft.WindowsDesktop.App;Microsoft.WindowsDesktop.App.WPF" TargetingPackVersion="6.0.0" />
|
2022-02-14 10:20:13 +13:00
|
|
|
|
</ItemGroup>
|
2022-10-23 11:02:31 +13:00
|
|
|
|
|
|
|
|
|
<!-- it seems only obj clean and then opening visual studio helps -->
|
|
|
|
|
<!-- NOT TESTED: Microsoft.NET.Sdk.WindowsDesktop -->
|
|
|
|
|
<!-- Workaround: Clear C:\Users\Peter K\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache (and bin and obj) -->
|
|
|
|
|
<!-- Workaround for XAML compiler issue https://github.com/dotnet/wpf/issues/4299
|
|
|
|
|
<UsingTask TaskName="Sleep" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
|
|
|
|
|
<ParameterGroup>
|
|
|
|
|
<Delay ParameterType="System.Int32" Required="true" />
|
|
|
|
|
</ParameterGroup>
|
|
|
|
|
<Task>
|
|
|
|
|
<Code Type="Fragment" Language="cs">
|
|
|
|
|
<![CDATA[
|
|
|
|
|
System.Threading.Thread.Sleep(this.Delay);
|
|
|
|
|
]]>
|
|
|
|
|
</Code>
|
|
|
|
|
</Task>
|
|
|
|
|
</UsingTask>
|
|
|
|
|
|
|
|
|
|
<Target Name="WaitForFiles" BeforeTargets="CoreCompile">
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<WaitTime>5000</WaitTime>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Message Text="Waiting for $(WaitTime)ms" Importance="high" />
|
|
|
|
|
<Sleep Delay="$(WaitTime)"/>
|
|
|
|
|
</Target>
|
|
|
|
|
-->
|
2019-07-05 05:04:14 +12:00
|
|
|
|
</Project>
|