-
Notifications
You must be signed in to change notification settings - Fork 321
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
Self contained apps fail to build with AnyCPU & RIDs #2684
Comments
@mattleibow The check needs to include "Any CPU" as well. When building a .sln a .metaproj gets generated that converts "Any CPU" to "AnyCPU" but if you build the .proj file directly this doesn't happen and this check breaks. |
This AnyCPU vs Any CPU might affect the other locations as well then? AnyCPU is used a lot in the targets generally. |
Yes, there is already another bug I filed here where I am hitting this issue. Would be a good idea to scrub the the whole repo. |
Discussion/3026 helped me to solve this issue. |
In most modern frameworks - such as maui - we use RIDs. So, it does work with Platform, but I am explicitly not using it. |
Related to #4008 |
I added some more workarounds in #893 |
Workarounds now incorporated in Windows App SDK 1.6 Experimental 2 |
Describe the bug
When building a self contained app that uses a RID instead of the platform, the build fails:
@Scottj1s I believe this is similar to another issue before with copying things. I copied the changes you made in the
_GetProjectArchitecture
target and it works here too.Steps to reproduce the bug
Expected behavior
Builds
Screenshots
No response
NuGet package version
1.1.1
Packaging type
Unpackaged
Windows version
No response
IDE
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: