Skip to content

Three small XPF tweaks #591

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
8 changes: 4 additions & 4 deletions xpf/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ title: Getting started

## Step 1: Prepare your WPF project

:::note
This document uses .NET 7.0 as an example, but .NET 6.0 and above are supported by XPF
:::

Make sure that your project has been updated/ported to `net7.0-windows` and uses the new [SDK](https://learn.microsoft.com/en-us/dotnet/core/project-sdk/overview) csproj format.

For more information see the Microsoft [How to upgrade a WPF desktop app to .NET 7](https://learn.microsoft.com/en-us/dotnet/desktop/wpf/migration) guide.
Expand All @@ -23,10 +27,6 @@ If you are running on Linux, see the [linux](platforms/linux) guide **before** y
See our [porting tips](porting-tips) for a more detailed run-through of this step.
:::

:::note
This document specifies .NET 7.0, but `net6.0` should also work
:::

## Step 2: Add a `NuGet.config`

Create a `NuGet.config` file at the root of your solution, or modify an existing one to contain the following:
Expand Down
1 change: 1 addition & 0 deletions xpf/missing-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ The following features are available, but with limitations:
The following features will be available later but require significant engineering effort:

- `Viewport3D` and related 3D APIs
- `MediaElement` and `MediaPlayer`

The following features are unlikely to be supported due to platform restrictions:

Expand Down
3 changes: 1 addition & 2 deletions xpf/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@ Use the username `license` and your license key as the password when asked.
:::

- https://xpf-nuget-feed.avaloniaui.net/
- https://nuget-feed-all.avaloniaui.net/
- https://xpf-nuget-feed.avaloniaui.net/v3/index.json
- https://nuget-feed-all.avaloniaui.net/v3/index.json

The first two URLs should display a page similar to the package listing on [nuget.org](https://www.nuget.org/packages); the second two URLs should display some JSON.
The first URL should display a page similar to the package listing on [nuget.org](https://www.nuget.org/packages); the second two URLs should display some JSON.

If you are unable to view any of these URls, check your firewall settings.

Expand Down
Loading