From 181db2e3f9d0b12d532ca59ea290b17c92481f23 Mon Sep 17 00:00:00 2001 From: Matt Fei Date: Fri, 14 Jul 2017 16:40:39 -0700 Subject: [PATCH 1/2] v1 --- ...Dom.Providers.DotNetCompilerPlatform.props | 47 +++++++++++++++++++ .../content/net45/web.config.install.xdt | 4 +- .../content/net46/web.config.install.xdt | 4 +- tools/RoslynCodeProvider.settings.targets | 2 +- 4 files changed, 52 insertions(+), 5 deletions(-) diff --git a/src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/build/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props b/src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/build/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props index f709e25..b5201f7 100644 --- a/src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/build/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props +++ b/src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/build/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props @@ -15,4 +15,51 @@ + + + + + + + + + + + + + + + + + ().FirstOrDefault(); + Log.LogMessage("ExecutablePath is {0}", (string)mo["ExecutablePath"]); + if(mo != null && string.Compare((string)mo["ExecutablePath"], ImagePath, StringComparison.OrdinalIgnoreCase) > 0) + { + p.Kill(); + Log.LogMessage("{0} is killed", (string)mo["ExecutablePath"]); + break; + } + } + } + } + } + catch (Exception ex) + { + Log.LogErrorFromException(ex); + } + return true; + ]]> + + + \ No newline at end of file diff --git a/src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/content/net45/web.config.install.xdt b/src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/content/net45/web.config.install.xdt index 6a470ac..a4d682e 100644 --- a/src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/content/net45/web.config.install.xdt +++ b/src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/content/net45/web.config.install.xdt @@ -26,7 +26,7 @@ @@ -49,7 +49,7 @@ diff --git a/src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/content/net46/web.config.install.xdt b/src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/content/net46/web.config.install.xdt index 1972c80..0846245 100644 --- a/src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/content/net46/web.config.install.xdt +++ b/src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/content/net46/web.config.install.xdt @@ -26,7 +26,7 @@ @@ -49,7 +49,7 @@ diff --git a/tools/RoslynCodeProvider.settings.targets b/tools/RoslynCodeProvider.settings.targets index 5a480a2..1d54e37 100644 --- a/tools/RoslynCodeProvider.settings.targets +++ b/tools/RoslynCodeProvider.settings.targets @@ -6,7 +6,7 @@ 2014 1 0 - 5 + 6 $(VersionRelease)-$(BuildQuality) From bab34004a3f5ce954127a8709f625e692d12cb10 Mon Sep 17 00:00:00 2001 From: Matt Fei Date: Tue, 18 Jul 2017 11:46:18 -0700 Subject: [PATCH 2/2] fixing issue #2 --- ...Dom.Providers.DotNetCompilerPlatform.props | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/build/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props b/src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/build/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props index b5201f7..9586e3a 100644 --- a/src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/build/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props +++ b/src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/build/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props @@ -4,19 +4,26 @@ roslyn\%(RecursiveDir)%(Filename)%(Extension) - + - - %(RoslyCompilerFiles.Link) - PreserveNewest - + <_RoslynFiles Include="@(RoslyCompilerFiles)" /> + + bin\roslyn\%(RecursiveDir)%(Filename)%(Extension) + + + + RoslynCompilerFilesToPublish; + $(CopyAllFilesToSingleFolderForPackageDependsOn); + + - + - - + + +