From b595464d091a69214424a05921c5d029c7a77f89 Mon Sep 17 00:00:00 2001 From: Adam Friedman Date: Mon, 27 Nov 2017 05:26:07 +1100 Subject: [PATCH] Switch remaining test projects over to netcoreapp2.0 (and use compatible versions of Microsoft.NET.Test.Sdk and Xunit). dotnet/docfx#1963 --- .../Microsoft.DocAsCode.HtmlToPdf.csproj | 2 +- src/docfx/docfx.csproj | 4 +++- .../Microsoft.DocAsCode.Build.Common.Tests.csproj | 2 +- ...crosoft.DocAsCode.Build.ConceptualDocuments.Tests.csproj | 2 +- ...crosoft.DocAsCode.Build.JavaScriptReference.Tests.csproj | 2 +- .../Microsoft.DocAsCode.Build.ManagedReference.Tests.csproj | 2 +- ...ocAsCode.Build.ManagedReference.WithPlugins.Tests.csproj | 2 +- .../Microsoft.DocAsCode.Build.MergeOverwrite.Tests.csproj | 2 +- .../Microsoft.DocAsCode.Build.RestApi.Tests.csproj | 2 +- ...crosoft.DocAsCode.Build.RestApi.WithPlugins.Tests.csproj | 2 +- .../Microsoft.DocAsCode.Build.SchemaDriven.Tests.csproj | 2 +- .../Microsoft.DocAsCode.Build.TableOfContents.Tests.csproj | 2 +- ...icrosoft.DocAsCode.Build.UniversalReference.Tests.csproj | 2 +- .../Microsoft.DocAsCode.Common.Tests.csproj | 2 +- .../Microsoft.DocAsCode.Dfm.Tests.csproj | 2 +- .../Microsoft.DocAsCode.Glob.Tests.csproj | 2 +- .../Microsoft.DocAsCode.MarkdownLite.Tests.csproj | 2 +- .../Microsoft.DocAsCode.MarkdownRewriters.Tests.csproj | 2 +- ...crosoft.DocAsCode.Metadata.ManagedReference.Tests.csproj | 2 +- .../Microsoft.DocAsCode.Plugins.Tests.csproj | 2 +- test/Shared/test.base.props | 6 +++--- test/docfx.E2E.Tests/docfx.E2E.Tests.csproj | 2 +- test/docfx.Tests/docfx.Tests.csproj | 2 +- 23 files changed, 27 insertions(+), 25 deletions(-) diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/Microsoft.DocAsCode.HtmlToPdf.csproj b/src/Microsoft.DocAsCode.HtmlToPdf/Microsoft.DocAsCode.HtmlToPdf.csproj index b35e0fca911..d04be650bcd 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/Microsoft.DocAsCode.HtmlToPdf.csproj +++ b/src/Microsoft.DocAsCode.HtmlToPdf/Microsoft.DocAsCode.HtmlToPdf.csproj @@ -1,5 +1,5 @@  - + diff --git a/src/docfx/docfx.csproj b/src/docfx/docfx.csproj index afb78311082..74a7dc45097 100644 --- a/src/docfx/docfx.csproj +++ b/src/docfx/docfx.csproj @@ -1,5 +1,5 @@  - + Exe Generates documentation directly from source code and MarkDown files @@ -31,6 +31,8 @@ + + diff --git a/test/Microsoft.DocAsCode.Build.Common.Tests/Microsoft.DocAsCode.Build.Common.Tests.csproj b/test/Microsoft.DocAsCode.Build.Common.Tests/Microsoft.DocAsCode.Build.Common.Tests.csproj index da34c481326..f2143ad6ec0 100644 --- a/test/Microsoft.DocAsCode.Build.Common.Tests/Microsoft.DocAsCode.Build.Common.Tests.csproj +++ b/test/Microsoft.DocAsCode.Build.Common.Tests/Microsoft.DocAsCode.Build.Common.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests.csproj b/test/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests.csproj index 13297a3d121..300c4efdea3 100644 --- a/test/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests.csproj +++ b/test/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/Microsoft.DocAsCode.Build.JavaScriptReference.Tests/Microsoft.DocAsCode.Build.JavaScriptReference.Tests.csproj b/test/Microsoft.DocAsCode.Build.JavaScriptReference.Tests/Microsoft.DocAsCode.Build.JavaScriptReference.Tests.csproj index f6773698411..0f15ba3806e 100644 --- a/test/Microsoft.DocAsCode.Build.JavaScriptReference.Tests/Microsoft.DocAsCode.Build.JavaScriptReference.Tests.csproj +++ b/test/Microsoft.DocAsCode.Build.JavaScriptReference.Tests/Microsoft.DocAsCode.Build.JavaScriptReference.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/Microsoft.DocAsCode.Build.ManagedReference.Tests.csproj b/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/Microsoft.DocAsCode.Build.ManagedReference.Tests.csproj index 7830961708d..6c606955a9e 100644 --- a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/Microsoft.DocAsCode.Build.ManagedReference.Tests.csproj +++ b/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/Microsoft.DocAsCode.Build.ManagedReference.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.WithPlugins.Tests/Microsoft.DocAsCode.Build.ManagedReference.WithPlugins.Tests.csproj b/test/Microsoft.DocAsCode.Build.ManagedReference.WithPlugins.Tests/Microsoft.DocAsCode.Build.ManagedReference.WithPlugins.Tests.csproj index d225625dd9a..fdcdb9d42bf 100644 --- a/test/Microsoft.DocAsCode.Build.ManagedReference.WithPlugins.Tests/Microsoft.DocAsCode.Build.ManagedReference.WithPlugins.Tests.csproj +++ b/test/Microsoft.DocAsCode.Build.ManagedReference.WithPlugins.Tests/Microsoft.DocAsCode.Build.ManagedReference.WithPlugins.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/Microsoft.DocAsCode.Build.MergeOverwrite.Tests/Microsoft.DocAsCode.Build.MergeOverwrite.Tests.csproj b/test/Microsoft.DocAsCode.Build.MergeOverwrite.Tests/Microsoft.DocAsCode.Build.MergeOverwrite.Tests.csproj index be2262cee63..3225cba45a3 100644 --- a/test/Microsoft.DocAsCode.Build.MergeOverwrite.Tests/Microsoft.DocAsCode.Build.MergeOverwrite.Tests.csproj +++ b/test/Microsoft.DocAsCode.Build.MergeOverwrite.Tests/Microsoft.DocAsCode.Build.MergeOverwrite.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/Microsoft.DocAsCode.Build.RestApi.Tests.csproj b/test/Microsoft.DocAsCode.Build.RestApi.Tests/Microsoft.DocAsCode.Build.RestApi.Tests.csproj index 6a489a04820..f99623c44f2 100644 --- a/test/Microsoft.DocAsCode.Build.RestApi.Tests/Microsoft.DocAsCode.Build.RestApi.Tests.csproj +++ b/test/Microsoft.DocAsCode.Build.RestApi.Tests/Microsoft.DocAsCode.Build.RestApi.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests.csproj b/test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests.csproj index 468cd168490..0b5c4059c4c 100644 --- a/test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests.csproj +++ b/test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests.csproj @@ -1,6 +1,6 @@  - + diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/Microsoft.DocAsCode.Build.SchemaDriven.Tests.csproj b/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/Microsoft.DocAsCode.Build.SchemaDriven.Tests.csproj index 057b14c9565..836e098c999 100644 --- a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/Microsoft.DocAsCode.Build.SchemaDriven.Tests.csproj +++ b/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/Microsoft.DocAsCode.Build.SchemaDriven.Tests.csproj @@ -2,7 +2,7 @@ net461 - + diff --git a/test/Microsoft.DocAsCode.Build.TableOfContents.Tests/Microsoft.DocAsCode.Build.TableOfContents.Tests.csproj b/test/Microsoft.DocAsCode.Build.TableOfContents.Tests/Microsoft.DocAsCode.Build.TableOfContents.Tests.csproj index c2717181c61..1f5bea0d668 100644 --- a/test/Microsoft.DocAsCode.Build.TableOfContents.Tests/Microsoft.DocAsCode.Build.TableOfContents.Tests.csproj +++ b/test/Microsoft.DocAsCode.Build.TableOfContents.Tests/Microsoft.DocAsCode.Build.TableOfContents.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/Microsoft.DocAsCode.Build.UniversalReference.Tests/Microsoft.DocAsCode.Build.UniversalReference.Tests.csproj b/test/Microsoft.DocAsCode.Build.UniversalReference.Tests/Microsoft.DocAsCode.Build.UniversalReference.Tests.csproj index 3d996a9e086..cc9f5174d6d 100644 --- a/test/Microsoft.DocAsCode.Build.UniversalReference.Tests/Microsoft.DocAsCode.Build.UniversalReference.Tests.csproj +++ b/test/Microsoft.DocAsCode.Build.UniversalReference.Tests/Microsoft.DocAsCode.Build.UniversalReference.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/Microsoft.DocAsCode.Common.Tests/Microsoft.DocAsCode.Common.Tests.csproj b/test/Microsoft.DocAsCode.Common.Tests/Microsoft.DocAsCode.Common.Tests.csproj index 2c3bee48221..b556c5c2f9f 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/Microsoft.DocAsCode.Common.Tests.csproj +++ b/test/Microsoft.DocAsCode.Common.Tests/Microsoft.DocAsCode.Common.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/Microsoft.DocAsCode.Dfm.Tests/Microsoft.DocAsCode.Dfm.Tests.csproj b/test/Microsoft.DocAsCode.Dfm.Tests/Microsoft.DocAsCode.Dfm.Tests.csproj index 5d54b0a1fd3..e651a402e2d 100644 --- a/test/Microsoft.DocAsCode.Dfm.Tests/Microsoft.DocAsCode.Dfm.Tests.csproj +++ b/test/Microsoft.DocAsCode.Dfm.Tests/Microsoft.DocAsCode.Dfm.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/Microsoft.DocAsCode.Glob.Tests/Microsoft.DocAsCode.Glob.Tests.csproj b/test/Microsoft.DocAsCode.Glob.Tests/Microsoft.DocAsCode.Glob.Tests.csproj index a94aadccd7b..beafafed80c 100644 --- a/test/Microsoft.DocAsCode.Glob.Tests/Microsoft.DocAsCode.Glob.Tests.csproj +++ b/test/Microsoft.DocAsCode.Glob.Tests/Microsoft.DocAsCode.Glob.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/Microsoft.DocAsCode.MarkdownLite.Tests/Microsoft.DocAsCode.MarkdownLite.Tests.csproj b/test/Microsoft.DocAsCode.MarkdownLite.Tests/Microsoft.DocAsCode.MarkdownLite.Tests.csproj index 74b4b6347cc..21f4509ac99 100644 --- a/test/Microsoft.DocAsCode.MarkdownLite.Tests/Microsoft.DocAsCode.MarkdownLite.Tests.csproj +++ b/test/Microsoft.DocAsCode.MarkdownLite.Tests/Microsoft.DocAsCode.MarkdownLite.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/Microsoft.DocAsCode.MarkdownRewriters.Tests/Microsoft.DocAsCode.MarkdownRewriters.Tests.csproj b/test/Microsoft.DocAsCode.MarkdownRewriters.Tests/Microsoft.DocAsCode.MarkdownRewriters.Tests.csproj index e2f5ffd976a..53c29873959 100644 --- a/test/Microsoft.DocAsCode.MarkdownRewriters.Tests/Microsoft.DocAsCode.MarkdownRewriters.Tests.csproj +++ b/test/Microsoft.DocAsCode.MarkdownRewriters.Tests/Microsoft.DocAsCode.MarkdownRewriters.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/Microsoft.DocAsCode.Metadata.ManagedReference.Tests/Microsoft.DocAsCode.Metadata.ManagedReference.Tests.csproj b/test/Microsoft.DocAsCode.Metadata.ManagedReference.Tests/Microsoft.DocAsCode.Metadata.ManagedReference.Tests.csproj index 15f700b6efc..88953c46a5e 100644 --- a/test/Microsoft.DocAsCode.Metadata.ManagedReference.Tests/Microsoft.DocAsCode.Metadata.ManagedReference.Tests.csproj +++ b/test/Microsoft.DocAsCode.Metadata.ManagedReference.Tests/Microsoft.DocAsCode.Metadata.ManagedReference.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/Microsoft.DocAsCode.Plugins.Tests/Microsoft.DocAsCode.Plugins.Tests.csproj b/test/Microsoft.DocAsCode.Plugins.Tests/Microsoft.DocAsCode.Plugins.Tests.csproj index d2692577c94..de95ef7653c 100644 --- a/test/Microsoft.DocAsCode.Plugins.Tests/Microsoft.DocAsCode.Plugins.Tests.csproj +++ b/test/Microsoft.DocAsCode.Plugins.Tests/Microsoft.DocAsCode.Plugins.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/Shared/test.base.props b/test/Shared/test.base.props index a1a452896c4..a1e88e587d2 100644 --- a/test/Shared/test.base.props +++ b/test/Shared/test.base.props @@ -9,9 +9,9 @@ - - - + + + diff --git a/test/docfx.E2E.Tests/docfx.E2E.Tests.csproj b/test/docfx.E2E.Tests/docfx.E2E.Tests.csproj index 3d22e2951c9..73494183c82 100644 --- a/test/docfx.E2E.Tests/docfx.E2E.Tests.csproj +++ b/test/docfx.E2E.Tests/docfx.E2E.Tests.csproj @@ -1,5 +1,5 @@  - + diff --git a/test/docfx.Tests/docfx.Tests.csproj b/test/docfx.Tests/docfx.Tests.csproj index b21b522dd70..a00d245c998 100644 --- a/test/docfx.Tests/docfx.Tests.csproj +++ b/test/docfx.Tests/docfx.Tests.csproj @@ -1,5 +1,5 @@  - +