Skip to content

Commit 1a2757d

Browse files
Merge pull request #25 from DanielCarmingham/3.0.0-preview4
Updates to work with Blazor 3.0.0-preview4
2 parents 8e1afee + e93d943 commit 1a2757d

16 files changed

+138
-64
lines changed

.vsts-ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,22 @@ variables:
44
buildConfiguration: 'Release'
55

66
steps:
7+
8+
- task: DotNetCoreInstaller@0
9+
inputs:
10+
packageType: 'sdk'
11+
version: '3.0.100-preview4-011223'
12+
713
- task: Npm@1
814
inputs:
915
command: 'install'
1016
workingDir: src/Blazor.Extensions.Logging.JS
17+
18+
- task: DotNetCoreCLI@2
19+
inputs:
20+
command: 'restore'
21+
projects: '**/*.csproj'
22+
1123
- task: DotNetCoreCLI@2
1224
inputs:
1325
command: 'build'

.vsts-release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,22 @@ variables:
44
buildConfiguration: 'Release'
55

66
steps:
7+
8+
- task: DotNetCoreInstaller@0
9+
inputs:
10+
packageType: 'sdk'
11+
version: '3.0.100-preview4-011223'
12+
713
- task: Npm@1
814
inputs:
915
command: 'install'
1016
workingDir: src/Blazor.Extensions.Logging.JS
1117

18+
- task: DotNetCoreCLI@2
19+
inputs:
20+
command: 'restore'
21+
projects: '**/*.csproj'
22+
1223
- task: DotNetCoreCLI@2
1324
inputs:
1425
command: 'build'

src/Blazor.Extensions.Logging.JS/Blazor.Extensions.Logging.JS.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
44
<OutputType>Library</OutputType>
@@ -14,7 +14,7 @@
1414
</PropertyGroup>
1515

1616
<ItemGroup>
17-
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="0.7.0" />
17+
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="3.0.0-preview4-19216-03" PrivateAssets="all" />
1818
<WebpackInputs Include="**\*.ts" Exclude="dist\**;node_modules\**" />
1919
</ItemGroup>
2020

src/Blazor.Extensions.Logging.JS/package-lock.json

Lines changed: 65 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Blazor.Extensions.Logging/Blazor.Extensions.Logging.csproj

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
44
<Title>Blazor Extensions Logging</Title>
55
<Description>Microsoft Extension Logging implementation for ASP.NET Core Blazor.</Description>
66
</PropertyGroup>
77

88
<PropertyGroup>
9-
<OutputType>Library</OutputType>
9+
<TargetFramework>netstandard2.0</TargetFramework>
10+
<IsPackable>true</IsPackable>
11+
<LangVersion>7.3</LangVersion>
12+
<RazorLangVersion>3.0</RazorLangVersion>
13+
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
1014
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);IncludeP2POutput</TargetsForTfmSpecificBuildOutput>
1115
</PropertyGroup>
1216

1317
<ItemGroup>
14-
<PackageReference Include="Microsoft.AspNetCore.Blazor.Browser" Version="0.7.0" />
15-
<PackageReference Include="Microsoft.Extensions.Logging" Version="2.1.1" />
18+
<PackageReference Include="Microsoft.AspNetCore.Components.Browser" Version="3.0.0-preview4-19216-03" />
19+
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.0.0-preview4.19216.2" />
1620
</ItemGroup>
1721

1822
<ItemGroup>

0 commit comments

Comments
 (0)