Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed Dec 15, 2019
1 parent e95652d commit 11129d2
Show file tree
Hide file tree
Showing 53 changed files with 420 additions and 56 deletions.
63 changes: 63 additions & 0 deletions Config Handling.Net - Csharp Source.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29201.188
MinimumVisualStudioVersion = 10.0.40219.1
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Config Handling.Net Source", "Config-Handling.Net Source\Config Handling.Net Source.shproj", "{7BE2B6AC-C642-4C82-9BB6-49C280B21A6D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Config-Handling.Net", "Config-Handling.Net\Config-Handling.Net.csproj", "{77383926-016E-4E81-BBD4-724BD6E6FFA8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Config-Handling.Net Core", "Config-Handling.Net Core\Config-Handling.Net Core.csproj", "{1E5C4A78-9826-45B7-A924-6C8F7B00F1BF}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{FD6CECFD-07E0-438F-89E7-4417165ACD25}"
ProjectSection(SolutionItems) = preProject
LICENSE.txt = LICENSE.txt
README.md = README.md
EndProjectSection
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
Config-Handling.Net Source\Config Handling.Net - Csharp Source.projitems*{77383926-016e-4e81-bbd4-724bd6e6ffa8}*SharedItemsImports = 4
Config-Handling.Net Source\Config Handling.Net - Csharp Source.projitems*{7be2b6ac-c642-4c82-9bb6-49c280b21a6d}*SharedItemsImports = 13
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{77383926-016E-4E81-BBD4-724BD6E6FFA8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{77383926-016E-4E81-BBD4-724BD6E6FFA8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{77383926-016E-4E81-BBD4-724BD6E6FFA8}.Debug|x64.ActiveCfg = Debug|x64
{77383926-016E-4E81-BBD4-724BD6E6FFA8}.Debug|x64.Build.0 = Debug|x64
{77383926-016E-4E81-BBD4-724BD6E6FFA8}.Debug|x86.ActiveCfg = Debug|x86
{77383926-016E-4E81-BBD4-724BD6E6FFA8}.Debug|x86.Build.0 = Debug|x86
{77383926-016E-4E81-BBD4-724BD6E6FFA8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{77383926-016E-4E81-BBD4-724BD6E6FFA8}.Release|Any CPU.Build.0 = Release|Any CPU
{77383926-016E-4E81-BBD4-724BD6E6FFA8}.Release|x64.ActiveCfg = Release|x64
{77383926-016E-4E81-BBD4-724BD6E6FFA8}.Release|x64.Build.0 = Release|x64
{77383926-016E-4E81-BBD4-724BD6E6FFA8}.Release|x86.ActiveCfg = Release|x86
{77383926-016E-4E81-BBD4-724BD6E6FFA8}.Release|x86.Build.0 = Release|x86
{1E5C4A78-9826-45B7-A924-6C8F7B00F1BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1E5C4A78-9826-45B7-A924-6C8F7B00F1BF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1E5C4A78-9826-45B7-A924-6C8F7B00F1BF}.Debug|x64.ActiveCfg = Debug|x64
{1E5C4A78-9826-45B7-A924-6C8F7B00F1BF}.Debug|x64.Build.0 = Debug|x64
{1E5C4A78-9826-45B7-A924-6C8F7B00F1BF}.Debug|x86.ActiveCfg = Debug|x86
{1E5C4A78-9826-45B7-A924-6C8F7B00F1BF}.Debug|x86.Build.0 = Debug|x86
{1E5C4A78-9826-45B7-A924-6C8F7B00F1BF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1E5C4A78-9826-45B7-A924-6C8F7B00F1BF}.Release|Any CPU.Build.0 = Release|Any CPU
{1E5C4A78-9826-45B7-A924-6C8F7B00F1BF}.Release|x64.ActiveCfg = Release|x64
{1E5C4A78-9826-45B7-A924-6C8F7B00F1BF}.Release|x64.Build.0 = Release|x64
{1E5C4A78-9826-45B7-A924-6C8F7B00F1BF}.Release|x86.ActiveCfg = Release|x86
{1E5C4A78-9826-45B7-A924-6C8F7B00F1BF}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6070D33A-069E-4D11-B844-6B794530F980}
EndGlobalSection
EndGlobal
66 changes: 66 additions & 0 deletions Config-Handling.Net Core/Config-Handling.Net Core.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>DaanV2.Config</RootNamespace>
<Platforms>AnyCPU;x64;x86</Platforms>
<PackageId>Config-Handling.Net</PackageId>
<Authors>Config-Handling.Net</Authors>
<Product>Config-Handling.Net</Product>
<Description>ConfigHandling.Net takes care of all your config or options objects.
It takes care of saving, loading, and persistence of objects in memory.
Config objects are saved in a centralized location.
It also provides a general config object that can store a string under a specified key</Description>
<Copyright>Daan Verstraten 2018</Copyright>
<PackageProjectUrl></PackageProjectUrl>
<RepositoryUrl>https://github.com/DaanV2/Config-Handling.Net</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>TRACE;NETCORE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
<DefineConstants>TRACE;NETCORE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<DefineConstants>TRACE;NETCORE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;NETCORE</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
<DefineConstants>TRACE;NETCORE</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<DefineConstants>TRACE;NETCORE</DefineConstants>
</PropertyGroup>

<Import Project="..\Config-Handling.Net Source\Config Handling.Net - Csharp Source.projitems" Label="Shared" />

<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
</Target>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="if $(ConfigurationName) == Release (&#xD;&#xA; if not exist &quot;$(SolutionDir)Releases\&quot; mkdir &quot;$(SolutionDir)Releases\&quot;&#xD;&#xA; if not exist &quot;$(SolutionDir)Releases\$(ProjectName)-$(PlatformName)\&quot; mkdir &quot;$(SolutionDir)Releases\$(ProjectName)-$(PlatformName)\&quot;&#xD;&#xA; copy &quot;$(TargetDir)*&quot; &quot;$(SolutionDir)Releases\$(ProjectName)-$(PlatformName)\&quot;&#xD;&#xA;)" />
</Target>

<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="copy &quot;$(SolutionDir)LICENSE.txt&quot; &quot;$(TargetDir)LICENSE_Config_Handling.txt&quot;&#xD;&#xA;copy &quot;$(SolutionDir)README.md&quot; &quot;$(TargetDir)README_Config_Handling.md&quot;" />
</Target>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<Compile Include="$(MSBuildThisFileDirectory)Abstract Classes\Base Config\Base Config - Variables.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Classes\Config Attribute\Config Attribute - Initialize.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Classes\Config Attribute\Config Attribute - Properties.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Classes\Config Attribute\Config Attribute - Variables.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Interfaces\INewConfig\INewConfig.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Serialization\Classes\JSON Serializer Factory\JSON Serializer Factory - Properties.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Serialization\Classes\JSON Serializer\JSON Serializer - IConfigSerializer.cs" />
Expand Down Expand Up @@ -42,15 +43,12 @@
<Compile Include="$(MSBuildThisFileDirectory)Static Classes\Config Mapper\Config Mapper - Preload.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Static Classes\Config Mapper\Config Mapper - Properties.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Static Classes\Config Mapper\Config Mapper - Save and Load.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Static Classes\Config Mapper\Config Mapper - Variables.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Static Classes\Config Options\Config Options - Initialize.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Static Classes\Config Options\Config Options - Properties.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Static Classes\Config Options\Config Options - Preload.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Static Classes\Config Options\Config Options - Save and Load.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="$(MSBuildThisFileDirectory)LICENSE.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Compile Include="$(MSBuildThisFileDirectory)Static Classes\Config Options\Config Options - Variables.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="$(MSBuildThisFileDirectory)Abstract Classes\" />
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ public void Serialize(T O, Stream Writer) {
#endif
}
}
}
}
100 changes: 100 additions & 0 deletions Config-Handling.Net/Config-Handling.Net.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
<?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>{77383926-016E-4E81-BBD4-724BD6E6FFA8}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>DaanV2.Config</RootNamespace>
<AssemblyName>Config-Handling.Net</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</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>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug-x64\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\Release-x64\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>none</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug-x86\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\Release-x86\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>none</DebugType>
<PlatformTarget>x86</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
<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" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="..\Config-Handling.Net Source\Config Handling.Net - Csharp Source.projitems" Label="Shared" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>if $(ConfigurationName) == Release (
if not exist "$(SolutionDir)Releases\" mkdir "$(SolutionDir)Releases\"
if not exist "$(SolutionDir)Releases\$(ProjectName)-$(PlatformName)\" mkdir "$(SolutionDir)Releases\$(ProjectName)-$(PlatformName)\"
copy "$(TargetDir)*" "$(SolutionDir)Releases\$(ProjectName)-$(PlatformName)\"
)</PostBuildEvent>
</PropertyGroup>
<PropertyGroup>
<PreBuildEvent>copy "$(SolutionDir)LICENSE.txt" "$(TargetDir)LICENSE_Config_Handling.txt"
copy "$(SolutionDir)README.md" "$(TargetDir)README_Config_Handling.md"</PreBuildEvent>
</PropertyGroup>
</Project>
35 changes: 35 additions & 0 deletions Config-Handling.Net/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
using System.Reflection;
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("Config-Handling.Net")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Config-Handling.Net")]
[assembly: AssemblyCopyright("Copyright © Daan Verstraten 2018")]
[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("77383926-016e-4e81-bbd4-724bd6e6ffa8")]

// 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")]
7 changes: 7 additions & 0 deletions Config-Handling.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"folders": [
{
"path": "."
}
]
}
17 changes: 0 additions & 17 deletions Documentation/BaseConfig.md

This file was deleted.

8 changes: 0 additions & 8 deletions Documentation/ConfigObjects.md

This file was deleted.

3 changes: 0 additions & 3 deletions Documentation/Configurating-the-system.md

This file was deleted.

8 changes: 0 additions & 8 deletions Documentation/INewConfig.md

This file was deleted.

11 changes: 0 additions & 11 deletions Documentation/Problems.md

This file was deleted.

Loading

0 comments on commit 11129d2

Please sign in to comment.