xamarin-studio

Publish Android App option in disabled in Xamarin using Visual studio 2015

做~自己de王妃 提交于 2019-12-01 04:06:31
问题 When trying to publish my android application, the option: Tools->Android->Publish Android App is disabled in Visual studio 2015, so I am unable to sign my application and publish it. What could be the reason? 回答1: go to properties of your project and uncheck the "Use Shared Runtime" then ctrl+shift +B 回答2: 3 probable causes: 1- Your Solution configuration is on Debug , and you must select Release to deploy. 2- Uncheck Use Shared Runtime checkbox. When this is selected and you're in release

Xamarin.Forms could not install package

痞子三分冷 提交于 2019-12-01 03:05:30
When creating a new solution within Xamarian studio I get this error Could not install package 'Xamarin.Forms 1.0.6186'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5,Profile=Profile78', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. Is there a certain version of .Net that Xamarian Forms requires for it to be included in the solution? I've tried searching in their documentation but I'm only seeing marketing and not real in depth

Xamarin IDE Access to the Path is denied

前提是你 提交于 2019-12-01 02:49:22
I'm porting over a Visual Studio C# solution with many projects and creating a new solution in the Xamarin IDE - all on windows. I am porting / re-creating 1 project at a time and then compiling. I can compile each project individually but and then I can compile the solution (with some errors). The problem arises if I try a Rebuild All, then it shows the error: 'Access to the path "[my build path\some.dll]" is denied.' I have full admin rights and, as I mentioned, I originally could build the dll's so it's not an access issue. If I try to actually delete the dll's in question, I can't -

Xamarin Error: Framework not installed: .NETPortable, Version=v4.5

不问归期 提交于 2019-11-30 22:12:08
I installed Xamarin successfully and create a new project. With no code at all I'm getting the following error under the references and get errors that Xamarin.Forms is missing. I tried searching and I'm not seeing this same error where the fixes suggested work. Thank you. Error: Framework not installed: .NETPortable, Version=v4.5 System Setup: Windows 7 (Build 7601: Service Pack 1) Xamarin Studio 5.1.4 (Build 0) Visual Studio 11.0.50727.1 RTMREL Ultimate .NET Framework Version 4.5.50709 Tried to start project from VisualStudio got the following error: So I tried something else by starting as

Xamarin 4.0.13 Layout Renderer failed

懵懂的女人 提交于 2019-11-30 20:31:11
I get the error "Connection to the layout renderer failed. This may be caused by a misconfiguration of Java. Please close and open the file again" after update to 4.0.13. This is error log: Error: Could not find or load main class Files\Android\android-sdk\tools\lib\ant-tasks.jar;C:\Program ERROR [2013-10-13 10:47:56Z]: Connection failed System.Exception: Java process failed to start at Xamarin.AndroidDesigner.JavaProcessConnection.DoConnect() ERROR [2013-10-13 10:47:58Z]: Could not update jumplists System.InvalidOperationException: The file type is not registered with this application. at

Xamarin Error: Framework not installed: .NETPortable, Version=v4.5

最后都变了- 提交于 2019-11-30 17:42:06
问题 I installed Xamarin successfully and create a new project. With no code at all I'm getting the following error under the references and get errors that Xamarin.Forms is missing. I tried searching and I'm not seeing this same error where the fixes suggested work. Thank you. Error: Framework not installed: .NETPortable, Version=v4.5 System Setup: Windows 7 (Build 7601: Service Pack 1) Xamarin Studio 5.1.4 (Build 0) Visual Studio 11.0.50727.1 RTMREL Ultimate .NET Framework Version 4.5.50709

Xamarin Studio Mac, Portable class library, Async and Android

与世无争的帅哥 提交于 2019-11-30 16:39:41
Edit: On the Alpha Channel Profile7, Profile49 and Profile78 seem to work. I'm working with the setup that was described here: Getting PCL, Mvvmcross, Nuget and Xamarin Studio to play "nice" on Mac . How do you make a PCL in Xamarin Studio with Async support work. I'm usually using Profile104 which is TargetFrameworkVersion v4.0 I tried the following combinations of the hree different v4.5 profiles Profile7, Profile49, Profile78 with the different versions of Xamarin Studio: Profile7 Profile 49 Profile 78 Alpha (4.1.10, mono=3.2.2) 1 1 1 Beta (4.0.12, mono=3.2.1) 2 2 2 Stable (4.0.12, mono=3.2

Install Xamarin for Visual Studio 2013 Express

孤街醉人 提交于 2019-11-30 14:05:04
I have a Windows 8.1 laptop and I installed Xamarin. Xamarin Studio works fine, but I cannot use the Xamarin integration for Visual Studio 2013 Express for Windows Desktop. When I want to create a new project, it will not show the templates. Here is what I tried: I deinstalled and reinstalled Xamarin several times. I tried copying the files and following the instructions at http://blog.fire-development.com/2013/07/01/install-xamarin-in-vs-2013-preview-1/ . (Instead of executing devenv.exe, I used WDExpress.exe with admin rights because this is different for the express versions.) Nothing seems

The “LinkAssemblies” task failed unexpectedly

谁都会走 提交于 2019-11-30 10:46:06
When we are trying to build a xamarin forms project in release mode, we are getting the error: C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(5,5): Error MSB4018: The "LinkAssemblies" task failed unexpectedly. Xamarin.Android.XamarinAndroidException: error XA2006: Reference to metadata item 'System.Void Android.Widget.AbsListView::SetSelectionFromTop(System.Int32,System.Int32)' (defined in 'Xamarin.Forms.Platform.Android, Version=1.3.3.0, Culture=neutral, PublicKeyToken=null') from 'Xamarin.Forms.Platform.Android, Version=1.3.3.0, Culture=neutral, PublicKeyToken

How do I debug on a real android device using Xamarin for Visual Studio?

我与影子孤独终老i 提交于 2019-11-30 10:26:37
问题 I've found a few links but they don't explain how this is done. I can debug using Xamarin Studio IDE but that IDE (no offense) is lame compared to Visual Studio. Using Visual Studio, there appears to only be option to select an emulator to debug. So how do I get it to debug on my real device via USB (I already have USB Debugging = true)? 回答1: I'm using Visual Studio 2017 with a OnePlus. In order get debugging working I did the following. Go to Settings > About phone and tap Build Number