-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from Krypton-Suite/82-alpha-Add-DesignerDPIUna…
…ware - Add DesignerDPIUnaware to all projects
- Loading branch information
Showing
2 changed files
with
142 additions
and
137 deletions.
There are no files selected for viewing
166 changes: 84 additions & 82 deletions
166
Applications/Source/Palette Designer/Palette Designer 2022.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,92 +1,94 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net48;net481;net6.0-windows;net7.0-windows;net8.0-windows</TargetFrameworks> | ||
<OutputType>WinExe</OutputType> | ||
<UseWindowsForms>true</UseWindowsForms> | ||
<RootNamespace>PaletteDesigner</RootNamespace> | ||
<AssemblyName>Palette Designer</AssemblyName> | ||
<ApplicationIcon>Krypton.ico</ApplicationIcon> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<LangVersion>preview</LangVersion> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<EnableNETAnalyzers>true</EnableNETAnalyzers> | ||
<AnalysisLevel>latest</AnalysisLevel> | ||
<NeutralLanguage>en</NeutralLanguage> | ||
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports> | ||
<Nullable>enable</Nullable> | ||
<WarningLevel>6</WarningLevel> | ||
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<TargetFrameworks>net48;net481;net6.0-windows;net7.0-windows;net8.0-windows</TargetFrameworks> | ||
<OutputType>WinExe</OutputType> | ||
<UseWindowsForms>true</UseWindowsForms> | ||
<RootNamespace>PaletteDesigner</RootNamespace> | ||
<AssemblyName>Palette Designer</AssemblyName> | ||
<ApplicationIcon>Krypton.ico</ApplicationIcon> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<LangVersion>preview</LangVersion> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<EnableNETAnalyzers>true</EnableNETAnalyzers> | ||
<AnalysisLevel>latest</AnalysisLevel> | ||
<NeutralLanguage>en</NeutralLanguage> | ||
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports> | ||
<Nullable>enable</Nullable> | ||
<WarningLevel>6</WarningLevel> | ||
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio> | ||
<ApplicationHighDpiMode>SystemAware</ApplicationHighDpiMode> | ||
<ForceDesignerDpiUnaware>true</ForceDesignerDpiUnaware> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Content Include="Krypton.ico" /> | ||
<Content Include="Resources\KryptonNav.png" /> | ||
<Content Include="Resources\TopB.png" /> | ||
<Content Include="Resources\TopGroup.png" /> | ||
<Content Include="Resources\TopH.png" /> | ||
<Content Include="Resources\TopHG.png" /> | ||
<Content Include="Resources\TopNavigate.png" /> | ||
<Content Include="Resources\TopPanel.png" /> | ||
<Content Include="Resources\TopSC.png" /> | ||
<Content Include="Resources\TopT.png" /> | ||
<Content Include="Resources\TopTMS.png" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="Krypton.ico" /> | ||
<Content Include="Resources\KryptonNav.png" /> | ||
<Content Include="Resources\TopB.png" /> | ||
<Content Include="Resources\TopGroup.png" /> | ||
<Content Include="Resources\TopH.png" /> | ||
<Content Include="Resources\TopHG.png" /> | ||
<Content Include="Resources\TopNavigate.png" /> | ||
<Content Include="Resources\TopPanel.png" /> | ||
<Content Include="Resources\TopSC.png" /> | ||
<Content Include="Resources\TopT.png" /> | ||
<Content Include="Resources\TopTMS.png" /> | ||
</ItemGroup> | ||
|
||
<Choose> | ||
<When Condition="'$(SolutionName.Endswith(`Nuget`))'"> | ||
<ItemGroup> | ||
<PackageReference Include="Krypton.Navigator.Nightly" Version="60.22.2.41-beta" /> | ||
<PackageReference Include="Krypton.Ribbon.Nightly" Version="60.22.2.41-beta" /> | ||
<PackageReference Include="Krypton.Toolkit.Nightly" Version="60.22.2.41-beta" /> | ||
</ItemGroup> | ||
</When> | ||
<Otherwise> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\..\..\Standard-Toolkit\Source\Krypton Components\Krypton.Navigator\Krypton.Navigator 2022.csproj" /> | ||
<ProjectReference Include="..\..\..\..\Standard-Toolkit\Source\Krypton Components\Krypton.Ribbon\Krypton.Ribbon 2022.csproj" /> | ||
<ProjectReference Include="..\..\..\..\Standard-Toolkit\Source\Krypton Components\Krypton.Toolkit\Krypton.Toolkit 2022.csproj" /> | ||
</ItemGroup> | ||
</Otherwise> | ||
</Choose> | ||
<Choose> | ||
<When Condition="'$(SolutionName.Endswith(`Nuget`))'"> | ||
<ItemGroup> | ||
<PackageReference Include="Krypton.Navigator.Nightly" Version="60.22.2.41-beta" /> | ||
<PackageReference Include="Krypton.Ribbon.Nightly" Version="60.22.2.41-beta" /> | ||
<PackageReference Include="Krypton.Toolkit.Nightly" Version="60.22.2.41-beta" /> | ||
</ItemGroup> | ||
</When> | ||
<Otherwise> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\..\..\Standard-Toolkit\Source\Krypton Components\Krypton.Navigator\Krypton.Navigator 2022.csproj" /> | ||
<ProjectReference Include="..\..\..\..\Standard-Toolkit\Source\Krypton Components\Krypton.Ribbon\Krypton.Ribbon 2022.csproj" /> | ||
<ProjectReference Include="..\..\..\..\Standard-Toolkit\Source\Krypton Components\Krypton.Toolkit\Krypton.Toolkit 2022.csproj" /> | ||
</ItemGroup> | ||
</Otherwise> | ||
</Choose> | ||
|
||
|
||
<ItemGroup> | ||
<Compile Update="Pages\MenuPage.cs"> | ||
<SubType>UserControl</SubType> | ||
</Compile> | ||
<Compile Update="Pages\InputControls.cs"> | ||
<SubType>UserControl</SubType> | ||
</Compile> | ||
<Compile Update="Properties\Resources.Designer.cs"> | ||
<DesignTime>True</DesignTime> | ||
<AutoGen>True</AutoGen> | ||
<DependentUpon>Resources.resx</DependentUpon> | ||
</Compile> | ||
<Compile Update="Properties\Settings.Designer.cs"> | ||
<DesignTimeSharedInput>True</DesignTimeSharedInput> | ||
<AutoGen>True</AutoGen> | ||
<DependentUpon>Settings.settings</DependentUpon> | ||
</Compile> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Update="Pages\MenuPage.cs"> | ||
<SubType>UserControl</SubType> | ||
</Compile> | ||
<Compile Update="Pages\InputControls.cs"> | ||
<SubType>UserControl</SubType> | ||
</Compile> | ||
<Compile Update="Properties\Resources.Designer.cs"> | ||
<DesignTime>True</DesignTime> | ||
<AutoGen>True</AutoGen> | ||
<DependentUpon>Resources.resx</DependentUpon> | ||
</Compile> | ||
<Compile Update="Properties\Settings.Designer.cs"> | ||
<DesignTimeSharedInput>True</DesignTimeSharedInput> | ||
<AutoGen>True</AutoGen> | ||
<DependentUpon>Settings.settings</DependentUpon> | ||
</Compile> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<EmbeddedResource Update="Properties\Resources.resx"> | ||
<Generator>ResXFileCodeGenerator</Generator> | ||
<LastGenOutput>Resources.Designer.cs</LastGenOutput> | ||
</EmbeddedResource> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<EmbeddedResource Update="Properties\Resources.resx"> | ||
<Generator>ResXFileCodeGenerator</Generator> | ||
<LastGenOutput>Resources.Designer.cs</LastGenOutput> | ||
</EmbeddedResource> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Update="Properties\Settings.settings"> | ||
<Generator>SettingsSingleFileGenerator</Generator> | ||
<LastGenOutput>Settings.Designer.cs</LastGenOutput> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Update="Properties\Settings.settings"> | ||
<Generator>SettingsSingleFileGenerator</Generator> | ||
<LastGenOutput>Settings.Designer.cs</LastGenOutput> | ||
</None> | ||
</ItemGroup> | ||
|
||
<PropertyGroup> | ||
<OutputPath>..\..\Binaries\Krypton Demos\$(Configuration)\</OutputPath> | ||
<ApplicationManifest>app.manifest</ApplicationManifest> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<OutputPath>..\..\Binaries\Krypton Demos\$(Configuration)\</OutputPath> | ||
<ApplicationManifest>app.manifest</ApplicationManifest> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
</Project> |
113 changes: 58 additions & 55 deletions
113
...cations/Source/Palette Upgrade Tool/Palette Upgrade Tool/Palette Upgrade Tool 2022.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,65 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net48;net481;net8.0-windows;net9.0-windows</TargetFrameworks> | ||
<OutputType>WinExe</OutputType> | ||
<UseWindowsForms>true</UseWindowsForms> | ||
<ApplicationIcon>Resources\Krypton.ico</ApplicationIcon> | ||
<RootNamespace>PaletteUpgradeTool</RootNamespace> | ||
<AssemblyName>Palette Upgrade Tool</AssemblyName> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<LangVersion>preview</LangVersion> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<EnableNETAnalyzers>true</EnableNETAnalyzers> | ||
<AnalysisLevel>latest</AnalysisLevel> | ||
<NeutralLanguage>en</NeutralLanguage> | ||
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<TargetFrameworks>net48;net481;net8.0-windows;net9.0-windows</TargetFrameworks> | ||
<OutputType>WinExe</OutputType> | ||
<UseWindowsForms>true</UseWindowsForms> | ||
<ApplicationIcon>Resources\Krypton.ico</ApplicationIcon> | ||
<RootNamespace>PaletteUpgradeTool</RootNamespace> | ||
<AssemblyName>Palette Upgrade Tool</AssemblyName> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<LangVersion>preview</LangVersion> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<EnableNETAnalyzers>true</EnableNETAnalyzers> | ||
<AnalysisLevel>latest</AnalysisLevel> | ||
<NeutralLanguage>en</NeutralLanguage> | ||
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports> | ||
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio> | ||
<ApplicationHighDpiMode>SystemAware</ApplicationHighDpiMode> | ||
<ForceDesignerDpiUnaware>true</ForceDesignerDpiUnaware> | ||
</PropertyGroup> | ||
|
||
<Choose> | ||
<When Condition="'$(Platform)' == 'Nuget'"> | ||
<ItemGroup> | ||
<PackageReference Include="Krypton.Toolkit.Canary" Version="90.24.6.176-beta" /> | ||
</ItemGroup> | ||
</When> | ||
<Otherwise> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\..\..\..\Standard-Toolkit\Source\Krypton Components\Krypton.Toolkit\Krypton.Toolkit 2022.csproj" /> | ||
</ItemGroup> | ||
</Otherwise> | ||
</Choose> | ||
<Choose> | ||
<When Condition="'$(Platform)' == 'Nuget'"> | ||
<ItemGroup> | ||
<PackageReference Include="Krypton.Toolkit.Canary" Version="90.24.6.176-beta" /> | ||
</ItemGroup> | ||
</When> | ||
<Otherwise> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\..\..\..\Standard-Toolkit\Source\Krypton Components\Krypton.Toolkit\Krypton.Toolkit 2022.csproj" /> | ||
</ItemGroup> | ||
</Otherwise> | ||
</Choose> | ||
|
||
<PropertyGroup> | ||
<ApplicationManifest>app.manifest</ApplicationManifest> | ||
<PackageIcon>Krypton Icon 128 x 128.png</PackageIcon> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<ApplicationManifest>app.manifest</ApplicationManifest> | ||
<PackageIcon>Krypton Icon 128 x 128.png</PackageIcon> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Compile Update="Properties\Resources.Designer.cs"> | ||
<DesignTime>True</DesignTime> | ||
<AutoGen>True</AutoGen> | ||
<DependentUpon>Resources.resx</DependentUpon> | ||
</Compile> | ||
<Compile Update="Properties\Settings.Designer.cs"> | ||
<DesignTimeSharedInput>True</DesignTimeSharedInput> | ||
<AutoGen>True</AutoGen> | ||
<DependentUpon>Settings.settings</DependentUpon> | ||
</Compile> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Update="Properties\Resources.Designer.cs"> | ||
<DesignTime>True</DesignTime> | ||
<AutoGen>True</AutoGen> | ||
<DependentUpon>Resources.resx</DependentUpon> | ||
</Compile> | ||
<Compile Update="Properties\Settings.Designer.cs"> | ||
<DesignTimeSharedInput>True</DesignTimeSharedInput> | ||
<AutoGen>True</AutoGen> | ||
<DependentUpon>Settings.settings</DependentUpon> | ||
</Compile> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<EmbeddedResource Update="Properties\Resources.resx"> | ||
<Generator>ResXFileCodeGenerator</Generator> | ||
<LastGenOutput>Resources.Designer.cs</LastGenOutput> | ||
</EmbeddedResource> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<EmbeddedResource Update="Properties\Resources.resx"> | ||
<Generator>ResXFileCodeGenerator</Generator> | ||
<LastGenOutput>Resources.Designer.cs</LastGenOutput> | ||
</EmbeddedResource> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Update="Properties\Settings.settings"> | ||
<Generator>SettingsSingleFileGenerator</Generator> | ||
<LastGenOutput>Settings.Designer.cs</LastGenOutput> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Update="Properties\Settings.settings"> | ||
<Generator>SettingsSingleFileGenerator</Generator> | ||
<LastGenOutput>Settings.Designer.cs</LastGenOutput> | ||
</None> | ||
</ItemGroup> | ||
</Project> |