diff --git a/src/Microsoft.DocAsCode.Common/Microsoft.DocAsCode.Common.csproj b/src/Microsoft.DocAsCode.Common/Microsoft.DocAsCode.Common.csproj index ab53cc37be2..ed0ed650302 100644 --- a/src/Microsoft.DocAsCode.Common/Microsoft.DocAsCode.Common.csproj +++ b/src/Microsoft.DocAsCode.Common/Microsoft.DocAsCode.Common.csproj @@ -1,8 +1,11 @@  - + + + + diff --git a/src/Microsoft.DocAsCode.YamlSerialization/Microsoft.DocAsCode.YamlSerialization.csproj b/src/Microsoft.DocAsCode.YamlSerialization/Microsoft.DocAsCode.YamlSerialization.csproj index 82c08862477..1157a3a550e 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/Microsoft.DocAsCode.YamlSerialization.csproj +++ b/src/Microsoft.DocAsCode.YamlSerialization/Microsoft.DocAsCode.YamlSerialization.csproj @@ -1,8 +1,10 @@  + + + - diff --git a/src/Shared/base.netstandard.props b/src/Shared/base.netstandard.props index 96d88632eae..705db4ce26a 100644 --- a/src/Shared/base.netstandard.props +++ b/src/Shared/base.netstandard.props @@ -1,7 +1,7 @@ - netstandard2.0 - + netstandard2.0;net461 + $(MSBuildProjectName) $(MSBuildProjectName) diff --git a/src/docfx/docfx.csproj b/src/docfx/docfx.csproj index f140dec774b..6073dee3bf9 100644 --- a/src/docfx/docfx.csproj +++ b/src/docfx/docfx.csproj @@ -42,4 +42,8 @@ + + + + diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/MergeMarkdownFragmentsTest.cs b/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/MergeMarkdownFragmentsTest.cs index 4db406c97c0..e2120f9d54f 100644 --- a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/MergeMarkdownFragmentsTest.cs +++ b/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/MergeMarkdownFragmentsTest.cs @@ -6,7 +6,6 @@ using System.Composition; using System.IO; using System.Linq; - using Microsoft.DocAsCode.Build.Engine; using Microsoft.DocAsCode.Common; using Microsoft.DocAsCode.Plugins; @@ -324,7 +323,8 @@ I add a summary. Assert.Contains("I update a summary", rawModel["summary"].ToString()); Assert.NotNull(listener.Items.FirstOrDefault(s => s.Message.StartsWith("There is no template processing document type(s): RESTMixedTest"))); Assert.NotNull(listener.Items.FirstOrDefault(s => s.Message.StartsWith("Can't find") && s.Message.EndsWith("/invalid.md."))); - (lastMessages, messages) = (messages, ClearLog(listener.Items)); + lastMessages = messages; + messages = ClearLog(listener.Items); Assert.True(messages.SequenceEqual(lastMessages)); // rebuild @@ -338,7 +338,8 @@ I add a summary. Assert.Contains("I update a summary", rawModel["summary"].ToString()); Assert.NotNull(listener.Items.FirstOrDefault(s => s.Message.StartsWith("There is no template processing document type(s): RESTMixedTest"))); Assert.NotNull(listener.Items.FirstOrDefault(s => s.Message.StartsWith("Can't find") && s.Message.EndsWith("/invalid.md."))); - (lastMessages, messages) = (messages, ClearLog(listener.Items)); + lastMessages = messages; + messages = ClearLog(listener.Items); Assert.True(messages.SequenceEqual(lastMessages)); } } 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 5af2d71da4b..0dbebc821b6 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 @@ -5,6 +5,7 @@ +