Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Aug 21, 2025

Enhanced the documentation for building Uno.UI with single target platforms by improving step 5 and adding comprehensive examples and build optimization guidance.

Changes Made

Enhanced Step 5 Clarity

Updated step 5 to explicitly reference the crosstargeting_override.props.sample file where target framework identifiers are documented, making it clearer where developers can find the complete list of available platforms.

Added Concrete Examples

Added practical examples showing how to configure UnoTargetFrameworkOverride for common development scenarios:

<!-- iOS development with .NET 9 -->
<UnoTargetFrameworkOverride>net9.0-ios</UnoTargetFrameworkOverride>

<!-- Windows development with .NET 9 -->
<UnoTargetFrameworkOverride>net9.0-windows10.0.19041.0</UnoTargetFrameworkOverride>

<!-- Android development with .NET 9 -->
<UnoTargetFrameworkOverride>net9.0-android</UnoTargetFrameworkOverride>

New Build Optimization Section

Added a new "Additional Build Optimization Properties" section documenting:

  • AccelerateBuildsInVisualStudio: Explains how this property improves build performance using reference assemblies builds, particularly useful when iterating on code changes
  • OptimizeImplicitlyTriggeredBuild: Documents how this property speeds up builds by disabling C# analyzers, with appropriate warnings about commenting it out before creating pull requests

All documentation additions are consistent with the explanations provided in the crosstargeting_override.props.sample file to ensure accuracy and maintain a single source of truth. Examples have been updated to use .NET 9, which is the currently supported version.

Fixes #16680.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@Copilot Copilot AI changed the title [WIP] [Docs] changing the UnoTargetFrameworkOverride for running the Uno samples app. [Docs] Enhance UnoTargetFrameworkOverride documentation with examples and build optimization properties Aug 21, 2025
@Copilot Copilot AI requested a review from MartinZikmund August 21, 2025 10:53
Copilot finished work on behalf of MartinZikmund August 21, 2025 10:53

**Examples:**

- For iOS development with .NET 8:
Copy link
Member

Choose a reason for hiding this comment

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

@copilot we no longer support .net 8, show samples with .net 9 instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated all .NET 8 examples to .NET 9 in the documentation (82ae008)

Copilot finished work on behalf of MartinZikmund August 21, 2025 11:01
@Copilot Copilot AI requested a review from MartinZikmund August 21, 2025 11:01
@unodevops
Copy link
Contributor

⚠️⚠️ The build 174206 has failed on Uno.UI - docs.

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.

[Docs] changing the UnoTargetFrameworkOverride for running the Uno samples app.
4 participants