Fix Blazor E2E tests locally

The `Debug` folder for our scripts doesn't exist in the repo. Also
hardened the Blazor.Build package for this kind of invalid case, it's
now an error if we can't find the bootstrapping script.
This commit is contained in:
Ryan Nowak 2019-07-03 13:51:48 -07:00
parent d598fc5414
commit e520468d3c
1 changed files with 2 additions and 0 deletions

View File

@ -170,6 +170,8 @@
</BlazorItemOutput>
</ItemGroup>
<Error Condition="'@(BlazorJsFile->Count())' == '0'" Text="No JS files found in '$(BlazorJsPath)'" />
<ItemGroup Label="Static content supplied by NuGet packages">
<_BlazorPackageContentOutput Include="@(BlazorPackageContentFile)" Condition="%(SourcePackage) != ''">
<TargetOutputPath>$(TargetDir)$(BaseBlazorPackageContentOutputPath)%(SourcePackage)\%(RecursiveDir)\%(Filename)%(Extension)</TargetOutputPath>