Skip to content
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

Document why "AnyCPU" platform is dropped for Windows 10 UWP #59

Closed
brodybits opened this issue Jan 10, 2017 · 1 comment
Closed

Document why "AnyCPU" platform is dropped for Windows 10 UWP #59

brodybits opened this issue Jan 10, 2017 · 1 comment

Comments

@brodybits
Copy link

Over the past 1-2 years I noticed that if I would use the Cordova CLI to add the Windows platform build and then open the Visual Studio Solution file with the Visual Studio (2015) GUI it would select the "Any CPU" platform by default. This was good for Windows 8.1 and Windows Phone 8.1 for WinJS apps without SQLite since almost other plugins have been JavaScript only. I found a nice article for reference that seems to be duplicated somehow:

Then I found out that Microsoft did not really want to support the "Any CPU" target platform for Windows 10 UWP. I discovered that if I would build a test app with no plugins I could run an "Any CPU" build in Debug mode but not release mode.

From an unrelated discussion (storesafe/cordova-sqlite-storage#610) I searched for information about an <EnableDotNetNativeCompatibleProfile> setting and found this question: http://stackoverflow.com/questions/29979047/windows-universal-app-no-any-cpu-configuration-for-windows-10

With some more searching I discovered why: .NET Native ref: https://blogs.windows.com/buildingapps/2015/08/20/net-native-what-it-means-for-universal-windows-platform-uwp-developers/

I wish this were documented more clearly for Cordova users, on a blog for example.

@jcesarmobile
Copy link
Member

closing since the platform is now deprecated

@jcesarmobile jcesarmobile closed this as not planned Won't fix, can't repro, duplicate, stale Jan 12, 2023
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

No branches or pull requests

2 participants