xamarin-studio

Xamarin Studio Targeting netstandard

孤街醉人 提交于 2019-12-23 15:34:17
问题 I am trying to upgrade my pcl library to target the netstandard in Xamarin Studio on my Mac. But I don't see the option. All the information I have found only talk about using Visual Studio. Xamarin Blog Oren's blog When I look for the option they talk about in Xamarin Studio, I can't find it. 回答1: As of Xamarin Studio 6.0.2 you can consume .Net Standard libs, but NOT create them. The ability to create .NET Standard Libraries in Xamarin Studio on macOS will be available in the future, but

Use Xamarin Studio on Windows to build iOS app

非 Y 不嫁゛ 提交于 2019-12-23 13:16:27
问题 Is it possible to build an iOS app using Xamarin Studio running on Windows and have it connect to the Xamarin.ios Build Host running on the mac? The example I have seen only talk about using Visual Studio. 回答1: No it is not possible. Xamarin Studio on Windows will only build Android apps. If you are going to use Xamarin Studio and you have a connected Mac, then why not just use it on the Mac? 回答2: No you can't use Xamarin Studio on Windows and connect to the Xamarin.iOS build host, you have

Use Xamarin Studio on Windows to build iOS app

橙三吉。 提交于 2019-12-23 13:16:00
问题 Is it possible to build an iOS app using Xamarin Studio running on Windows and have it connect to the Xamarin.ios Build Host running on the mac? The example I have seen only talk about using Visual Studio. 回答1: No it is not possible. Xamarin Studio on Windows will only build Android apps. If you are going to use Xamarin Studio and you have a connected Mac, then why not just use it on the Mac? 回答2: No you can't use Xamarin Studio on Windows and connect to the Xamarin.iOS build host, you have

How to add a height/width constraint with iOS Designer in Xamarin Studio?

可紊 提交于 2019-12-23 12:28:14
问题 As the title indicates I want to add a constraint like with Xcode with the Pin button, but there is no such button in Xamarin Studio. I can't figure out where do I add a height constraint. With height constraint I mean a constraint like viewA.height = null * multiplier + constant i.e. NSLayoutAttribute.NoAttribute should be used! How can I do that with iOS Designer? 回答1: You have to left-click once on the heigth/width pin. Then the constraint is created for you with the current frame size.

Unable to open Xamarin Studio on Windows 10

半城伤御伤魂 提交于 2019-12-23 12:25:20
问题 I Have been follow the steps in this video to install xamarin studio without visual studio How to install Xamarin Studio in windows and when i try to open it its not working,no message no anything I try to run it as administrator and its doesnt work 回答1: If you look in the IDE log file, which is in the %AppData%\Local\Xamarin-Studio-6.0\Logs directory and you see an error similar to: System.DllNotFoundException: Unable to load DLL 'libglib-2.0-0.dll': The specified module could not be found.

How to prevent Android app from getting uninstalled during deployment with Xamarin Studio?

十年热恋 提交于 2019-12-23 09:40:09
问题 Every time I deploy a new version of an Android app with Xamarin Studio the app gets uninstalled first and then installed again. This is causing some problems for me because I'm using XPrivacy on my devices. I wonder if there is a way to simply deploy the new version without uninstalling them in the first place (like when deploying with Android Studio or Eclipse)? 回答1: When building and deploying apps to your device, by default Xamarin will delete any existing application data/cache. This is

Xamarin: Issue with latest FB API

血红的双手。 提交于 2019-12-23 09:31:11
问题 Latest FB login API has three parameters public unsafe virtual void LogInWithReadPermissions (string[] permissions, UIViewController fromViewController, [BlockProxy (typeof(Trampolines.NIDLoginManagerRequestTokenHandler))] LoginManagerRequestTokenHandler handler) I am using MVVMCross. For fb login, I tried created an instance of the view i am in, and pass it as a parameter for LogInWithReadPermissions() VIEWMODEL: private async void DoFacebookSignIn() { try { await facebookService. Login();

Xamarin - clearing ListView selection

血红的双手。 提交于 2019-12-23 07:47:48
问题 I am actually working with this piece of code using System; using Xamarin.Forms; using System.Diagnostics; namespace CryptoUI { public class HomePage : Xamarin.Forms.MasterDetailPage { public HomePage() { // Set up the Master, i.e. the Menu Label header = new Label { Text = "MENU", Font = Font.SystemFontOfSize(20, FontAttributes.Bold), HorizontalOptions = LayoutOptions.Center }; // create an array of the Page names string[] myPageNames = { "Main", "Page 2", "Page 3", }; // Create ListView for

Cant create single view Application in Xamarin Studio

…衆ロ難τιáo~ 提交于 2019-12-22 15:59:08
问题 I'm trying to create a single view application in Xamarin Studio from the multiplatform tab. However the target platform checkboxes as well as the "Next" button are greyed out/disabled. I'm on a Mac. 回答1: If you have installed free version of Xamarin long time ago when iOs development was not included for free, the iOs and Android components are missing. Even if you upgrade Xamarin from the "Check for updates", it only upgrades the Xamarin Studio to latest version and doesn't add iOs not

Debugging F# in Xamarin Studio 4.0.3 throws an error

心已入冬 提交于 2019-12-22 04:58:08
问题 I have installed Xamarin Studio 4.0.1 on Windows 8 x64 from http://monodevelop.com/Download . When I ran Xamarin, it got updated to 4.0.3. I have installed F# bindings. I have created new F# console project. When I run it, it works fine. When I set a break-point and run it, I get the following error. Any idea, why that happens? System.Runtime.InteropServices.COMException (0x80070032): The request is not supported. (Exception from HRESULT: 0x80070032) at Microsoft.Samples.Debugging.CorDebug