Reenable TypeEquivalence tests (#21309)
authorAaron Robinson <arobins@microsoft.com>
Fri, 30 Nov 2018 23:01:04 +0000 (15:01 -0800)
committerGitHub <noreply@github.com>
Fri, 30 Nov 2018 23:01:04 +0000 (15:01 -0800)
tests/src/baseservices/typeequivalence/TypeEquivalence.targets
tests/src/baseservices/typeequivalence/impl/TypeImpl.csproj
tests/src/baseservices/typeequivalence/simple/Simple.csproj
tests/src/dirs.proj

index f858bec..47c493d 100644 (file)
       <Output TaskParameter="TargetOutputs" ItemName="ResolvedProjectReferencePaths" />
     </MSBuild>
 
+    <PropertyGroup>
+      <EmbedProjectReferenceResponseFile>$(IntermediateOutputPath)$(MSBuildProjectName).rsp</EmbedProjectReferenceResponseFile>
+    </PropertyGroup>
+
     <WriteLinesToFile
-        File="$(CompilerResponseFile)"
+        File="$(EmbedProjectReferenceResponseFile)"
         Lines="@(ResolvedProjectReferencePaths -> '/link:%(fullpath)')"
         Overwrite="true"
         Encoding="Unicode" />
+
+    <PropertyGroup Condition="Exists('$(EmbedProjectReferenceResponseFile)')">
+      <CompilerResponseFile>$(EmbedProjectReferenceResponseFile);$(CompilerResponseFile)</CompilerResponseFile>
+    </PropertyGroup>
+
   </Target>
 
 </Project>
\ No newline at end of file
index 665f26c..b2f1ce1 100644 (file)
@@ -9,10 +9,6 @@
     <Compile Include="**/*.cs" />
   </ItemGroup>
 
-  <PropertyGroup>
-    <CompilerResponseFile>$(IntermediateOutputPath)TypeImpl.rsp</CompilerResponseFile>
-  </PropertyGroup>
-
   <ItemGroup>
     <ProjectReference Include="../contracts/TypeContracts.csproj">
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
index e9cd889..9934730 100644 (file)
@@ -9,10 +9,6 @@
     <Compile Include="**/*.cs" />
   </ItemGroup>
 
-  <PropertyGroup>
-    <CompilerResponseFile>$(IntermediateOutputPath)Simple.rsp</CompilerResponseFile>
-  </PropertyGroup>
-
   <ItemGroup>
     <ProjectReference Include="../contracts/TypeContracts.csproj">
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
index 08de580..785a058 100644 (file)
@@ -31,7 +31,6 @@
       <DisabledProjects Include="Performance\Scenario\JitBench\unofficial_dotnet\JitBench.csproj" /> <!-- no official build support for SDK-style netcoreapp2.0 projects -->
       <DisabledProjects Include="Loader\classloader\generics\regressions\DD117522\Test.csproj" />
       <DisabledProjects Include="Loader\classloader\generics\GenericMethods\VSW491668.csproj" /> <!-- issue 5501 -->
-      <DisabledProjects Include="baseservices\typeequivalence\**\*.csproj" />
     </ItemGroup>
 
     <!-- Test build is divided in slices which can be created within Test Group