Work around failure to load correct compiler in RepoToolset

See dotnet/roslyn-tools#154
This commit is contained in:
Sam Harwell 2018-02-07 07:45:35 -06:00
Родитель aa0015f973
Коммит 2950480b63
2 изменённых файлов: 13 добавлений и 1 удалений

Просмотреть файл

@ -1,5 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- workaround for https://github.com/NuGet/Home/issues/5894 -->
<Import Project="$(ArtifactsObjDir)$(AssemblyName)\*.props" Condition="'$(MSBuildProjectExtension)' == '.tmp_proj'" />
<PropertyGroup>
<TargetFramework>net461</TargetFramework>
<RootNamespace>Roslyn.SyntaxVisualizer.Control</RootNamespace>
<AssemblyName>Roslyn.SyntaxVisualizer.Control</AssemblyName>
@ -35,4 +38,7 @@
</Page>
<Resource Include="SyntaxGraph.ico" />
</ItemGroup>
<!-- workaround for https://github.com/NuGet/Home/issues/5894 -->
<Import Project="$(ArtifactsObjDir)$(AssemblyName)\*.targets" Condition="'$(MSBuildProjectExtension)' == '.tmp_proj'" />
</Project>

Просмотреть файл

@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<!-- workaround for https://github.com/NuGet/Home/issues/5894 -->
<Import Project="$(ArtifactsObjDir)$(AssemblyName)\*.props" Condition="'$(MSBuildProjectExtension)' == '.tmp_proj'" />
<PropertyGroup>
<TargetFramework>net461</TargetFramework>
<RootNamespace>Roslyn.SyntaxVisualizer.Extension</RootNamespace>
@ -91,4 +94,7 @@
<Target Name="Move_Assets" BeforeTargets="BeforeBuild">
<Copy SourceFiles="@(FilesToMove)" DestinationFolder="$(ArtifactsObjDir)Roslyn.SyntaxVisualizer.Extension\net461\Roslyn.SyntaxVisualizer.Extension.xlf" />
</Target>
<!-- workaround for https://github.com/NuGet/Home/issues/5894 -->
<Import Project="$(ArtifactsObjDir)$(AssemblyName)\*.targets" Condition="'$(MSBuildProjectExtension)' == '.tmp_proj'" />
</Project>