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

In a mixed UWP c++/c# project, enabling "Complie with .NET Native tool chain" results in blank screen without useful debug information #43823

Closed
exotexot opened this issue Oct 26, 2020 · 3 comments
Labels
area-Meta tracking-external-issue The issue is caused by external problem (e.g. OS) - nothing we can do to fix it directly untriaged New issue has not been triaged by the area owner

Comments

@exotexot
Copy link

I'm having troubles with my react-native-windows app submission to the microsoft store due to app certification prbolems. As described in this issue: microsoft/react-native-windows#4516 there are problems, apparently running a mixed c++ / c# project, with the submission process. A solution to fix initial app certificaiton you are required to enable .net native-ization of the code.

After adding the solution mentioned here: microsoft/react-native-windows#4516 (comment), I cannot run my app anymore. The app literally gets stuck with a blank screen without errors being thrown in either terminal console or visual studio debug output. I tried using DotNetNativeVersion 2.2.3 and 2.2.8-rel-28605-00, added all Exception flags to be thrown, but literally nothing happens. Without having the fix applied, I can run and build my app without problems. That seems super strange to me but must somehow be related to the .net native-ization. Any ideas how this could be related?

System:
OS: Windows 10 10.0.19041
CPU: (8) x64 Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Memory: 9.30 GB / 15.97 GB
Binaries:
Node: 12.9.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.10.2 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
AllowAllTrustedApps: Enabled
Versions: 10.0.18362.0, 10.0.19041.0
IDEs:
Android Studio: Not Found
Visual Studio: 16.7.30611.23 (Visual Studio Community 2019)
Languages:
Java: Not Found
Python: Not Found
npmPackages:
@react-native-community/cli: ^4.13.0 => 4.13.0
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
react-native-windows: ^0.62.14 => 0.62.14

npmGlobalPackages:
react-native: Not Found

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-Infrastructure-libraries untriaged New issue has not been triaged by the area owner labels Oct 26, 2020
@ghost
Copy link

ghost commented Oct 26, 2020

Tagging subscribers to this area: @safern, @ViktorHofer
See info in area-owners.md if you want to be subscribed.

@exotexot exotexot changed the title In a mixed c++/c# project, enabling "Complie with .NET Native tool chain" results in black screen without useful debug information In a mixed UWP c++/c# project, enabling "Complie with .NET Native tool chain" results in blank screen without useful debug information Oct 26, 2020
@safern
Copy link
Member

safern commented Oct 26, 2020

I'm not sure if that is the right area... cc: @jkotas @MichalStrehovsky

@jkotas jkotas added tracking-external-issue The issue is caused by external problem (e.g. OS) - nothing we can do to fix it directly area-Meta and removed area-CrossGen/NGEN-coreclr labels Oct 26, 2020
@jkotas
Copy link
Member

jkotas commented Oct 26, 2020

The feedback for .NET Native for UWP is not actionable in this repo. Could you please report this problem via https://developercommunity.visualstudio.com/ instead?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Meta tracking-external-issue The issue is caused by external problem (e.g. OS) - nothing we can do to fix it directly untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

4 participants