问题标签 [xamarin-studio]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c# - 在 Mac 上对 Xamarin Studio 的 MVVM 交叉支持
我一直在探索在Mac 上的 Xamarin Studio 上使用MVVM Cross 。我已经在 YouTube 上浏览了N+1 天的 MvvmCross教程,我遇到了一个希望其他人经历过的障碍。
教程使用 PCL 和 VS 2012,但由于我使用的是 Mac,所以我必须使用 Xamarin Studio。我了解 Xamarin Studio 不支持 PCL,因此我创建了一个基本 C# 项目,然后将库链接到 Xamarin.Android 项目。我已经阅读了很多 MvvmCross 帖子,包括这篇文章,但还没有找到解决方案。
该项目成功构建并似乎成功部署到模拟器,但我无法让应用程序在模拟器上运行。该应用程序立即关闭,我收到的唯一错误是 Xamarin Studio 的应用程序输出中的以下非描述性消息。
我设置了多个断点,但无法触发任何断点,看来错误是在我的代码运行之前发生的。我下载了项目的示例代码并成功运行,所以我逐行检查错误但没有成功(我什至用示例中的那些文件替换了我的类文件。我已经确认所有的 DLL 都是正确。我正在使用来自https://github.com/slodge/MvvmCross-Binaries的预编译库。
我真的不确定下一步该去哪里确定这个错误的原因。有没有其他人经历过这个?我知道 Xamarin 和 MvvmCross 都专注于 Visual Studio 集成和 PC 开发;MvvmCross 是否足够稳定,可以在 Mac 的 Xamarin Studio 上使用?有谁知道我的错误可能是什么,或者接下来要尝试什么?
我知道这是一个相当不确定的问题,但我希望我不是唯一一个遇到这种情况的人。我试图尽可能地进行描述,但如果有人需要更多信息,请告诉我。谢谢。
macos - 更改默认 Xamarin Studio 的 Web 服务器
是否可以使用 mod_mono 将 Xamarin Studio 的 Web 服务器从 XPS 更改为 Nginx 或 Apache 之类的另一个服务器?
我没有找到任何看起来像 Visual Studio 的选项,您可以在其中指向任何类型的 Web 服务器:
我在 Mac OS X lion 10.7.3 上
c# - 如何在 xamarin studio/monodevelop 中为我的项目添加 system.core.dll 引用
我正在尝试使用System.Linq
,因为它有一个“未知的解析错误”。我已经做了一些关于如何做到这一点的环顾四周,我所能找到的只是人们说它需要添加或者他们添加了它。我想知道如何将它添加到我的项目中,以便我可以使用“.ToList”函数。
c# - Linking object from custom library
I have this feeling that this should be quite simple, but I might be missing something simple that I can't find.
I have this personal lib I created in MonoDevelop. Nothing too fancy:
And here's what I want to do:
That MapMaker line results in the following error: The type or namespace name 'MapMaker' could not be found. For the record, the GMapsLib.MapMaker.tmpVar = true;
line prompts the following: The type or namespace name 'MapMaker' does not exist in the namespace 'GMapsLib'.
I have linked GMapsLib in the references folder of my solution trough the Mono IDE, cleaned and rebuild. Even the autocomplete for the GMapsLib elements works, so I'm out of ideas as to what I'm missing.
Any ideas?
Some notes:
I'm working with Xamarin Studio on a Mac and this is testing for an android app
macos - Can I create a console application using Xamarin.Mac?
I just purchased Xamarin.Mac in an effort to create a cross platform console utility. I figured this would be trivial but I am missing something.
How can I create and what do I need to do to deploy a simple Console.WriteLine("Hello World");
app using Xamarin.Mac?
here is the result I am looking for from the console in any folder on my mac.
c# - Grand Central Dispatch vs ThreadPool Performance in Xamarin iOS
I've reviewed the documentation for Xamarin, and it recommends using ThreadPool for multithreaded functionality, as can be seen here:
http://docs.xamarin.com/guides/ios/application_fundamentals/threading
However, a benchmark has been done showing that Grand Central Dispatch is much more performant than ThreadPool
Therefore my question is, why does Xamarin recommend ThreadPool over Grand Central Dispatch? Is Xamarin eventually going to tie ThreadPool into Grand Central Dispatch? When would one choose one over the other? Because if ThreadPool is going to be optimized by Xamarin, and eventually outperform Grand Central Dispatch, then I do not want to use Grand Central Dispatch.
64-bit - D书中的示例不起作用,奇怪的错误
全部,
我正在使用 Xamarin Studio 4.08 和 Mono-D 使用 DMD2 编译器对 D 进行编程。当我尝试编译以下内容时(来自The D Programming Language - Alexandrescu , 2010- Page 10):
编译时出现以下错误:
: Error: std.array could not be resolved - library reference missing?
但是,当我注释掉时情节变厚了assert(binarySearch([1,3,6,7,9,15], 6));
,因为这会产生一个非常特殊的错误:
首先,缺少一个库,然后,它是一个 16 位应用程序。我知道这本书有勘误表,但里面没有。
更新
使用相同的代码编译rdmd test.d --main
并得到以下错误...
这次我做错了什么?:P
xamarin.android - 发布 Android 应用程序不起作用
刚刚使用 Publish Android Application 选项创建了一个 .apk,使用密钥创建了一个密钥库并上传到了 Google Play 应用商店。一切正常,但是当我尝试从应用商店下载应用程序时,我收到一条错误消息,类似于“应用程序的签名不正确”。我认为 Xamarin.Studio 的“发布 Android 应用程序”部分应该解决所有问题?
之后我在 .apk 上运行了以下命令: jarsigner -verify -verbose -certs app.apk 在底部它说以下内容: 这个 jar 包含其证书链未经验证的条目。
请帮忙,很想今天有这个应用程序:)
android - 随机放置的圆的绘制有时会变成椭圆
我有一个显示圆圈的小程序,当您单击该圆圈时,它会重新出现在屏幕上的其他位置。
这在 90% 的情况下都有效,但有时这个圈子有问题。它可能出现在视图之外,显示为椭圆而不是圆形,或者放置在视图的中间。
谁能指出我正确的方向,我做错了什么?
屏幕:
代码示例:
c# - 将示例项目导入 xamarin studio
我是 xamarin 工作室和 C# 的新手。我正在尝试在 xamarin studio 中设置提供的示例代码“员工目录”,但不知道如何。有没有人设置它并成功运行它?