xamarin-studio

Add Portable Class Library (in DLL form) to Xamarin Studio

荒凉一梦 提交于 2021-02-07 05:43:15
问题 I have built a Portable Class Library with Visual Studio 2012 that will also build in Xamarin Studio. I would like to add the DLL built from that PCL (from the bin directory of the solution) to an existing (Android app) project in Xamarin Studio 5.3. I notice that according to documentation from Xamarin, this is generally possible. For example, from this page: The output from a PCL (ie. the resulting assembly DLL) can also be added as a reference to most projects. This makes PCL an ideal way

How can I rotate an ImageView?

半世苍凉 提交于 2021-02-05 09:40:45
问题 I want to rotate an ImageView programmatically in my Activity. Currently I couldn't find any solutions for Xamarin which works and translated solutions from Android didn't work either. Does anybody know how to rotate an ImageView? This code for example just gives me a NullPoinerException and I don't know why: [Trace] error opening trace file: No such file or directory (2) [Mono] Image addref mscorlib[0xb7c3b4b8] -> mscorlib.dll[0xb7c771b0]: 1 [Mono] AOT module 'mscorlib.dll.so' not found:

SIGABRT error after last Xamarin.iOS update

生来就可爱ヽ(ⅴ<●) 提交于 2021-01-27 07:16:19
问题 Just updated to the lastest version of Xamarin studio and Xamarin.iOS. Now I am getting this error: Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. Well, its not even an error actually. The simulator just crashes and and no workable error shows up. All was fine 10 mins ago... Im on Mac OSX. Any ideas? Thanks! EDIT 2015-05-08 08:46:58.951 ReflectMobileiOS[1761:93636] Unhandled managed

SIGABRT error after last Xamarin.iOS update

南楼画角 提交于 2021-01-27 07:12:24
问题 Just updated to the lastest version of Xamarin studio and Xamarin.iOS. Now I am getting this error: Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. Well, its not even an error actually. The simulator just crashes and and no workable error shows up. All was fine 10 mins ago... Im on Mac OSX. Any ideas? Thanks! EDIT 2015-05-08 08:46:58.951 ReflectMobileiOS[1761:93636] Unhandled managed

Resource.Designer.cs under git

僤鯓⒐⒋嵵緔 提交于 2020-12-02 03:36:07
问题 I work in an environment where people use two different IDEs (Visual Studio and Xamarin Studio) to work on the same code. Unfortunately, they generate slightly different versions of the file Resource.Designer.cs. This is an auto-generated file but we do need it in VC, or the project will complain when you try to build it after cloning. The problem here is that we do need this file in vc, BUT the tiny changes are highly annoying. If you commit the project with one IDE, then someone downloads

Local Push notification not working in Xamarin iOS

你说的曾经没有我的故事 提交于 2020-07-10 11:11:45
问题 I am using Xamarin.forms and implemented Local push notification for iOS. It is working successfully when I am debugging the app through visual studio even when the app is minimized, the app can able to receive the notification. But while running the app directly without debugging through visual studio, the app is not able to display the notification. Kindly guide me on this. Then I also tried by releasing the app to the app store but experienced the same, the app is not able to receive the

Local Push notification not working in Xamarin iOS

大憨熊 提交于 2020-07-10 11:10:50
问题 I am using Xamarin.forms and implemented Local push notification for iOS. It is working successfully when I am debugging the app through visual studio even when the app is minimized, the app can able to receive the notification. But while running the app directly without debugging through visual studio, the app is not able to display the notification. Kindly guide me on this. Then I also tried by releasing the app to the app store but experienced the same, the app is not able to receive the

Write Xamarin version information in Console or file

巧了我就是萌 提交于 2020-03-22 03:37:30
问题 Currently, to get Xamarin version information we need to do the following: Xamarin Studio Xamarin Studio > About Xamarin Studio > Show Details > Copy Information [button] I need to have these information in a file or writing them in a console. Do we have a command to do this? Thank you. 回答1: To get Visual Studio for Mac version: /usr/libexec/PlistBuddy -c 'print :CFBundleVersion' /Applications/Visual\ Studio.app/Contents/Info.plist To get currently used Mono version: mono --version or you can