From dd8658a408634792424d5d7a6aaa30a0858763a6 Mon Sep 17 00:00:00 2001 From: Michael Ganss Date: Mon, 6 Jun 2016 13:05:15 +0200 Subject: [PATCH] Add separate .NET Core solution --- HtmlSanitizer.dotnet.sln | 35 +++++++++++++++++++ src/HtmlSanitizer/HtmlSanitizer.csproj | 10 +++--- src/HtmlSanitizer/HtmlSanitizer.xproj | 6 ++-- .../HtmlSanitizer.Tests.csproj | 8 +++-- .../HtmlSanitizer.Tests.project.json | 2 +- .../HtmlSanitizer.Tests.xproj | 21 +++++++++++ 6 files changed, 71 insertions(+), 11 deletions(-) create mode 100644 HtmlSanitizer.dotnet.sln create mode 100644 test/HtmlSanitizer.Tests/HtmlSanitizer.Tests.xproj diff --git a/HtmlSanitizer.dotnet.sln b/HtmlSanitizer.dotnet.sln new file mode 100644 index 0000000..68c0cbf --- /dev/null +++ b/HtmlSanitizer.dotnet.sln @@ -0,0 +1,35 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.23107.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{422273A8-89FB-489C-9CEE-378B39D48C45}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{EEC64896-0470-41A0-BCE9-118DE051CB4C}" + ProjectSection(SolutionItems) = preProject + global.json = global.json + EndProjectSection +EndProject +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "HtmlSanitizer", "src\HtmlSanitizer\HtmlSanitizer.xproj", "{CCDB0C26-D683-4943-B5D8-AC07116461E5}" +EndProject +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "HtmlSanitizer.Tests", "test\HtmlSanitizer.Tests\HtmlSanitizer.Tests.xproj", "{55D772A0-8D8C-4CF7-A876-E6DAB8ED42C0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CCDB0C26-D683-4943-B5D8-AC07116461E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CCDB0C26-D683-4943-B5D8-AC07116461E5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CCDB0C26-D683-4943-B5D8-AC07116461E5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CCDB0C26-D683-4943-B5D8-AC07116461E5}.Release|Any CPU.Build.0 = Release|Any CPU + {55D772A0-8D8C-4CF7-A876-E6DAB8ED42C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {55D772A0-8D8C-4CF7-A876-E6DAB8ED42C0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {55D772A0-8D8C-4CF7-A876-E6DAB8ED42C0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {55D772A0-8D8C-4CF7-A876-E6DAB8ED42C0}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/src/HtmlSanitizer/HtmlSanitizer.csproj b/src/HtmlSanitizer/HtmlSanitizer.csproj index f9b6577..0fbb577 100644 --- a/src/HtmlSanitizer/HtmlSanitizer.csproj +++ b/src/HtmlSanitizer/HtmlSanitizer.csproj @@ -19,24 +19,26 @@ true full false - bin\Debug\ + obj\Debug\net45\ + bin\Debug\net45\ DEBUG;TRACE prompt 4 false MinimumRecommendedRules.ruleset - bin\Debug\HtmlSanitizer.XML + bin\Debug\net45\HtmlSanitizer.XML false AnyCPU pdbonly true - bin\Release\ + obj\Release\net45\ + bin\Release\net45\ TRACE prompt 4 - bin\Release\HtmlSanitizer.XML + bin\Release\net45\HtmlSanitizer.XML false diff --git a/src/HtmlSanitizer/HtmlSanitizer.xproj b/src/HtmlSanitizer/HtmlSanitizer.xproj index 43beadc..2cb5b5c 100644 --- a/src/HtmlSanitizer/HtmlSanitizer.xproj +++ b/src/HtmlSanitizer/HtmlSanitizer.xproj @@ -4,15 +4,15 @@ 14.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - + ccdb0c26-d683-4943-b5d8-ac07116461e5 Ganss.XSS - ..\artifacts\obj\$(MSBuildProjectName) + .\obj .\bin\ 2.0 - + \ No newline at end of file diff --git a/test/HtmlSanitizer.Tests/HtmlSanitizer.Tests.csproj b/test/HtmlSanitizer.Tests/HtmlSanitizer.Tests.csproj index a1ca4ef..977c948 100644 --- a/test/HtmlSanitizer.Tests/HtmlSanitizer.Tests.csproj +++ b/test/HtmlSanitizer.Tests/HtmlSanitizer.Tests.csproj @@ -9,7 +9,7 @@ Properties Ganss.XSS.Tests HtmlSanitizer.Tests - v4.5 + v4.5.1 512 {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 10.0 @@ -26,7 +26,8 @@ true full false - bin\Debug\ + obj\Debug\net451\ + bin\Debug\net451 DEBUG;TRACE prompt 4 @@ -34,7 +35,8 @@ pdbonly true - bin\Release\ + obj\Release\net451\ + bin\Release\net451 TRACE prompt 4 diff --git a/test/HtmlSanitizer.Tests/HtmlSanitizer.Tests.project.json b/test/HtmlSanitizer.Tests/HtmlSanitizer.Tests.project.json index 4354238..70dca7b 100644 --- a/test/HtmlSanitizer.Tests/HtmlSanitizer.Tests.project.json +++ b/test/HtmlSanitizer.Tests/HtmlSanitizer.Tests.project.json @@ -4,7 +4,7 @@ "xunit.runner.visualstudio": "2.1.0" }, "frameworks": { - "net45": { } + "net451": { } }, "runtimes": { "win": { } diff --git a/test/HtmlSanitizer.Tests/HtmlSanitizer.Tests.xproj b/test/HtmlSanitizer.Tests/HtmlSanitizer.Tests.xproj new file mode 100644 index 0000000..3d2861a --- /dev/null +++ b/test/HtmlSanitizer.Tests/HtmlSanitizer.Tests.xproj @@ -0,0 +1,21 @@ + + + + 14.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + 55d772a0-8d8c-4cf7-a876-e6dab8ed42c0 + Ganss.XSS.Tests + .\obj + .\bin\ + + + 2.0 + + + + + + \ No newline at end of file