From 1520a5f4a99253518190b024cb42aa5475bb6f47 Mon Sep 17 00:00:00 2001 From: Robin Date: Tue, 27 Nov 2018 16:01:32 +0100 Subject: [PATCH] Added a Condition for the Windows 10 project, it will only be build if the current system runs Windows 10. --- src/Directory.Build.props | 27 +++++++++++---------- src/Greenshot/Greenshot.csproj | 44 +++++++++++++++++----------------- 2 files changed, 36 insertions(+), 35 deletions(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 2f506ea9a..41d23e844 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -3,33 +3,34 @@ Copyright © Greenshot 2004-2018 Greenshot https://getgreenshot.org/favicon.ico - https://github.com/greenshot/greenshot + https://github.com/greenshot/greenshot git https://github.com/greenshot/greenshot https://www.gnu.org/licenses/gpl.html - latest - - true - 1.0.0 + latest + + true + 1.0.0 1.0.0 1.0.0 {HintPathFromItem};{TargetFrameworkDirectory};{RawFileName};{GAC}; true false + $(registry:HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion@ProductName) - + true - $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb - true - true + $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb + true + true false - false + false - + DEBUG;TRACE True @@ -39,8 +40,8 @@ - true - pdbonly + true + pdbonly True diff --git a/src/Greenshot/Greenshot.csproj b/src/Greenshot/Greenshot.csproj index a71bb32d3..d7d68cc36 100644 --- a/src/Greenshot/Greenshot.csproj +++ b/src/Greenshot/Greenshot.csproj @@ -7,9 +7,9 @@ icons\applicationIcon\icon.ico True greenshot.manifest - Greenshot + Greenshot Greenshot - win-x64 + win-x64 @@ -19,21 +19,21 @@ - + - + - + @@ -105,24 +105,24 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + \ No newline at end of file