-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/psulek/lhqeditor
- Loading branch information
Showing
7 changed files
with
73 additions
and
267 deletions.
There are no files selected for viewing
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
25 changes: 0 additions & 25 deletions
25
nugets/WPF.Localization/Nuget.WPF.Localization.StrongName.nuspec
This file was deleted.
Oops, something went wrong.
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,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> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -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 |
This file was deleted.
Oops, something went wrong.