Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 11, 2025

✅ Update Complete - All Requirements Met

Target Frameworks

  • Updated from net9.0 to net10.0 ✅

Android Platform

  • Android SupportedOSPlatformVersion: 26 → 27 ✅
  • Android TargetPlatformVersion: 35 → 36 ✅

Version

  • App version: 10.0 → 11.0 ✅
  • SDK version: 9.0.300 → 10.0.100 ✅

Dependencies Updated

  • Microsoft.AspNetCore.Components.WebView.Maui: 9.0.110 → 10.0.0
  • Microsoft.EntityFrameworkCore.Proxies: 9.0.9 → 10.0.0
  • Microsoft.EntityFrameworkCore.Sqlite: 9.0.9 → 10.0.0
  • Microsoft.EntityFrameworkCore.Tools: 9.0.9 → 10.0.0
  • Microsoft.Extensions.Logging.Console: 9.0.9 → 10.0.0
  • Microsoft.Extensions.Logging.Debug: 9.0.9 → 10.0.0
  • Microsoft.Extensions.Logging.Abstractions: 9.0.9 → 10.0.0
  • Microsoft.Maui.Controls: 9.0.110 → 10.0.0
  • CommunityToolkit.Maui: 12.2.0 → 12.3.0 (for .NET 10 support)
  • Microsoft.NET.Test.Sdk: 17.14.1 → 18.0.1
  • xunit.runner.visualstudio: 3.1.4 → 3.1.5
  • FluentAssertions: 8.7.1 → 8.8.0

Build & Test Results

  • ✅ Build: Succeeded with 1 warning (platform warning - pre-existing)
  • ✅ Tests: All 178 tests pass (171 passed, 7 skipped)
  • ✅ No security vulnerabilities detected

Technical Changes

  • ✅ Removed DisableStaticWebAssets property per feedback
  • ✅ Refined workaround using targeted MSBuild target instead
  • ✅ Added IsPackable and IsTestProject properties for better test project configuration
  • ✅ The net10.0 target remains a library (not executable) as intended - platform-specific targets (net10.0-android, net10.0-windows) are the executables
  • ✅ Updated GitHub Actions workflows to use net10.0-android target framework

Workflow Updates

  • ✅ Updated .github/actions/full-build/action.yml to publish with -f:net10.0-android instead of -f:net9.0-android
  • ✅ The actions/setup-dotnet@v4 action automatically uses SDK version from global.json (10.0.100)

Note on Launch Configuration

The net10.0 target framework produces a DLL (library) by design - it's used for shared code and unit tests. To run the app:

  • On Windows: Use net10.0-windows10.0.19041.0 target
  • On Android: Use net10.0-android target

Visual Studio should automatically select the appropriate platform-specific target when debugging.

Original prompt

This section details on the original issue you should resolve

<issue_title>Update targets and bump version to v11.0</issue_title>
<issue_description>Target Frameworks

  • Update from net9.0 to net10.0

Android Platform

  • Android SupportedOSPlatformVersion: 26 → 27
  • Android TargetPlatformVersion: 35 → 36

Version

  • App version: 10.0 → 11.0

And update all other dependencies/packages.
</issue_description>

<agent_instructions>Update everything. The SDK version is 10.0.100 and it's officially released and no longer in preview/beta</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI self-assigned this Nov 11, 2025
Co-authored-by: danielchalmers <7112040+danielchalmers@users.noreply.github.com>
Copilot AI changed the title [WIP] Update targets and bump version to v11.0 Update to .NET 10 and version 11.0 Nov 11, 2025
Copilot AI requested a review from danielchalmers November 11, 2025 22:46
@danielchalmers
Copy link
Owner

@copilot

  1. Remove the DisableStaticWebAssets stuff
  2. Fix this launch error:

Microsoft Visual Studio

Unable to start program 'F:\source\repos\JournalApp\JournalApp\bin\Debug\net10.0\JournalApp.dll'.

F:\source\repos\JournalApp\JournalApp\bin\Debug\net10.0\JournalApp.dll is not a valid Win32 application.

OK

Co-authored-by: danielchalmers <7112040+danielchalmers@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 12, 2025

@copilot

  1. Remove the DisableStaticWebAssets stuff
    ...

Done in e918b85:

  1. ✅ Removed DisableStaticWebAssets property - now using a more targeted MSBuild target workaround instead
  2. ✅ The launch error occurs because net10.0 is correctly a library (DLL), not an executable - this is standard for MAUI projects where the base TFM is for shared code/tests. To launch the app in Visual Studio, select either net10.0-android or net10.0-windows10.0.19041.0 as the target framework (VS should do this automatically when debugging).

All tests pass (178 total).

@danielchalmers danielchalmers marked this pull request as ready for review November 13, 2025 23:47
@danielchalmers
Copy link
Owner

@copilot update the workflows for .net 10 too

Co-authored-by: danielchalmers <7112040+danielchalmers@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 13, 2025

@copilot update the workflows for .net 10 too

Done in 7065430. Updated the GitHub workflows to use net10.0-android instead of net9.0-android in the build action. The actions/setup-dotnet@v4 action will automatically use the .NET 10.0.100 SDK specified in global.json.

@danielchalmers danielchalmers merged commit 6ebd2d7 into main Nov 14, 2025
2 checks passed
@danielchalmers danielchalmers deleted the copilot/update-targets-and-bump-version branch November 14, 2025 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update targets and bump version to v11.0

2 participants