diff options
author | Safia Abdalla <safia@microsoft.com> | 2020-06-18 01:31:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-18 01:31:00 +0300 |
commit | 7a82a48a200292d224f6f4dd46325a03dc9f64a1 (patch) | |
tree | 748ddc626b684be5ed11494de7ddb15f5b1cb20b /src | |
parent | 6c941485fdc9bcf730f0bc7e39b0db12212b3db5 (diff) |
Fix build issues in Blazor WASM template tests (#23052)
Diffstat (limited to 'src')
-rw-r--r-- | src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplates.Tests.csproj | 3 | ||||
-rw-r--r-- | src/ProjectTemplates/test/ProjectTemplates.Tests.csproj | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplates.Tests.csproj b/src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplates.Tests.csproj index 5403eadca1..f5ae6e70b0 100644 --- a/src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplates.Tests.csproj +++ b/src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplates.Tests.csproj @@ -39,6 +39,9 @@ <ProjectReference Include="$(RepoRoot)src\Hosting\Server.IntegrationTesting\src\Microsoft.AspNetCore.Server.IntegrationTesting.csproj" /> <ProjectReference Include="../testassets/DotNetToolsInstaller/DotNetToolsInstaller.csproj" ReferenceOutputAssembly="false" /> <ProjectReference Include="../Web.ProjectTemplates/Microsoft.DotNet.Web.ProjectTemplates.csproj" ReferenceOutputAssembly="false" /> + <ProjectReference Include="$(RepoRoot)src\Razor\Microsoft.NET.Sdk.Razor\src\Microsoft.NET.Sdk.Razor.csproj" + ReferenceOutputAssembly="false" + SkipGetTargetFrameworkProperties="true" /> </ItemGroup> <PropertyGroup> diff --git a/src/ProjectTemplates/test/ProjectTemplates.Tests.csproj b/src/ProjectTemplates/test/ProjectTemplates.Tests.csproj index 081f1b5862..5bc7af6a32 100644 --- a/src/ProjectTemplates/test/ProjectTemplates.Tests.csproj +++ b/src/ProjectTemplates/test/ProjectTemplates.Tests.csproj @@ -42,6 +42,9 @@ <ProjectReference Include="../Web.ItemTemplates/Microsoft.DotNet.Web.ItemTemplates.csproj" ReferenceOutputAssembly="false" /> <ProjectReference Include="../Web.ProjectTemplates/Microsoft.DotNet.Web.ProjectTemplates.csproj" ReferenceOutputAssembly="false" /> <ProjectReference Include="../Web.Spa.ProjectTemplates/Microsoft.DotNet.Web.Spa.ProjectTemplates.csproj" ReferenceOutputAssembly="false" /> + <ProjectReference Include="$(RepoRoot)src\Razor\Microsoft.NET.Sdk.Razor\src\Microsoft.NET.Sdk.Razor.csproj" + ReferenceOutputAssembly="false" + SkipGetTargetFrameworkProperties="true" /> </ItemGroup> <PropertyGroup> |