提交 c9b96c66 编写于 作者: J Jared Parsons

Move command line tests back to net46

These projects reference the compiler EXE projects and hence copy them
to the output directory. This appears to not cause the correct
app.config file (ex csc.exe.config) to be copied along with it. It's
missing the necessary binding redirects that are generated from a direct
compile of the project. As a result when it' invoked from the unit tests
it fails.

It's possible this is a SDK bug and I will dig into that. For now though
I need to unblock the suites.
上级 03e9b034
......@@ -9,7 +9,7 @@
<OutputType>Library</OutputType>
<RootNamespace>Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests</RootNamespace>
<AssemblyName>Roslyn.Compilers.CSharp.CommandLine.UnitTests</AssemblyName>
<TargetFramework>net461</TargetFramework>
<TargetFramework>net46</TargetFramework>
<RuntimeIdentifiers>win7</RuntimeIdentifiers>
<RoslynProjectType>UnitTest</RoslynProjectType>
</PropertyGroup>
......
......@@ -10,7 +10,7 @@
<RootNamespace>Microsoft.CodeAnalysis.CompilerServer.UnitTests</RootNamespace>
<AssemblyName>Roslyn.Compilers.CompilerServer.UnitTests</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TargetFramework>net461</TargetFramework>
<TargetFramework>net46</TargetFramework>
<RuntimeIdentifiers>win7</RuntimeIdentifiers>
<RoslynProjectType>UnitTest</RoslynProjectType>
</PropertyGroup>
......
......@@ -8,7 +8,7 @@
<PlatformTarget>AnyCPU</PlatformTarget>
<OutputType>Library</OutputType>
<AssemblyName>Roslyn.Compilers.VisualBasic.CommandLine.UnitTests</AssemblyName>
<TargetFramework>net461</TargetFramework>
<TargetFramework>net46</TargetFramework>
<RuntimeIdentifiers>win7</RuntimeIdentifiers>
<RoslynProjectType>UnitTest</RoslynProjectType>
</PropertyGroup>
......
......@@ -10,7 +10,7 @@
<RootNamespace>Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests</RootNamespace>
<AssemblyName>Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TargetFramework>net461</TargetFramework>
<TargetFramework>net46</TargetFramework>
<RuntimeIdentifiers>win7</RuntimeIdentifiers>
<RoslynProjectType>UnitTest</RoslynProjectType>
</PropertyGroup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册