mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-05-19 11:53:02 +12:00
Simplified project files
This commit is contained in:
parent
9fa06e927f
commit
ad8e46997d
|
@ -58,51 +58,18 @@
|
||||||
<AppxBundlePlatforms>x86|x64</AppxBundlePlatforms>
|
<AppxBundlePlatforms>x86|x64</AppxBundlePlatforms>
|
||||||
<AppInstallerUri>https://github.com/Hofknecht/SystemTrayMenu/releases</AppInstallerUri>
|
<AppInstallerUri>https://github.com/Hofknecht/SystemTrayMenu/releases</AppInstallerUri>
|
||||||
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
|
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
||||||
<AppxBundle>Always</AppxBundle>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
||||||
<AppxBundle>Always</AppxBundle>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleasePackage|x64'">
|
|
||||||
<AppxBundle>Always</AppxBundle>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleasePackage|AnyCPU'">
|
|
||||||
<AppxBundle>Always</AppxBundle>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
|
|
||||||
<AppxBundle>Always</AppxBundle>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleasePackage|x86'">
|
|
||||||
<AppxBundle>Always</AppxBundle>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
||||||
<AppxBundle>Always</AppxBundle>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
||||||
<AppxBundle>Always</AppxBundle>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
|
|
||||||
<AppxBundle>Always</AppxBundle>
|
<AppxBundle>Always</AppxBundle>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\SystemTrayMenu.csproj">
|
||||||
|
<!-- https://github.com/dotnet/msbuild/issues/3356 TODO: Check how to solve multi targets -->
|
||||||
|
<!-- <SetTargetFramework>TargetFramework=net7.0-windows10.0.22000.0</SetTargetFramework> -->
|
||||||
|
<!-- <SkipGetTargetFrameworkProperties>False</SkipGetTargetFrameworkProperties> -->
|
||||||
|
</ProjectReference>
|
||||||
<AppxManifest Include="Package.appxmanifest">
|
<AppxManifest Include="Package.appxmanifest">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</AppxManifest>
|
</AppxManifest>
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="Package.StoreAssociation.xml" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\SystemTrayMenu.csproj">
|
|
||||||
<SkipGetTargetFrameworkProperties>True</SkipGetTargetFrameworkProperties>
|
|
||||||
</ProjectReference>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="Properties\" />
|
<Folder Include="Properties\" />
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Content Include="Images\BadgeLogo.scale-100.png" />
|
<Content Include="Images\BadgeLogo.scale-100.png" />
|
||||||
<Content Include="Images\BadgeLogo.scale-125.png" />
|
<Content Include="Images\BadgeLogo.scale-125.png" />
|
||||||
<Content Include="Images\BadgeLogo.scale-150.png" />
|
<Content Include="Images\BadgeLogo.scale-150.png" />
|
||||||
|
@ -158,6 +125,7 @@
|
||||||
<Content Include="Images\Wide310x150Logo.scale-150.png" />
|
<Content Include="Images\Wide310x150Logo.scale-150.png" />
|
||||||
<Content Include="Images\Wide310x150Logo.scale-200.png" />
|
<Content Include="Images\Wide310x150Logo.scale-200.png" />
|
||||||
<Content Include="Images\Wide310x150Logo.scale-400.png" />
|
<Content Include="Images\Wide310x150Logo.scale-400.png" />
|
||||||
|
<None Include="Package.StoreAssociation.xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />
|
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />
|
||||||
</Project>
|
</Project>
|
|
@ -1,11 +1,20 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<!-- Global project settings -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net7.0-windows10.0.22000.0</TargetFramework>
|
<!-- https://learn.microsoft.com/en-us/dotnet/standard/frameworks -->
|
||||||
|
<!--<TargetFrameworks>net7.0-windows10.0.22000.0;net7.0</TargetFrameworks>-->
|
||||||
|
<TargetFrameworks>net7.0-windows10.0.22000.0</TargetFrameworks>
|
||||||
|
<!-- https://docs.microsoft.com/en-us/dotnet/core/rid-catalog -->
|
||||||
|
<RuntimeIdentifier Condition=" '$(TargetFramework)' == 'net7.0-windows10.0.22000.0' ">win-x64</RuntimeIdentifier>
|
||||||
|
<RuntimeIdentifier Condition=" '$(TargetFramework)' == 'net7.0' ">linux-x64</RuntimeIdentifier>
|
||||||
|
<UseWPF Condition=" '$(RuntimeIdentifier)' == 'win-x64' ">True</UseWPF>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
<SelfContained>true</SelfContained>
|
<SelfContained>true</SelfContained>
|
||||||
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
|
|
||||||
<UseWPF>True</UseWPF>
|
|
||||||
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
|
||||||
|
<Platforms>x64;x86;AnyCPU</Platforms>
|
||||||
|
<Configurations>Debug;Release;ReleasePackage</Configurations>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
|
<OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath>
|
||||||
<PublishUrl>publish\</PublishUrl>
|
<PublishUrl>publish\</PublishUrl>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
<InstallFrom>Disk</InstallFrom>
|
<InstallFrom>Disk</InstallFrom>
|
||||||
|
@ -20,103 +29,42 @@
|
||||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
<UseApplicationTrust>true</UseApplicationTrust>
|
<UseApplicationTrust>true</UseApplicationTrust>
|
||||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||||
<Nullable>enable</Nullable>
|
<PreBuildEvent>taskkill /f /fi "pid gt 0" /im SystemTrayMenu.exe >nul
|
||||||
<Platforms>x64;x86;AnyCPU</Platforms>
|
EXIT 0</PreBuildEvent>
|
||||||
<Configurations>Debug;Release;ReleasePackage</Configurations>
|
<RepositoryUrl>https://github.com/Hofknecht/SystemTrayMenu</RepositoryUrl>
|
||||||
</PropertyGroup>
|
<PackageIcon>icon.png</PackageIcon>
|
||||||
<PropertyGroup>
|
<PackageProjectUrl>hofknecht.eu/systemtraymenu/</PackageProjectUrl>
|
||||||
|
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||||
|
<RepositoryType></RepositoryType>
|
||||||
|
<PackageTags>SystemTrayMenu</PackageTags>
|
||||||
|
<SupportedOSPlatformVersion>10.0.22000.0</SupportedOSPlatformVersion>
|
||||||
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||||
|
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
|
||||||
|
<EnableNETAnalyzers>True</EnableNETAnalyzers>
|
||||||
<StartupObject>SystemTrayMenu.Program</StartupObject>
|
<StartupObject>SystemTrayMenu.Program</StartupObject>
|
||||||
</PropertyGroup>
|
<ApplicationManifest>Resources\app.manifest</ApplicationManifest>
|
||||||
<PropertyGroup>
|
|
||||||
<ApplicationIcon>Resources\SystemTrayMenu.ico</ApplicationIcon>
|
<ApplicationIcon>Resources\SystemTrayMenu.ico</ApplicationIcon>
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
|
||||||
<OutputPath>bin\x64\Debug\</OutputPath>
|
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<!-- Release settings -->
|
||||||
<OutputPath>bin\AnyCPU\Debug\</OutputPath>
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
||||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
|
|
||||||
<OutputPath>bin\x86\Debug\</OutputPath>
|
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
||||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
|
||||||
<OutputPath>bin\x64\Release\</OutputPath>
|
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
||||||
<OutputPath>bin\AnyCPU\Release\</OutputPath>
|
|
||||||
<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'">
|
|
||||||
<OutputPath>bin\AnyCPU\Release\</OutputPath>
|
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
|
|
||||||
<OutputPath>bin\x86\Release\</OutputPath>
|
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleasePackage|x86'">
|
|
||||||
<OutputPath>bin\x86\Release\</OutputPath>
|
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
||||||
<ErrorReport>none</ErrorReport>
|
<ErrorReport>none</ErrorReport>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<Optimize>True</Optimize>
|
<Optimize>True</Optimize>
|
||||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
||||||
<ErrorReport>none</ErrorReport>
|
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<Optimize>True</Optimize>
|
|
||||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleasePackage|x64'">
|
|
||||||
<ErrorReport>none</ErrorReport>
|
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<Optimize>True</Optimize>
|
|
||||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleasePackage|AnyCPU'">
|
|
||||||
<ErrorReport>none</ErrorReport>
|
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<Optimize>True</Optimize>
|
|
||||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
|
|
||||||
<ErrorReport>none</ErrorReport>
|
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<Optimize>True</Optimize>
|
|
||||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleasePackage|x86'">
|
|
||||||
<ErrorReport>none</ErrorReport>
|
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<Optimize>True</Optimize>
|
|
||||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<!-- Files -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedResource Remove="UserInterface\Menu.resx" />
|
|
||||||
<ApplicationDefinition Include="Business\App.xaml" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="Clearcove.Logging, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
||||||
<SpecificVersion>False</SpecificVersion>
|
|
||||||
<HintPath>ThirdParty\Clearcove.Logging.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<AdditionalFiles Include=".stylecop.json" />
|
<AdditionalFiles Include=".stylecop.json" />
|
||||||
</ItemGroup>
|
<ApplicationDefinition Include="Business\App.xaml" />
|
||||||
<ItemGroup>
|
<EmbeddedResource Remove="UserInterface\Menu.resx" />
|
||||||
|
<Resource Include="Resources\SystemTrayMenu.ico" />
|
||||||
|
<Resource Include="Resources\SystemTrayMenu.png" />
|
||||||
|
<Resource Include="Resources\LinkArrow.ico" />
|
||||||
|
<Resource Include="Resources\Loading.ico" />
|
||||||
|
<Resource Include="Resources\HowToOpenSettings.png" />
|
||||||
|
<Resource Include="Resources\NotFound.ico" />
|
||||||
|
<Folder Include="Packaging\AppPackages\" />
|
||||||
<Compile Update="Properties\Settings.Designer.cs">
|
<Compile Update="Properties\Settings.Designer.cs">
|
||||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
|
@ -126,16 +74,39 @@
|
||||||
<Pack>True</Pack>
|
<Pack>True</Pack>
|
||||||
<PackagePath></PackagePath>
|
<PackagePath></PackagePath>
|
||||||
</None>
|
</None>
|
||||||
|
<None Update="Package.appxmanifest">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</None>
|
||||||
|
<None Update="Properties\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Update="README.md">
|
||||||
|
<Pack>True</Pack>
|
||||||
|
<PackagePath>\</PackagePath>
|
||||||
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<!-- References NuGet -->
|
||||||
<Resource Include="Resources\SystemTrayMenu.ico" />
|
<ItemGroup Condition=" '$(RuntimeIdentifier)' == 'win-x64' ">
|
||||||
<Resource Include="Resources\SystemTrayMenu.png" />
|
<FrameworkReference Update="Microsoft.WindowsDesktop.App;Microsoft.WindowsDesktop.App.WPF" TargetingPackVersion="7.0.0" />
|
||||||
<Resource Include="Resources\LinkArrow.ico" />
|
<PackageReference Include="H.NotifyIcon" Version="2.0.118" />
|
||||||
<Resource Include="Resources\Loading.ico" />
|
<PackageReference Include="HidSharp" Version="2.1.0" />
|
||||||
<Resource Include="Resources\HowToOpenSettings.png" />
|
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0-preview1.23165.1">
|
||||||
<Resource Include="Resources\NotFound.ico" />
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
|
<PackageReference Include="PixiEditor.ColorPicker" Version="3.4.1" />
|
||||||
|
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.507">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
|
<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>
|
||||||
<ItemGroup>
|
<!-- References Native -->
|
||||||
|
<ItemGroup Condition=" '$(RuntimeIdentifier)' == 'win-x64' ">
|
||||||
<COMReference Include="IWshRuntimeLibrary">
|
<COMReference Include="IWshRuntimeLibrary">
|
||||||
<Guid>{F935DC20-1CF0-11D0-ADB9-00C04FD58A0B}</Guid>
|
<Guid>{F935DC20-1CF0-11D0-ADB9-00C04FD58A0B}</Guid>
|
||||||
<VersionMajor>1</VersionMajor>
|
<VersionMajor>1</VersionMajor>
|
||||||
|
@ -155,77 +126,4 @@
|
||||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
</COMReference>
|
</COMReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="H.NotifyIcon" Version="2.0.118" />
|
|
||||||
<PackageReference Include="HidSharp" Version="2.1.0" />
|
|
||||||
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0-preview1.23165.1">
|
|
||||||
<PrivateAssets>all</PrivateAssets>
|
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
||||||
</PackageReference>
|
|
||||||
<PackageReference Include="PixiEditor.ColorPicker" Version="3.4.1" />
|
|
||||||
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.507">
|
|
||||||
<PrivateAssets>all</PrivateAssets>
|
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
||||||
</PackageReference>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="Packaging\AppPackages\" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Update="Package.appxmanifest">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</None>
|
|
||||||
<None Update="Properties\Settings.settings">
|
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
|
||||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
|
||||||
</None>
|
|
||||||
<None Update="README.md">
|
|
||||||
<Pack>True</Pack>
|
|
||||||
<PackagePath>\</PackagePath>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
|
||||||
<PropertyGroup>
|
|
||||||
<PreBuildEvent>taskkill /f /fi "pid gt 0" /im SystemTrayMenu.exe >nul
|
|
||||||
EXIT 0</PreBuildEvent>
|
|
||||||
<RepositoryUrl>https://github.com/Hofknecht/SystemTrayMenu</RepositoryUrl>
|
|
||||||
<PackageIcon>icon.png</PackageIcon>
|
|
||||||
<PackageProjectUrl>hofknecht.eu/systemtraymenu/</PackageProjectUrl>
|
|
||||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
|
||||||
<RepositoryType></RepositoryType>
|
|
||||||
<PackageTags>SystemTrayMenu</PackageTags>
|
|
||||||
<SupportedOSPlatformVersion>10.0.22000.0</SupportedOSPlatformVersion>
|
|
||||||
<ApplicationManifest>Resources\app.manifest</ApplicationManifest>
|
|
||||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
|
||||||
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
|
|
||||||
<EnableNETAnalyzers>True</EnableNETAnalyzers>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<FrameworkReference Update="Microsoft.WindowsDesktop.App;Microsoft.WindowsDesktop.App.WPF" TargetingPackVersion="7.0.0" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<!-- 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>
|
|
||||||
-->
|
|
||||||
</Project>
|
</Project>
|
Loading…
Reference in a new issue