-
Notifications
You must be signed in to change notification settings - Fork 520
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
"Debug|iPhoneSimulator" disappeared in Visual Studio for Mac #7751
Comments
Thank you for your feedback! For us to investigate this further, could you please provide a test case (to reproduce) and all your version information. The easiest way to get exact version information:
Then copy/paste the version information (you can use the "Copy Information" button). I suspect that your solution is misconfigured, but without an example it is difficult to determine what's going on. We look forward to hearing from you! |
The repro steps are the following
Here is the solution file
And here is the visual studio information
|
In that case there are 2 bugs.
I suspect this error is because the incorrect configuration is loaded somewhere. |
I forgot to mention that the same projects that aren't building in vs4mac build fine in vs4win |
On this:
This is actually only half a bug, as our release notes document:
The IDE shouldn't suggest 13.3, but Xcode doesn't ship a 13.3 SDK with Xcode 13.3, only 13.2 Changing your info.plist to 13.2 will solve that. On the other one, if you can attach a project showing that, I'll pass it on to the IDE folks for consideration. |
The problem in the default template project is the default target is 13.3, changing it to 13.2 works. It's weird a newest version exist and appear but it doesn't work. The I found a series of problems that apparently are unrelated, but strangely only apear in vs4mac, and were working in previous versions. Some projects had the following code
This was because it was needed when vs4mac just appeared. Now this provokes a building error
When a project doesn't have a <OutputPath> set for the current configuration it doesn't allow to build in vs4mac |
Please don't set CscToolExe unless absolutely necessary, we've been using csc for a number of releases, and mcs is not tested or significantly maintained. And yes, we expect OutputPath to be set to have a sane build. You may want to compare your hand edited csproj files to a new project and see what settings you have that are no longer necessary. If after that you are still having issues, please attach an example project. |
I think we don't need CscToolExe anymore, it was needed a time ago and remained in a set of samples. Everything is running fine now. Anyway I don't understand how the first configuration combobox is populated in vs4mac. In some cases there is only "Debug" and "Release" but in others are a long list. What should I expect to see there? |
I'm not honestly sure why it shows it differently. I'm asking around now. However, they both should work even if the UX is different. |
I'm not sure why the differences in UX, I have not heard back. Would you like me to convert this to a IDE bug to request more, or should I consider this closed @arivoir ? |
We have not received the requested information. If you are still experiencing this issue please provide all the requested information then click the Reopen Issue button. Thanks! |
I'm trying to run a Xamarin.iOS project in Visual studio for Mac, but the "Debug|iPhoneSimulator" configuration is not available, only "Debug" and "Release" appear
When inspecting the "Options" of the solution I see the configurations are there
Unfortunately the Debug configuration doesn't run
I tried downloading previous simulators from Xcode, but they don't appear either.
The issue is reproducible creating a blank project.
Visual studio for Mac Enterprise 8.4.2 (build 59)
Xamarin.iOS Version: 13.10.0.17
The text was updated successfully, but these errors were encountered: