Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Šulek committed Jul 14, 2023
2 parents be29669 + 83446b5 commit 0aeaf68
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 267 deletions.
20 changes: 7 additions & 13 deletions nugets/LHQ.NugetPackages.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26228.102
# Visual Studio Version 17
VisualStudioVersion = 17.5.33424.131
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nuget.NetCore.Localization", "NetCore.Localization\Nuget.NetCore.Localization.csproj", "{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}"
EndProject
Expand All @@ -26,21 +26,15 @@ Global
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.Debug|x86.ActiveCfg = Debug|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.Debug|x86.Build.0 = Debug|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.DebugSNK|Any CPU.ActiveCfg = DebugSNK|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.DebugSNK|Any CPU.Build.0 = DebugSNK|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.DebugSNK|x86.ActiveCfg = DebugSNK|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.DebugSNK|x86.Build.0 = DebugSNK|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.DebugVS2019|Any CPU.ActiveCfg = DebugSNK|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.DebugVS2019|Any CPU.Build.0 = DebugSNK|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.DebugVS2019|x86.ActiveCfg = DebugSNK|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.DebugVS2019|x86.Build.0 = DebugSNK|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.DebugSNK|x86.ActiveCfg = DebugVS2019|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.DebugVS2019|Any CPU.ActiveCfg = DebugVS2019|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.DebugVS2019|x86.ActiveCfg = DebugVS2019|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.Release|Any CPU.Build.0 = Release|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.Release|x86.ActiveCfg = Release|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.Release|x86.Build.0 = Release|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.ReleaseSNK|Any CPU.ActiveCfg = ReleaseSNK|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.ReleaseSNK|Any CPU.Build.0 = ReleaseSNK|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.ReleaseSNK|x86.ActiveCfg = ReleaseSNK|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.ReleaseSNK|x86.Build.0 = ReleaseSNK|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.ReleaseSNK|Any CPU.ActiveCfg = Release|Any CPU
{9C5A233F-6E86-47EF-AF3F-576A77E8C75A}.ReleaseSNK|x86.ActiveCfg = Release|Any CPU
{AE6E041B-9DFC-4386-8A1B-CD3CBF73227D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AE6E041B-9DFC-4386-8A1B-CD3CBF73227D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AE6E041B-9DFC-4386-8A1B-CD3CBF73227D}.Debug|x86.ActiveCfg = Debug|x86
Expand Down
25 changes: 0 additions & 25 deletions nugets/WPF.Localization/Nuget.WPF.Localization.StrongName.nuspec

This file was deleted.

204 changes: 56 additions & 148 deletions nugets/WPF.Localization/Nuget.WPF.Localization.csproj
Original file line number Diff line number Diff line change
@@ -1,149 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{AE6E041B-9DFC-4386-8A1B-CD3CBF73227D}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ScaleHQ.WPF.LHQ</RootNamespace>
<AssemblyName>ScaleHQ.WPF.LHQ</AssemblyName>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\ScaleHQ.WPF.LHQ.xml</DocumentationFile>
<LangVersion>7.1</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>7.1</LangVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DocumentationFile>bin\Debug\ScaleHQ.LHQ.WPF.xml</DocumentationFile>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugSNK|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\DebugSNK\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DocumentationFile>bin\Debug\ScaleHQ.WPF.LHQ.xml</DocumentationFile>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>7.1</LangVersion>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugSNK|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\DebugSNK\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DocumentationFile>bin\Debug\ScaleHQ.LHQ.WPF.xml</DocumentationFile>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseSNK|AnyCPU'">
<OutputPath>bin\ReleaseSNK\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>7.1</LangVersion>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseSNK|x86'">
<OutputPath>bin\x86\ReleaseSNK\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'DebugSNK' or '$(Configuration)' == 'ReleaseSNK'">
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\LHQ.NugetPackages.snk</AssemblyOriginatorKeyFile>
<NuspecFile>Nuget.WPF.Localization.StrongName.nuspec</NuspecFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug' or '$(Configuration)' == 'Release'">
<NuspecFile>Nuget.WPF.Localization.nuspec</NuspecFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="DynamicLocalizableResource.cs" />
<Compile Include="DynamicLocalizableResourceConverter.cs" />
<Compile Include="Helper.cs" />
<Compile Include="LocalizationBindingsBehavior.cs" />
<Compile Include="LocalizationSourceBehavior.cs" />
<Compile Include="LocalizationConverter.cs" />
<Compile Include="LocalizationContextFactoryBase.cs" />
<Compile Include="LocalizationContextFactoryAttribute.cs" />
<Compile Include="LocalizationExtension.cs" />
<Compile Include="LocalizationSource.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ResourceKeyConverter.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Nuget.WPF.Localization.nuspec">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<None Include="Nuget.WPF.Localization.StrongName.nuspec">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="readme.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>
$(SolutionDir)Tool\nuget.exe pack $(TargetDir)$(NuspecFile) -OutputDirectory $(SolutionDir)BuildDrop
</PostBuildEvent>
</PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net46;net5.0-windows</TargetFrameworks>
<OutputType>Library</OutputType>
<RootNamespace>ScaleHQ.WPF.LHQ</RootNamespace>
<AssemblyName>ScaleHQ.WPF.LHQ</AssemblyName>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<UseWPF>true</UseWPF>
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
<Title>ScaleHQ LHQ Editor Support Library for WPF projects</Title>
<Version>2.0.0</Version>
<Authors>ScaleHQ Solutions</Authors>
<Company>ScaleHQ Solutions</Company>
<Description>Localization library consuming LHQ localization files (*.lhq) to be used in WPF application as markup extension in xaml.</Description>
<Copyright>Copyright (c) 2023 ScaleHQ Solutions</Copyright>
<PackageProjectUrl>https://psulek.github.io/lhqeditor</PackageProjectUrl>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<PackageTags>lhq,localization,strings,editor,resx,wpf</PackageTags>
<PackageReleaseNotes>Added new target framework for NET5</PackageReleaseNotes>
<PackageOutputPath>$(SolutionDir)BuildDrop</PackageOutputPath>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<IncludeSymbols>False</IncludeSymbols>
<Configurations>Debug;Release;DebugVS2019;DebugSNK</Configurations>
</PropertyGroup>
<ItemGroup>
<InternalsVisibleTo Include="LHQ.VsExtension, PublicKey=00240000048000009400000006020000002400005253413100040000010001000f53a7971e35c4572315c5ae7f37792d01706bc68f5877736c6764965e55330343d9ee07e1598e53d30274dd0084f6aad2bb6dc3e6b1a7ad6b44d8970a61b7bd47bc4d4abace88c0bc237e1ddc0cfd1a9ea4e470cf6c6e727e87b48e5a29406f75c2fa3c07593e15b031bd5dba83fd8bf6b6a20ff3367807e8ed7fab3ef1d8be"/>
</ItemGroup>
<ItemGroup>
<None Include="readme.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>

<PropertyGroup Condition="'$(Configuration)' == 'DebugSNK' or '$(Configuration)' == 'ReleaseSNK'">
<PackageId>ScaleHQ.WPF.LHQ.StrongName</PackageId>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\LHQ.NugetPackages.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Debug' or '$(Configuration)' == 'Release'">
<PackageId>ScaleHQ.WPF.LHQ</PackageId>
</PropertyGroup>
</Project>
25 changes: 0 additions & 25 deletions nugets/WPF.Localization/Nuget.WPF.Localization.nuspec

This file was deleted.

44 changes: 0 additions & 44 deletions nugets/WPF.Localization/Properties/AssemblyInfo.cs

This file was deleted.

10 changes: 10 additions & 0 deletions nugets/WPF.Localization/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## ScaleHQ LHQ Editor Support Library for WPF projects

This Nuget package contains support for WPF with custom XAML Markup extension.
This library is required to successfully use C# classes generated from Visual Studio Extension - **Localization HQ Editor**.

For example, how to use this library, add new project `Windows WPF Application with LHQ` within `Localization HQ Editor` group.
Visual Studio Extension - **Localization HQ Editor** is required for this library to be useful.

For more info about Localization HQ Editor, visit the official web site:
https://psulek.github.io/lhqeditor
12 changes: 0 additions & 12 deletions nugets/WPF.Localization/readme.txt

This file was deleted.

0 comments on commit 0aeaf68

Please sign in to comment.