Skip to content

Commit 5444487

Browse files
chore: fixed templates and pipeline (#2)
* Moving away from cswin32 due to dotnet-format bug. * Cleaned up templates and sample
1 parent ca99268 commit 5444487

13 files changed

Lines changed: 59 additions & 22 deletions

src/BlazorDesktop.Sample/.editorconfig

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/BlazorDesktop.Sample/Data/WeatherForecast.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
namespace BlazorDesktop.Data
1+
// Licensed to the Blazor Desktop Contributors under one or more agreements.
2+
// The Blazor Desktop Contributors licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
5+
namespace BlazorDesktop.Data
26
{
37
public class WeatherForecast
48
{

src/BlazorDesktop.Sample/Data/WeatherForecastService.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
namespace BlazorDesktop.Data
1+
// Licensed to the Blazor Desktop Contributors under one or more agreements.
2+
// The Blazor Desktop Contributors licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
5+
namespace BlazorDesktop.Data
26
{
37
public class WeatherForecastService
48
{

src/BlazorDesktop.Sample/Program.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
using BlazorDesktop.Data;
1+
// Licensed to the Blazor Desktop Contributors under one or more agreements.
2+
// The Blazor Desktop Contributors licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
5+
using BlazorDesktop.Data;
26
using BlazorDesktop.Hosting;
37
using BlazorDesktop.Sample;
48
using Microsoft.AspNetCore.Components.Web;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"Logging": {
3+
"LogLevel": {
4+
"Default": "Information",
5+
"Microsoft.Hosting.Lifetime": "Information"
6+
}
7+
}
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"Logging": {
3+
"LogLevel": {
4+
"Default": "Information",
5+
"Microsoft.Hosting.Lifetime": "Information"
6+
}
7+
}
8+
}

src/BlazorDesktop.Templates/BlazorDesktop.Templates.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<PackageType>Template</PackageType>
5-
<PackageVersion>1.0.3</PackageVersion>
5+
<PackageVersion>1.0.4</PackageVersion>
66
<PackageId>BlazorDesktop.Templates</PackageId>
77
<Title>Blazor Desktop Templates</Title>
88
<Authors>Andrew Babbitt</Authors>

src/BlazorDesktop.Templates/templates/BlazorDesktop-CSharp/BlazorDesktop-CSharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="BlazorDesktop" Version="1.0.1" />
12+
<PackageReference Include="BlazorDesktop" Version="1.0.4" />
1313
</ItemGroup>
1414

1515
</Project>
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
2-
"DetailedErrors": true,
32
"Logging": {
43
"LogLevel": {
54
"Default": "Information",
6-
"Microsoft.AspNetCore": "Warning"
5+
"Microsoft.Hosting.Lifetime": "Information"
76
}
87
}
98
}

src/BlazorDesktop.Templates/templates/BlazorDesktop-CSharp/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Logging": {
33
"LogLevel": {
44
"Default": "Information",
5-
"Microsoft.AspNetCore": "Warning"
5+
"Microsoft.Hosting.Lifetime": "Information"
66
}
77
}
88
}

0 commit comments

Comments
 (0)