Prevent VS warning for empty attribute (#16719)

This commit is contained in:
Ryan Brandenburg 2019-11-01 10:57:00 -07:00 committed by GitHub
parent 7816ef94ca
commit 41e15c3d90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 3 deletions

View File

@ -15,7 +15,7 @@
<div id="blazor-error-ui">
An unhandled error has occurred.
<a href class="reload">Reload</a>
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
</div>
<script src="_framework/blazor.webassembly.js"></script>

View File

@ -1,7 +1,7 @@
@page "/"
@namespace BlazorServerWeb_CSharp.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
@{
Layout = null;
}
@ -27,7 +27,7 @@
<environment include="Development">
An unhandled exception has occurred. See browser dev tools for details.
</environment>
<a href class="reload">Reload</a>
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
</div>

View File

@ -3,6 +3,7 @@ tmp/
CustomHive/
angular/
blazorserver/
blazorwasm/
mvc/
razor/
react/

View File

@ -0,0 +1,13 @@
#!/usr/bin/env pwsh
#requires -version 4
# This script packages, installs and creates a template to help with rapid iteration in the templating area.
[CmdletBinding(PositionalBinding = $false)]
param()
Set-StrictMode -Version 2
$ErrorActionPreference = 'Stop'
. $PSScriptRoot\Test-Template.ps1
Test-Template "blazorwasm" "blazorwasm" "Microsoft.AspnetCore.Blazor.Templates.3.1.0-dev.nupkg" $false