Registry Mirror
Skip to content

Conversation

@bpulliam

Copy link
Copy Markdown
Contributor

.NET8 introduced a conditional breaking change that influences how the runtime host looks for RID-specific assets. In NET8, support for non-portable RIDs (runtime identifiers specific to versions and distributions, such as win10-x86) is discontinued. The folder structure of the Microsoft.WindowsAppSDK NuGet is structured with assets marked using these non-portable RIDs:

The changes made to the CopyFilesToStagingDir.ps1 script along with the project template changes should help support the .NET8 scenario. The selection of the project template's RIDs is conditional and based on the TFM chosen by the user. If NET8 is chosen, the RIDs become portable, enabling the runtime host to locate the RID-specific assets that were previously unattainable.

Shashank Nayak and others added 2 commits December 6, 2023 10:33
…ionCopyFilesToStagingDir.ps1

.NET8 introduced a [conditional breaking change](dotnet/docs#35398) that influences how the runtime host looks for RID-specific assets. In NET8, support for non-portable RIDs (runtime identifiers specific to versions and distributions, such as win10-x86) is discontinued. The folder structure of the Microsoft.WindowsAppSDK NuGet is structured with assets marked using these non-portable RIDs:
![image (4).png](https://dev.azure.com/microsoft/55e8140e-57ac-4e5f-8f9c-c7c15b51929d/_apis/git/repositories/2467406e-dc4e-49eb-b903-238f0da5a43e/pullRequests/9926818/attachments/image%20%284%29.png)
The changes made to the `CopyFilesToStagingDir.ps1` script along with the project template changes should help support the .NET8 scenario. The selection of the project template's RIDs is conditional and based on the TFM chosen by the user. If NET8 is chosen, the RIDs become portable, enabling the runtime host to locate the RID-specific assets that were previously unattainable.
@bpulliam

Copy link
Copy Markdown
Contributor Author

/azp run

@Scottj1s

Copy link
Copy Markdown
Member

We should cherry pick this change instead (future proof):
#4012

@Scottj1s Scott Jones (Scottj1s) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are all .NET 8 changes accounted for here?

@Scottj1s
Scott Jones (Scottj1s) enabled auto-merge (squash) December 11, 2023 22:36
@Scottj1s
Scott Jones (Scottj1s) merged commit df4a07f into release/1.4-stable Dec 11, 2023
@Scottj1s
Scott Jones (Scottj1s) deleted the user/bpulliam/1.4net8 branch December 11, 2023 22:36
@Micke3rd

Copy link
Copy Markdown

Can you please deploy a package version with this fix ?
Neither the last 1.4.231115000 nor 1.5.231202003-experimental1 contains it.

ty in advance

@Scottj1s

Copy link
Copy Markdown
Member

Can you please deploy a package version with this fix ? Neither the last 1.4.231115000 nor 1.5.231202003-experimental1 contains it.

ty in advance

It's on the way - thanks for your patience

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants