Skip to content

Commit

Permalink
#3: Prepare solution for GUI tool
Browse files Browse the repository at this point in the history
  • Loading branch information
marth8880 committed Jan 2, 2025
1 parent 2e99602 commit 82450bb
Show file tree
Hide file tree
Showing 19 changed files with 551 additions and 14 deletions.
16 changes: 14 additions & 2 deletions ZeroLocalizationTool.sln
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27130.2024
# Visual Studio Version 16
VisualStudioVersion = 16.0.35425.106
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZeroLocalizationTool", "ZeroLocalizationTool\ZeroLocalizationTool.csproj", "{1CCF27B7-67DF-4E18-AB66-19EED080CE32}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZeroLocalizationToolGUI", "ZeroLocalizationToolGUI\ZeroLocalizationToolGUI.csproj", "{87B7C319-37B0-48D7-893C-2C2FC8FE0A47}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZeroLocalizationToolShared", "ZeroLocalizationToolShared\ZeroLocalizationToolShared.csproj", "{E0E5B388-969B-497E-B898-42F9E21D90A3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -15,6 +19,14 @@ Global
{1CCF27B7-67DF-4E18-AB66-19EED080CE32}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1CCF27B7-67DF-4E18-AB66-19EED080CE32}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1CCF27B7-67DF-4E18-AB66-19EED080CE32}.Release|Any CPU.Build.0 = Release|Any CPU
{87B7C319-37B0-48D7-893C-2C2FC8FE0A47}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{87B7C319-37B0-48D7-893C-2C2FC8FE0A47}.Debug|Any CPU.Build.0 = Debug|Any CPU
{87B7C319-37B0-48D7-893C-2C2FC8FE0A47}.Release|Any CPU.ActiveCfg = Release|Any CPU
{87B7C319-37B0-48D7-893C-2C2FC8FE0A47}.Release|Any CPU.Build.0 = Release|Any CPU
{E0E5B388-969B-497E-B898-42F9E21D90A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E0E5B388-969B-497E-B898-42F9E21D90A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E0E5B388-969B-497E-B898-42F9E21D90A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E0E5B388-969B-497E-B898-42F9E21D90A3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
2 changes: 1 addition & 1 deletion ZeroLocalizationTool/App.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
</startup>
</configuration>
2 changes: 1 addition & 1 deletion ZeroLocalizationTool/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using ZeroLocalizationTool.Modules;
using ZeroLocalizationToolShared.Modules;

namespace ZeroLocalizationTool
{
Expand Down
2 changes: 1 addition & 1 deletion ZeroLocalizationTool/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions ZeroLocalizationTool/ZeroLocalizationTool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<OutputType>Exe</OutputType>
<RootNamespace>ZeroLocalizationTool</RootNamespace>
<AssemblyName>ZeroLocalizationTool</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkProfile />
Expand All @@ -22,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand All @@ -31,6 +32,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Resources\app_icon.ico</ApplicationIcon>
Expand All @@ -46,8 +48,6 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Modules\LocalizationParser.cs" />
<Compile Include="Modules\StringExt.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs">
Expand All @@ -69,5 +69,11 @@
<ItemGroup>
<None Include="Resources\app_icon.ico" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ZeroLocalizationToolShared\ZeroLocalizationToolShared.csproj">
<Project>{e0e5b388-969b-497e-b898-42f9e21d90a3}</Project>
<Name>ZeroLocalizationToolShared</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
6 changes: 6 additions & 0 deletions ZeroLocalizationToolGUI/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>
41 changes: 41 additions & 0 deletions ZeroLocalizationToolGUI/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions ZeroLocalizationToolGUI/MainForm.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ZeroLocalizationToolGUI
{
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponent();
}
}
}
22 changes: 22 additions & 0 deletions ZeroLocalizationToolGUI/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ZeroLocalizationToolGUI
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
}
}
}
36 changes: 36 additions & 0 deletions ZeroLocalizationToolGUI/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ZeroLocalizationToolGUI")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ZeroLocalizationToolGUI")]
[assembly: AssemblyCopyright("Copyright © Aaron Gilbert 2025")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("87b7c319-37b0-48d7-893c-2c2fc8fe0a47")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
70 changes: 70 additions & 0 deletions ZeroLocalizationToolGUI/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 82450bb

Please sign in to comment.