Skip to content

Commit 8a1afd8

Browse files
committed
Update to Blazor 0.7.0
1 parent e2f0b05 commit 8a1afd8

File tree

3 files changed

+36
-36
lines changed

3 files changed

+36
-36
lines changed
Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<OutputType>Library</OutputType>
5-
<IsPackable>false</IsPackable>
6-
<BlazorLinkOnBuild>false</BlazorLinkOnBuild>
7-
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
8-
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
9-
<DefaultItemExcludes>${DefaultItemExcludes};dist\**;node_modules\**</DefaultItemExcludes>
10-
<NoWarn>CS2008</NoWarn>
11-
12-
<!-- VS's FastUpToDateCheck doesn't consider .ts file changes, so it's necessary to disable it to get incremental builds to work correctly (albeit not as fast as if FastUpToDateCheck did work for them) -->
13-
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
14-
</PropertyGroup>
15-
16-
<ItemGroup>
17-
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="0.6.0" />
18-
<WebpackInputs Include="**\*.ts" Exclude="dist\**;node_modules\**" />
19-
</ItemGroup>
20-
21-
<Target Name="EnsureNpmRestored" Condition="!Exists('node_modules')">
22-
<Message Importance="high" Text="Restoring dependencies using 'npm'. This may take several minutes..." />
23-
<Exec Command="npm install" />
24-
</Target>
25-
26-
<Target Name="RunWebpack" AfterTargets="ResolveReferences" Inputs="@(WebpackInputs)" Outputs="dist\blazor.extensions.webusb.js" DependsOnTargets="EnsureNpmRestored">
27-
<RemoveDir Directories="dist" />
28-
<Exec Command="npm run build" />
29-
<ItemGroup>
30-
<EmbeddedResource Include="dist\**\*.js" LogicalName="blazor:js:%(RecursiveDir)%(Filename)%(Extension)" />
31-
</ItemGroup>
32-
</Target>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Library</OutputType>
5+
<IsPackable>false</IsPackable>
6+
<BlazorLinkOnBuild>false</BlazorLinkOnBuild>
7+
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
8+
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
9+
<DefaultItemExcludes>${DefaultItemExcludes};dist\**;node_modules\**</DefaultItemExcludes>
10+
<NoWarn>CS2008</NoWarn>
11+
12+
<!-- VS's FastUpToDateCheck doesn't consider .ts file changes, so it's necessary to disable it to get incremental builds to work correctly (albeit not as fast as if FastUpToDateCheck did work for them) -->
13+
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
14+
</PropertyGroup>
15+
16+
<ItemGroup>
17+
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="0.7.0" />
18+
<WebpackInputs Include="**\*.ts" Exclude="dist\**;node_modules\**" />
19+
</ItemGroup>
20+
21+
<Target Name="EnsureNpmRestored" Condition="!Exists('node_modules')">
22+
<Message Importance="high" Text="Restoring dependencies using 'npm'. This may take several minutes..." />
23+
<Exec Command="npm install" />
24+
</Target>
25+
26+
<Target Name="RunWebpack" AfterTargets="ResolveReferences" Inputs="@(WebpackInputs)" Outputs="dist\blazor.extensions.webusb.js" DependsOnTargets="EnsureNpmRestored">
27+
<RemoveDir Directories="dist" />
28+
<Exec Command="npm run build" />
29+
<ItemGroup>
30+
<EmbeddedResource Include="dist\**\*.js" LogicalName="blazor:js:%(RecursiveDir)%(Filename)%(Extension)" />
31+
</ItemGroup>
32+
</Target>
3333
</Project>

src/Blazor.Extensions.WebUSB/Blazor.Extensions.WebUSB.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.AspNetCore.Blazor.Browser" Version="0.6.0" />
14+
<PackageReference Include="Microsoft.AspNetCore.Blazor.Browser" Version="0.7.0" />
1515
</ItemGroup>
1616

1717
<ItemGroup>

test/Blazor.Extensions.WebUSB.Test/Blazor.Extensions.WebUSB.Test.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.AspNetCore.Blazor.Browser" Version="0.6.0" />
10-
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="0.6.0" />
9+
<PackageReference Include="Microsoft.AspNetCore.Blazor.Browser" Version="0.7.0" />
10+
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="0.7.0" />
1111
<PackageReference Include="Blazor.Extensions.Logging" Version="0.1.9" />
12-
<DotNetCliToolReference Include="Microsoft.AspNetCore.Blazor.Cli" Version="0.6.0" />
12+
<DotNetCliToolReference Include="Microsoft.AspNetCore.Blazor.Cli" Version="0.7.0" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

0 commit comments

Comments
 (0)