Installed VS2019 in Windows 10 workstation.
Connected to our TFS server.
The "Team" menu option appears in the VS menu, but under it, the "Team Project Settings" is not showing.
How can I get this option to show?
As a reference, the same VS2019 was installed in our test server (Windows Server 2019), and there, the "Team Project Settings" shows fine under the "Team" menu.
Related
The Issue
Developing on Windows with Visual Studio, and trying to run my app in iOS Simulator.
I'm not fussy whether the Simulator runs locally on my Windows machine, or on the Mac itself.
The Mac is "connected" from within Visual Studio, and Visual Studio successfully installed any missing libraries it required remotely on the Mac.
My app runs wonderfully on Android in both the Android simulator and physical devices.
But I'm unable to get the iOS Simulator to run when launched from Visual Studio.
Environment
Windows machine:
Windows 10
Visual Studio 2019 Preview 16.11.0 Preview 3
Xamarin Mobile Blazor Bindings (doesn't to seem to be relevant, as I've tried creating other brand new iOS-related projects from within VS, with the same result).
Mac
MacBook Air, running Big Sur.
Xamarin.iOS14.20.0.24
Xcode 12.5.1
Simulator 12.5.1
Different Scenarios Tried
Scenario 1 - Enabled Remote Simulator to Windows
Visual Studio → Options → Xamarin → iOS Settings → Simulator - Checked "Remote Simulator to Windows".
Selected "iPhoneSimulator".
Selected iOS project from solution "BlazorHybridApp.iOS".
Selected from the list of available devices "iPod touch (7th generation) iOS 14.5)".
Clicked "Run".
Scenario 1 - Result within Visual Studio on Windows
Scenario 2 - Disabled Remote Simulator to Windows
Visual Studio → Options → Xamarin → iOS Settings → Simulator - UNCHECKED "Remote Simulator to Windows".
Selected "iPhoneSimulator".
Selected iOS project from solution "BlazorHybridApp.iOS".
Selected from the list of available devices "iPod touch (7th generation) iOS 14.5)".
Clicked "Run".
Scenario 2 - Result within Visual Studio on Windows
Error message:
error MT0069: The app directory '/Users/macbook/Library/Caches/Xamarin/mtbs/builds/BlazorHybridApp.iOS/373192a984aab952b21bd389276fc38f881a1f70c8927669096f762b8fab1f51/bin/iPhoneSimulator/Debug/BlazorHybridApp.iOS.app' does not exist.
I checked on the MacBook, and indeed the folder does not exist (I'd expect it to be auto-created as part of the build?).
So, I manually created the folder on the Mac, and reran from Visual Studio with the same settings selected.
Scenario 2 - 2nd Result within Visual Studio on Windows
Error message:
error MT1008: Failed to launch the simulator: Could not find required file '/Users/macbook/Library/Caches/Xamarin/mtbs/builds/BlazorHybridApp.iOS/373192a984aab952b21bd389276fc38f881a1f70c8927669096f762b8fab1f51/bin/iPhoneSimulator/Debug/BlazorHybridApp.iOS.app/Info.plist'.
I checked on the MacBook, and the specified file does not exist. In fact the folder I manually created is empty. I'm assuming this is where Xcode should be generating the binaries, etc.?
Despite the error message, on the MacBook, the Simulator DID launch, but did not launch my app.
Other Info
Big Sur/Xcode newly installed
This is a virgin MacBook, so no configuration changes have been made to the OS or Xcode.
Confirmed Simulator is working on MacBook
I have checked that the Simulator is working ok on the MacBook, by creating a new App project on the MacBook from within Xcode and running it on the Simulator.
Even tried Visual Studio 2022
Out of desperation, I have also tried downloading Visual Studio 2022 Preview which also has the required mobile dev support, but got the same issues.
Any ideas?
Can anyone offer any advice? Would be very gratefully received.
For Scenario 1, it is a known issue and it has been reported here .
According to the latest reply , there will be a release for this issue soon .
For Scenario 2 , I would suggest you
Update everything to the latest stable version (vs for windows , vs for mac , Xcode).
Delete bin and obj folders in Forms and iOS project , rebuild and try again .
If problem persists try to create a new project and test .
I have installed Android 3.2.1 from https://developer.android.com/studio/.
I have SDK location in "C:\Users\myUser\AppData\Local\Android\Sdk" with "SDK Platforms" installed "Android 9.0(Pie)".
enter image description here
enter image description here
I have my JAVA_HOME variable with JDK 1.8.
When I start android studio I don't see under menu Tools many subitems like
"AVD Manager" "SDK Manager" "Layout Inspector" "Theme Editor" "Connection Assistant" "FireBase" "App link Assistant";
I see the only subitems: "Task & COntexts" "Generate JavaDoc" "Ide Scripting Console" "JShell Console" "Groovy Console" "Kotlin".
My friend has Android Studio 3.2, earlier version and he sees correct subitems under main menu Tools.
I have checked my settings in "Appearance & BEhavior" -> "Menus & Toolbars" -> "Main menu" -> "Tools" and I can see "Android" folder with "AVD Manager" "SDK Manager" "Layout Inspector" "Theme Editor" ;
I have also "AndroidToolsGroupExtension" with items " "Connection Assistant" "FireBase" "App link Assistant".
Any suggestions?
Thanks
I have published an application on the AppStore and now I want to make a new Release for this app.
In Visual Studio I have just two build configurations, Debug and Release. The other configurations, "Ad-Hoc" and "AppStore", are missing
If I select the Release build configuration the "Archive" option is disabled, I can select just "Show the IPA file on server", if I load the file using "Load Application" it will be loaded like a testing version.
What can I do to be able to publish it like a release application?
I don't believe that Archive menu item has been implemented in Visual Studio yet. You can do an archive from the command line. See:
https://developer.xamarin.com/guides/ios/troubleshooting/questions/create-xcarchive/
As of Xamarin 4.x, it is now possible to create a .xcarchive from Windows by setting the ArchiveOnBuild property to true. For example, using MSBuild on the command line:
msbuild /p:Configuration=Release /p:ServerAddress=10.211.55.2 /p:ServerUser=xamUser /p:Platform=iPhone /p:ArchiveOnBuild=true /t:"Build" MyProject.csproj
The .xcarchive will be placed in the $HOME/Library/Developer/Xcode/Archives directory on the Mac build host that both Xcode and Xamarin Studio search to display previously built archives.
See this Xamarin Forums post for some brief additional notes about the ArchiveOnBuild property. See the documentation about Xamarin.iOS command line builds on Windows for additional details about the ServerAddress and ServerUser properties.
Trying to compile an iOS Build shows the following error message:
Could not find 'Xamarin.iOS'
The setting "Deployment Target" on the page "iOS Application" shows this message:
Unable to retrieve iOS SDK information from Xamarin Mac Agent server.
The setting "iOS Bundle Signing" in the project properties shows the following message:
Failed to obtain Profile information from the build server.
Please, check the connectivity with the Mac build host
Visual Studio is successfully connected to a Mac with XCode 8.1. The Xamarin Mac Agent on Windows shows the Mac with a valid "chain" symbol. The "Device Log" on Windows shows all messages from an iPad connected to the Mac, so the connection to the Mac works.
Rebooting all systems had no effect.
Creating an iPad App with Xcode alone works flawless, it runs perfectly on the iPad using the provisioning profile from Xcode.
Version information:
Windows 10.0.10586
macOS 10.12.1
Visual Studio Community 2015 (Windows) Version 14.0.25431.01 Update 3
Xamarin Studio Community (Mac) Version 6.1.2 (build 44)
XCode 8.1 (8B62)
I am trying to simulate an iOS app on my windows machine using visual studio 2015(Xamarin installed). My windows machine is connected to a mac agent. When I simulate the app in the windows machine the simulator opens in the mac. Can any one tell me how to simulate the app on my windows machine.
You can use the iOS remote simulator. To use this feature you must update Xamarin and turn on remote simulator in Tools->Options->Xamarin->iOS.
You still need a mac for this feature.
You can use VNC to remote into the mac to show the simulator. That is what Xamarin dev's do at Evolve.
Unfortunately, that is your only option at the moment.
To simulate the iOS application, you must need MAC machine. Using Windows machine with Xamarin Studio, you can develop iOS application. But to run it on device or simulator, you need Mac machine.
Look at these solutions to remotely see the mac window:
Apple Remote Desktop
TeamViewer !
Chrome Remote Desktop
VNC Client. Activate screen sharing:
To fix this problem please follow these steps assuming your windows machine is connected to a mac agent:
Download and install the "Remoted iOS Simulator (for Windows)":
https://developer.xamarin.com/guides/cross-platform/windows/ios-simulator/
Go to Tools -> Options -> Xamarin -> iOS Settings:
Tick the checkbox "Remote Simulator to Windows"
Click in Build -> Configuration Manager:
Find your iOS project in the list and make sure the Platform is "iPhoneSimulator"
In your solution explorer right click in your iOS project and go to "Properties":
In the tab "iOS Build" find the section "Linker Options" and select the Linker behavior to "Link all assemblies" and Save
In your solution explorer right click in your iOS project again and click "Clean" and after that click "Rebuild"
Set the Visual Studio to run in Debug Mode and select "iPhone 5s iOS 9.3" click in option to launch the iPhone Simulator.
I hope it helps.
Remote iOS simulator is only available on enterprise
https://developer.xamarin.com/guides/cross-platform/windows/ios-simulator/
Remoted iOS Simulator requires a Visual Studio Enterprise license