xamarin-studio

Cannot update Xamarin for Visual Studio

时光总嘲笑我的痴心妄想 提交于 2019-12-13 16:50:05
问题 I had to re-install my PC recently, and I re-installed VS2015 Community. And then I installed Xamarin from www.xamarin.com/download I get the following notice whenever I open visual studio Although when I click it nothing happens. It just disappears. Previously on my old version, I had Xamarin Studio, where i could go in, and check for updates, which would also update Xamarin for VS2015. But for the life of me I cannot find a download for Xamarin Studio anymore, I am assuming it got

Fit webpage in Android WebView

南楼画角 提交于 2019-12-13 05:52:24
问题 I have a webpage in ASP.NET and now I am creating an Android application using Xamarin through which user can access this webpage. I am using WebView . Problem I am facing is that the content of webpage is not fitting in WebView , probably it seems a duplicate question but I did not got a proper answer in previous posts. My layout code is : <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android

Xamarin.Forms app will not run on Android device

北城余情 提交于 2019-12-13 04:52:45
问题 Just created a Xamarin.Forms app in Xamarin Studio 5.2.1 using the Blank App (Xamarin.Forms Portable) template. Made no code changes, built solution, attempted to run it on a connected Android device via right-click on my .Android project and choosing Run With. Instead of deploying and starting the app, I get an error "Execution failed: Object reference not set to an instance of an object." Has anyone run into this and figured out the problem? 回答1: Found https://bugzilla.xamarin.com/show_bug

How to upload image from gallery to web api 2 in ios xamarin studio

有些话、适合烂在心里 提交于 2019-12-13 00:18:39
问题 I am making a Native IOS app using C#. I have a registration form and i am sending form data with image. but i am unable to send image as my UIImage control does not contains its path or name.I am sending Form to web api in multipart . text field data is uploading but image is not being upoloaded . 回答1: Here's how you can pick image from Camera/Gallery onto an UIImageView , and then upload; Use UIImagePickerController for selecting image from Gallery/Camera UIImagePickerController

Xamarin.Behaviors with Xamarin.Forms iOS

拜拜、爱过 提交于 2019-12-12 18:54:07
问题 Yesterday, I stuck in a bug relative to Xamarin.Behaviors and Xamarin.Forms. The detail is a Exception was thrown after i add these code line in my xaml page: <b:Interaction.Behaviors> <b:BehaviorCollection> <b:EventToCommand EventName="Clicked" Command="{Binding MyCommand}" /> </b:BehaviorCollection> </b:Interaction.Behaviors> Although, I've added this line to xaml namespace xmlns:b="clr-namespace:Xamarin.Behaviors;assembly=Xamarin.Behaviors" Application got crash with exception: "Could not

Error APT0000: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.NoActionBar'. (APT0000)

余生长醉 提交于 2019-12-12 18:28:08
问题 I am new to xamarin studio. I have added all the required packages corresponding to the target API 23 to my android xamarin studio project, set it to the right target API 23 but am still being haunted by these errors in the image below. Any help rendered will be greatly appreciated Image contains errors from an android xamarin studio project 回答1: Your compile SDK version must match the support library's major version. Since you are using support library v23, you need to compile against

Error: The Android SDK could not be found, please set the path to it in the Xamarin.Android SDKs settings panel. (TestAndroid)

 ̄綄美尐妖づ 提交于 2019-12-12 16:17:05
问题 Error: The Android SDK could not be found, please set the path to it in the Xamarin.Android SDKs settings panel. (TestAndroid) I have selected android-sdk folder but it not works. 回答1: Download the Android SDK from the official website. Then open the SDK manager and download the necessary addins. After that select the SDK location in the preferences of Xamarin. Make sure you have enough rights to read the folder. 回答2: For MAC system, Download Android SDK from http://developer.android.com/sdk

Cannot add Linq2Twitter package to Xamarin Studio

孤者浪人 提交于 2019-12-12 15:42:04
问题 When trying to add the Linq2Twitter NuGet package to Xamarin Studio, I get the following error: Could not find a part of the path "(..)/packages/linqtotwitter.3.1.1/linqtotwitter.3.1.1.nupkg". Previously the package was installed but could not be reference from my code. After a bit of research I found that is may has something to do with missing support for PCL's (http://lastexitcode.com/blog/2014/11/16/InstallingPortableClassLibrariesForXamarinStudio/) After installing the mono MDK (Mono

Get C/C++ project support back with MonoDevelop 4.0 a.k.a. Xamarin Studio

依然范特西╮ 提交于 2019-12-12 15:39:34
问题 With the latest Xamarin Studio (relabeled from MonoDevelop 4.0), I cannot open .cproj projects anymore that worked in MonoDevelop 3.0.4.7. The feature list says it's not supported on Windows but it also says "Page last modified 09:53, 27 Oct 2010"… Is there a way to re-add the language binding? Do I need to recompile myself? Maybe there is a mirror of old MonoDevelop binaries for Windows? 回答1: C/C++ has never been supported in MonoDevelop on Windows, though reportedly some users were able to

Splat [0.3.4] on Xamarin.iOS: issues with RectangleF and PointF

耗尽温柔 提交于 2019-12-12 14:28:01
问题 I'm trying to embrace the new PCL fun on a Xamarin.iOS project in Xamarin Studio. I created a PCL "Core" library for my project and added Splat (v0.3.4) via NuGet. Then, in a consuming iOS project, I reference my core library. Once I do that, a couple compile errors show up. One of these: Error CS0012: The type `System.Drawing.PointF' is defined in an assembly that is not referenced. Consider adding a reference to assembly `Splat.Portable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null