提交 8d8f6055 编写于 作者: J Jared Parsons

Work around for the facade deployment issue

https://github.com/dotnet/sdk/issues/1552
上级 bc4937ad
......@@ -15,6 +15,8 @@
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<ForceGenerationOfBindingRedirects>true</ForceGenerationOfBindingRedirects>
<RuntimeIdentifier Condition="'$(TargetFramework)' == 'net461' AND '$(RuntimeIdentifier)' == '' AND '$(OS)' == 'Windows_NT'">win7</RuntimeIdentifier>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'">
......@@ -50,6 +52,13 @@
<Exec Command="&quot;$(XUnitPath)&quot; $(XUnitArguments)" />
</Target>
<!-- Work around for https://github.com/dotnet/sdk/issues/1552 -->
<Target Name="WorkaroundConflictResolution" AfterTargets="_ComputeActiveTFMFileDependencies" Condition="'$(PlatformTarget)' == 'AnyCPU' AND '$(TargetFrameworkIdentifier)' == '.NETFramework'" >
<ItemGroup>
<_ActiveTFMFileDependencies Remove="@(_ActiveTFMFileDependencies->WithMetadataValue('FileGroup', 'RuntimeTarget'))" />
</ItemGroup>
</Target>
<!-- Add a default test app.config, if the project doesn't already have one-->
<Target Name="AddDefaultTestAppConfig">
<PropertyGroup>
......
......@@ -10,7 +10,6 @@
<RootNamespace>Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests</RootNamespace>
<AssemblyName>Roslyn.Compilers.CSharp.Semantic.UnitTests</AssemblyName>
<TargetFramework>net461</TargetFramework>
<RuntimeIdentifiers>win7</RuntimeIdentifiers>
<RoslynProjectType>UnitTest</RoslynProjectType>
</PropertyGroup>
<ItemGroup Label="Project References">
......
......@@ -10,7 +10,7 @@
<RootNamespace>Roslyn.InteractiveHost.UnitTests</RootNamespace>
<AssemblyName>Roslyn.InteractiveHost.UnitTests</AssemblyName>
<TargetFramework>net461</TargetFramework>
<RuntimeIdentifiers>win7-x86</RuntimeIdentifiers>
<RuntimeIdentifier>win7-x86</RuntimeIdentifier>
<RoslynProjectType>UnitTest</RoslynProjectType>
</PropertyGroup>
<ItemGroup Label="Project References">
......
......@@ -100,6 +100,7 @@
<PackageReference Include="System.IO.FileSystem" Version="$(SystemIOFileSystemVersion)" />
<PackageReference Include="System.Net.Primitives" Version="$(SystemNetPrimitivesVersion)" />
<PackageReference Include="System.Reflection.TypeExtensions" Version="$(SystemReflectionTypeExtensionsVersion)" />
<PackageReference Include="System.Security.Cryptography.Algorithms" Version="$(SystemSecurityCryptographyAlgorithmsVersion)" />
<PackageReference Include="System.Text.RegularExpressions" Version="$(SystemTextRegularExpressionsVersion)" />
<PackageReference Include="System.Threading.Thread" Version="$(SystemThreadingThreadVersion)" />
<PackageReference Include="System.Xml.XDocument" Version="$(SystemXmlXDocumentVersion)" />
......
......@@ -5,11 +5,11 @@
<PropertyGroup>
<Platform Condition="'$(Platform)' == ''">x86</Platform>
<PlatformTarget>x86</PlatformTarget>
<RuntimeIdentifier>win7-x86</RuntimeIdentifier>
<OutputType>Library</OutputType>
<RootNamespace>Roslyn.VisualStudio.IntegrationTests</RootNamespace>
<AssemblyName>Roslyn.VisualStudio.IntegrationTests</AssemblyName>
<TargetFramework>net461</TargetFramework>
<RuntimeIdentifiers>win7-x86</RuntimeIdentifiers>
<Nonshipping>true</Nonshipping>
<RoslynProjectType>UnitTest</RoslynProjectType>
</PropertyGroup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册