xamarin-studio

Does Mono Mkbundle Produce Native Code

て烟熏妆下的殇ゞ 提交于 2019-12-30 01:26:58
问题 The normal EXE's generated by mono are in IL.I want to generate Native Executable,does using mkbundle produce native Exe's or should i use Mono AOT. 回答1: Yes, mkbundle produces native executables. For example, on Linux, here is my .NET assembly: file Agent.exe Agent.exe: PE32 executable (console) Intel 80386, Mono/.Net assembly, for MS Windows I tell mkbundle to compile it to a native executable (here I have to add Common.dll which is a dependency to my Agent.exe assembly): mkbundle --deps -o

Autolayout design accommodating iPhone 3.5 inch and iPhone 4 inch screen size

瘦欲@ 提交于 2019-12-25 18:51:57
问题 I'm creating an universal app. Now I want to place two buttons on the screen: I tried it with autolayout and Interface Builder (iOS Designer exactly) but I only managed to fit the buttons on one screen size (e.g. 3.5 inch display). Therefore I set the size of the buttons and the spacing to the top (one to the top of the superview and one to the bottom of the button above). But is there a way to adapt this to the screen size? E.g. the width of the button is the the view width minus a certain

Autolayout design accommodating iPhone 3.5 inch and iPhone 4 inch screen size

走远了吗. 提交于 2019-12-25 18:51:07
问题 I'm creating an universal app. Now I want to place two buttons on the screen: I tried it with autolayout and Interface Builder (iOS Designer exactly) but I only managed to fit the buttons on one screen size (e.g. 3.5 inch display). Therefore I set the size of the buttons and the spacing to the top (one to the top of the superview and one to the bottom of the button above). But is there a way to adapt this to the screen size? E.g. the width of the button is the the view width minus a certain

How can I upgrade my Xamarin.iOS version from 9.6.1.8 to 9.6.1.9 in windows machine?

怎甘沉沦 提交于 2019-12-25 18:27:37
问题 How can I upgrade my Xamarin.iOS version from 9.6.1.8 to 9.6.1.9 in windows machine? I have already checked for updates in Xamarin Studio and also checked for updates in Visual Studio 2015>Tools>Options>Xamarin>Other>Check Now and all is looking up to date but as the error log says, Xamarin.iOS version is supposed to be 9.6.1.9. Thanks in advance. Xamarin.VisualStudio.IOS.LogHandler Warning: 0 : [2016-04-05 16:13:04.2398] There is a mismatch between the installed Xamarin.iOS (version 9.6.1.9)

Xamarin 5.10.3 installation error (on mac)

给你一囗甜甜゛ 提交于 2019-12-25 07:39:27
问题 I have a problem while running Xamarin 5.10.3 . I installed xamarin 5.10.3 and MonoFramework-MDK-4.4.0.142 among other dependencies, but I keep getting this error: 回答1: The error indicates that the MonoDroid addin is disabled. So you can try enabling it in the Add-in Manager or if that is not possible you can edit the following file and make sure the MonoDroid addin is enabled there: ~/Library/Caches/XamarinStudio-5.0/addin-db-002/config.xml If none of the above work I would close Xamarin

Unable to save the changes in XML file

 ̄綄美尐妖づ 提交于 2019-12-25 06:58:20
问题 i am facing problem when i try to save the XML file i store the XML file in Assets folder and set build action to Android Assets but when xml.Save("Q317664.xml"); line comes it gives exception System.UnauthorizedAccessException: Access to the path "/Q317664.xml" is denied.i am not sure why this is occurring using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using System.IO; using System.Reflection; using

Xamarin.Forms Package Erorr

我的未来我决定 提交于 2019-12-25 05:24:10
问题 Has anyone encountered this error when adding the Xamarin.Forms package through the "Add NuGet package" option? PS I'm using Xamarin Studio and I only encounter this with Windows. Error message is: Could not install package 'Xamarin.Forms 2.2.0.31'. 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. Here is the

Converting custom native MacOS X library to dll using MonoMac

▼魔方 西西 提交于 2019-12-24 15:13:06
问题 I am trying to port a Windows Forms application to MacOS X, using a native interface (.xibs). This app needs to access a hardware device that has MacOS X drivers but I wanted to keep the C# logic already written for the Windows version so it would be easier to update the application in the future. I've created a small Xcode project to test how to access this device and I got it to work, then I rolled it into a .framework and tried to use this in a MonoMac Project. This proved a bit more

Xamarin IDE and visualstudio for windows +Mvvmcross

↘锁芯ラ 提交于 2019-12-24 13:58:13
问题 I have some confusions About the IDE to use for MvvmCross a) VisualStudio (VS) uses Xamrarin.iOS and Xamarin.Android plugin for iOS and Android development. But can we also use PCL(Portable Class libraries) and MVVMCross/Monocross frameworks in VS? I see the PCL option on VS but, i don't see the support for Android & iOS. Do i need to install additional plugin for PCL to support these two platforms as well? b) Xamarin IDE supports Android and iOS development on Mac but, is it true that

Could not load type from assembly exception in mono

a 夏天 提交于 2019-12-24 12:46:31
问题 I am new to c# and mono. and I encountered a strange question. I have 2 projects in my solution. and one is dependent on another one called CoreLogic. I've already set up the dependency and the compilation is successful. However, when I run it and sent it a request, the program throws an exception like: server Error: Could not load type 'Logic.RedisStorage' from assembly 'CoreLogic, Version=1.0.5750.32870, Culture=neutral, PublicKeyToken=null'. the strangest thing is that I can see the Logic