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

Receive HE0042 Error when running iOS Xamarin.Forms app #15361

Closed
vsfeedback opened this issue Jun 27, 2022 · 1 comment
Closed

Receive HE0042 Error when running iOS Xamarin.Forms app #15361

vsfeedback opened this issue Jun 27, 2022 · 1 comment

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


I’m working on samples for the azure-mobile-apps library (https://github.com/azure/azure-mobile-apps). The Xamarin.iOS app works fine in VS Mac 2022 Preview. however, when starting the Xamarin.Forms.iOS version, I get the error: HE0042: Could not launch the app ‘com.companyname.TodoApp.Forms’ on the device ‘iOS 15.5 (19F70) - iPhone SE (3rd generation)’: Application launch for 'com.companyname.TodoApp.Forms' did not return a valid pid nor a launch error.

The simulator is started; the app is deployed to the simulator, but the app is not started. Starting the app manually on the simulator works just fine.

Build looks to work fine - just one warning: /Applications/Visual Studio (Preview).app/Contents/MonoBundle/MSBuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2218,5): warning MSB3276: Found conflicts between different versions of the same dependent assembly. Please set the "AutoGenerateBindingRedirects" property to true in the project file. For more information, see http://go.microsoft.com/fwlink/?LinkId=294190.


Original Comments

Rolf Kvinge [MSFT] on 6/17/2022, 00:59 PM:

(private comment, text removed)


Original Solutions

(no solutions)

@rolfbjarne
Copy link
Member

This is probably a duplicate of #14834, so closing as such.

@rolfbjarne rolfbjarne closed this as not planned Won't fix, can't repro, duplicate, stale Jun 28, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jul 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants