From 68e5066d83a16c84900819eab9dd8edd62134144 Mon Sep 17 00:00:00 2001 From: Kim Hoang Date: Mon, 8 Dec 2014 11:12:31 +0100 Subject: [PATCH] added Visual Studio 2013 build option --- build/vs2013/.gitignore | 184 ++++++++++++++++++ build/vs2013/litJSON/.nuget/packages.config | 4 + .../vs2013/litJSON/Properties/AssemblyInfo.cs | 36 ++++ build/vs2013/litJSON/litJSON.csproj | 79 ++++++++ build/vs2013/litJSON/litJSON.sln | 33 ++++ .../litJSONTests/Properties/AssemblyInfo.cs | 36 ++++ build/vs2013/litJSONTests/litJSONTests.csproj | 107 ++++++++++ build/vs2013/litJSONTests/packages.config | 4 + 8 files changed, 483 insertions(+) create mode 100644 build/vs2013/.gitignore create mode 100644 build/vs2013/litJSON/.nuget/packages.config create mode 100644 build/vs2013/litJSON/Properties/AssemblyInfo.cs create mode 100644 build/vs2013/litJSON/litJSON.csproj create mode 100644 build/vs2013/litJSON/litJSON.sln create mode 100644 build/vs2013/litJSONTests/Properties/AssemblyInfo.cs create mode 100644 build/vs2013/litJSONTests/litJSONTests.csproj create mode 100644 build/vs2013/litJSONTests/packages.config diff --git a/build/vs2013/.gitignore b/build/vs2013/.gitignore new file mode 100644 index 0000000..29cf923 --- /dev/null +++ b/build/vs2013/.gitignore @@ -0,0 +1,184 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +bld/ +[Bb]in/ +[Oo]bj/ + +# Roslyn cache directories +*.ide/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +#NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf +*.cachefile + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding addin-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +_NCrunch_* +.*crunch*.local.xml + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# TODO: Comment the next line if you want to checkin your web deploy settings +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/packages/* +# except build/, which is used as an MSBuild target. +!**/packages/build/ +# If using the old MSBuild-Integrated Package Restore, uncomment this: +#!**/packages/repositories.config + +# Windows Azure Build Output +csx/ +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +sql/ +*.Cache +ClientBin/ +[Ss]tyle[Cc]op.* +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.pfx +*.publishsettings +node_modules/ +bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +*.mdf +*.ldf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings + +# Microsoft Fakes +FakesAssemblies/ diff --git a/build/vs2013/litJSON/.nuget/packages.config b/build/vs2013/litJSON/.nuget/packages.config new file mode 100644 index 0000000..7025a72 --- /dev/null +++ b/build/vs2013/litJSON/.nuget/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/build/vs2013/litJSON/Properties/AssemblyInfo.cs b/build/vs2013/litJSON/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..eb89b76 --- /dev/null +++ b/build/vs2013/litJSON/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("litJSON")] +[assembly: AssemblyDescription("A .Net library to handle conversions from and to JSON (JavaScript Object Notation) strings.")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("http://lbv.github.io/litjson/")] +[assembly: AssemblyProduct("litJSON")] +[assembly: AssemblyCopyright("Unlicense (public domain)")] +[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("6e7b59a1-67ad-4e29-8851-a5c9626a7657")] + +// 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("0.9.0.0")] +[assembly: AssemblyFileVersion("0.9.0.0")] diff --git a/build/vs2013/litJSON/litJSON.csproj b/build/vs2013/litJSON/litJSON.csproj new file mode 100644 index 0000000..31986dc --- /dev/null +++ b/build/vs2013/litJSON/litJSON.csproj @@ -0,0 +1,79 @@ + + + + + Debug + AnyCPU + {46540366-39B8-4A53-A1EB-3F739F11D03D} + Library + Properties + litJSON + litJSON + v4.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + LitJson\IJsonWrapper.cs + + + LitJson\JsonData.cs + + + LitJson\JsonException.cs + + + LitJson\JsonMapper.cs + + + LitJson\JsonMockWrapper.cs + + + LitJson\JsonReader.cs + + + LitJson\JsonWriter.cs + + + LitJson\Lexer.cs + + + LitJson\ParserToken.cs + + + + + + LitJson\AssemblyInfo.cs.in + + + + + \ No newline at end of file diff --git a/build/vs2013/litJSON/litJSON.sln b/build/vs2013/litJSON/litJSON.sln new file mode 100644 index 0000000..db2948c --- /dev/null +++ b/build/vs2013/litJSON/litJSON.sln @@ -0,0 +1,33 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.31101.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "litJSON", "litJSON.csproj", "{46540366-39B8-4A53-A1EB-3F739F11D03D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "litJSONTests", "..\litJSONTests\litJSONTests.csproj", "{2B4C7214-ED43-4F23-8B54-26BBA72BE3AA}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{DD56CE60-8221-4925-B1B6-467D2DBB1377}" + ProjectSection(SolutionItems) = preProject + .nuget\packages.config = .nuget\packages.config + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {46540366-39B8-4A53-A1EB-3F739F11D03D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {46540366-39B8-4A53-A1EB-3F739F11D03D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {46540366-39B8-4A53-A1EB-3F739F11D03D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {46540366-39B8-4A53-A1EB-3F739F11D03D}.Release|Any CPU.Build.0 = Release|Any CPU + {2B4C7214-ED43-4F23-8B54-26BBA72BE3AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2B4C7214-ED43-4F23-8B54-26BBA72BE3AA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2B4C7214-ED43-4F23-8B54-26BBA72BE3AA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2B4C7214-ED43-4F23-8B54-26BBA72BE3AA}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/build/vs2013/litJSONTests/Properties/AssemblyInfo.cs b/build/vs2013/litJSONTests/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..eb2f17a --- /dev/null +++ b/build/vs2013/litJSONTests/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("litJSONTests")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("litJSONTests")] +[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("b33f8c84-2c9c-4a54-ac94-936d773dfdb4")] + +// 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")] diff --git a/build/vs2013/litJSONTests/litJSONTests.csproj b/build/vs2013/litJSONTests/litJSONTests.csproj new file mode 100644 index 0000000..0eef3b0 --- /dev/null +++ b/build/vs2013/litJSONTests/litJSONTests.csproj @@ -0,0 +1,107 @@ + + + + Debug + AnyCPU + {2B4C7214-ED43-4F23-8B54-26BBA72BE3AA} + Library + Properties + litJSONTests + litJSONTests + v4.5 + 512 + {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages + False + UnitTest + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\litJSON\packages\NUnit.2.6.3\lib\nunit.framework.dll + + + + + + + + + + + + + + JsonDataTest.cs + + + JsonMapperTest.cs + + + JsonReaderTest.cs + + + JsonWriterTest.cs + + + + + + {46540366-39b8-4a53-a1eb-3f739f11d03d} + litJSON + + + + + + + + json-example.txt + + + + + + + False + + + False + + + False + + + False + + + + + + + + \ No newline at end of file diff --git a/build/vs2013/litJSONTests/packages.config b/build/vs2013/litJSONTests/packages.config new file mode 100644 index 0000000..ad37a52 --- /dev/null +++ b/build/vs2013/litJSONTests/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file