Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: .NET

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v4
- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Setup .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Install Maui
run: dotnet workload install maui

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we didn't maintain maui in this project.

@VasukiElango VasukiElango May 21, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okey

- name: Install Wasm Tools .NET 8
run: dotnet workload install wasm-tools-net8
- name: Install Wasm Tools .NET 9
run: dotnet workload install wasm-tools
- name: Build Server NET 8
run: dotnet build ./Blazor-Server-Demos/Blazor_Server_Demos_NET8.csproj
- name: Build Server NET 9
run: dotnet build ./Blazor-Server-Demos/Blazor_Server_Demos_NET9.csproj
- name: Build WebApp NET 8
run: dotnet build ./Blazor-WebApp-Demos/Blazor_WebApp_Demos/Blazor_WebApp_Demos.csproj
- name: Build WebApp NET 9
run: dotnet build ./Blazor-WebApp-Demos/Blazor_WebApp_Demos/Blazor_WebApp_Demos_NET9.csproj

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

webapp also not used.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okey, I'll remove

- name: Build WASM NET 8
run: dotnet build ./Blazor-WASM-Demos/Blazor_WASM_Demos_NET8.csproj
- name: Build WASM NET 9
run: dotnet build ./Blazor-WASM-Demos/Blazor_WASM_Demos_NET9.csproj
- name: Build MAUI NET 8

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems net 10 missing in this file.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now add the 10 for server and WASM and Build is succeed

run: dotnet build ./Blazor-MAUI-Demos/Blazor_MAUI_Demos_NET8.csproj
- name: Build MAUI NET 9
run: dotnet build ./Blazor-MAUI-Demos/Blazor_MAUI_Demos_NET9.csproj