Navigation Menu

Skip to content

Commit

Permalink
Added IniFile
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-fadely committed Nov 20, 2015
1 parent c1c5809 commit b64ef1a
Show file tree
Hide file tree
Showing 44 changed files with 220 additions and 4,365 deletions.
4 changes: 4 additions & 0 deletions DLLModGenerator/DLLModGenerator.csproj
Expand Up @@ -75,6 +75,10 @@
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\IniFile\IniFile.csproj">
<Project>{31c2c1d1-0840-4d9d-9335-0e2a4342b2b6}</Project>
<Name>IniFile</Name>
</ProjectReference>
<ProjectReference Include="..\ModManagement\ModManagement.csproj">
<Project>{e87d5430-5b58-46f8-9326-504f1bff837c}</Project>
<Name>ModManagement</Name>
Expand Down
1 change: 1 addition & 0 deletions DLLModGenerator/IniData.cs
Expand Up @@ -5,6 +5,7 @@
using System.IO;
using System.Text;
using SA_Tools;
using IniFile;

namespace DLLModGenerator
{
Expand Down
1 change: 1 addition & 0 deletions DLLModGenerator/MainForm.cs
Expand Up @@ -5,6 +5,7 @@
using System.Windows.Forms;
using SA_Tools;
using SonicRetro.SAModel;
using IniFile;

namespace DLLModGenerator
{
Expand Down
2 changes: 1 addition & 1 deletion SA Tools/IniFile.cs → IniFile/IniFile.cs
Expand Up @@ -8,7 +8,7 @@
using IniNameGroup = System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.Dictionary<string, string>>;
using IniNameValue = System.Collections.Generic.KeyValuePair<string, string>;

namespace SA_Tools
namespace IniFile
{
public static class IniFile
{
Expand Down
65 changes: 65 additions & 0 deletions IniFile/IniFile.csproj
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{31C2C1D1-0840-4D9D-9335-0E2A4342B2B6}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>IniFile</RootNamespace>
<AssemblyName>IniFile</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>3.5</OldToolsVersion>
</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>
</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>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="IniFile.cs" />
<Compile Include="IniSerializer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
2 changes: 1 addition & 1 deletion SA Tools/IniSerializer.cs → IniFile/IniSerializer.cs
Expand Up @@ -8,7 +8,7 @@
using IniNameGroup = System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.Dictionary<string, string>>;
using IniNameValue = System.Collections.Generic.KeyValuePair<string, string>;

namespace SA_Tools
namespace IniFile
{
public static class IniSerializer
{
Expand Down
36 changes: 36 additions & 0 deletions IniFile/Properties/AssemblyInfo.cs
@@ -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("IniFile")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("IniFile")]
[assembly: AssemblyCopyright("Copyright © 2014")]
[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("d7bca043-78e7-4569-b070-366b3b0e5e9e")]

// 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")]
1 change: 1 addition & 0 deletions ModGenerator/ModBuilder.cs
Expand Up @@ -9,6 +9,7 @@
using SonicRetro.SAModel;
using ModManagement;
using SonicRetro.SAModel.SAEditorCommon.UI;
using IniFile;

namespace ModGenerator
{
Expand Down
4 changes: 4 additions & 0 deletions ModGenerator/ModGenerator.csproj
Expand Up @@ -160,6 +160,10 @@
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\IniFile\IniFile.csproj">
<Project>{31c2c1d1-0840-4d9d-9335-0e2a4342b2b6}</Project>
<Name>IniFile</Name>
</ProjectReference>
<ProjectReference Include="..\ModManagement\ModManagement.csproj">
<Project>{e87d5430-5b58-46f8-9326-504f1bff837c}</Project>
<Name>ModManagement</Name>
Expand Down
1 change: 1 addition & 0 deletions ModManagement/DLLDataMapping.cs
Expand Up @@ -5,6 +5,7 @@
using System.IO;
using System.Text;
using SA_Tools;
using IniFile;

namespace ModManagement
{
Expand Down
1 change: 1 addition & 0 deletions ModManagement/LoaderInfo.cs
Expand Up @@ -3,6 +3,7 @@
using System.Linq;
using System.Text;
using SA_Tools;
using IniFile;

namespace ModManagement
{
Expand Down
4 changes: 4 additions & 0 deletions ModManagement/ModManagement.csproj
Expand Up @@ -51,6 +51,10 @@
<Compile Include="Split.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\IniFile\IniFile.csproj">
<Project>{31c2c1d1-0840-4d9d-9335-0e2a4342b2b6}</Project>
<Name>IniFile</Name>
</ProjectReference>
<ProjectReference Include="..\SA Tools\SA Tools.csproj">
<Project>{50847bdb-699d-4a2e-aaf7-1ea58e1ec48e}</Project>
<Name>SA Tools</Name>
Expand Down
1 change: 1 addition & 0 deletions ModManagement/Split.cs
Expand Up @@ -7,6 +7,7 @@
using System.Linq;
using SA_Tools;
using SonicRetro.SAModel;
using IniFile;

namespace ModManagement
{
Expand Down

0 comments on commit b64ef1a

Please sign in to comment.