Xamarin加载项无法正常工作,无法看到加载项列表 [英] Xamarin Add-ins Aren't working, cannot see list of add ins

查看:146
本文介绍了Xamarin加载项无法正常工作,无法看到加载项列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在Mac上的Xamarin Studio中开始使用CocosSharp.我正在尝试按照本演练进行操作.

I'm just getting started with CocosSharp in Xamarin Studio on Mac. I'm trying to follow this walk-through.

https://developer.xamarin.com/指南/跨平台/game_development/cocossharp/first_game/part1/

演练的第一步是打开Xamarin Studio,并安装CocosSharp加载项.

The first step in the Walk-through is to open up Xamarin Studio, and install the CocosSharp add-in.

如果在Mac上运行,请选择Xamarin Studio>加载项管理器...单击图库"选项卡,展开CocosSharp项目,选择CocosSharp项目模板,最后单击安装..."."

"If running on a Mac, select Xamarin Studio > Add-in Manager...Click the Gallery tab, expand the CocosSharp item, select CocosSharp project templates, and finally click Install... ."

当我这样做时,我会收到这样的错误消息...

When I do that I get an error message like this...

无法从存储库获取信息: http://addins. monodevelop.com/Stable/Mac/6.1.4/main.mrep .

Could not get information from repository: http://addins.monodevelop.com/Stable/Mac/6.1.4/main.mrep.

发生异常:远程服务器返回错误:(404)找不到.

Exception occurred: The remote server returned an error: (404) Not Found.

System.Net.WebException:远程服务器返回错误:(404)找不到. 在/private/tmp/source-mono-4.6.0/bockbuild-mono-4.6.0-branch/profiles/mono-mac-xamarin/build中的System.Net.HttpWebRequest.EndGetResponse(System.IAsyncResult asyncResult)[0x00065] -root/mono-x86/mcs/class/System/System.Net/HttpWebRequest.cs:1025 在/private/tmp/source-mono-4.6.0/bockbuild-mono-4.6.0-branch/profiles/profiles/mono-mac-xamarin/build-root/mono中的System.Net.HttpWebRequest.GetResponse()[0x0000e] -x86/mcs/class/System/System.Net/HttpWebRequest.cs:1037 在/Users/builder/data/lanes/3509/e606823f/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop中的MonoDevelop.Core.Web.RequestHelper.GetResponse(System.Threading.CancellationToken令牌)[0x0008d] .Core.Web/RequestHelper.cs:194

System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00065] in /private/tmp/source-mono-4.6.0/bockbuild-mono-4.6.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System/System.Net/HttpWebRequest.cs:1025 at System.Net.HttpWebRequest.GetResponse () [0x0000e] in /private/tmp/source-mono-4.6.0/bockbuild-mono-4.6.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System/System.Net/HttpWebRequest.cs:1037 at MonoDevelop.Core.Web.RequestHelper.GetResponse (System.Threading.CancellationToken token) [0x0008d] in /Users/builder/data/lanes/3509/e606823f/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Web/RequestHelper.cs:194

我尝试重新启动Xamarin Studio,尝试重新启动整个计算机,并尝试更改我可以在外接程序管理器中想到的每个选项以显示某些内容,并且每次都会收到错误消息.我尝试仅选择所有加载项","Alpha加载项","Beta加载项"等,而根本无法显示任何加载项列表.

I've tried restarting Xamarin Studio, I've tried restarting my entire computer and I've tried changing every options that I can think of in the Add-In Manager to show something and I get the error every time. I've tried selecting "All Add-in's" only "Alpha Add-In's", "Beta Add-Ins" etc and can not get any add-ins list to show up at all.

存储库站点是否真的关闭了,或者我做错了什么?是否需要重新安装Xamarin Studio或其他东西?有没有其他人经历过这样的事情?我真的很高兴开始使用CocosSharp,但我什至无法安装组件来尝试一下.

Is there a chance that the repository site is truly down or is it possible that I am not doing something right or do I need to re-install Xamarin Studio or something? Has anyone else experienced anything like this? I'm really excited to get started with CocosSharp but I'm not even able to get the components installed to give it a try.

我还尝试安装CocosSharp的NuGet软件包,并能够将NuGet软件包添加到单视图iOS App中,但这与本演练中的方法大不相同,因此我不能真正使用太多本演练可帮助我学习如何实现.

I also tried installing a NuGet package of CocosSharp and was able to add the NuGet package to a single view iOS App, but that is drastically different than the approach in the walk-through and then I can't really use much of the walkthrough to help me learn how to implement it.

预先感谢您的帮助.

推荐答案

最新的存储库目录URL似乎存在已知问题.

It appears that there are known issues with the latest repository directory url.

2017年1月13日,MattWard在Xamarin论坛中提到了一项工作.他建议手动添加较旧的存储库...

On January 13, 2017 MattWard mentions a work around in the Xamarin forums. He recommends manually adding the older repository...

http://addins.monodevelop.com/Stable/Mac/6.1/main.mrep

可以在此处查看论坛帖子.

The forum post can be seen here.

https://forums.xamarin.com/discussion/comment/245731#Comment_245731

我尝试了一下,然后获得了加载项列表.这是我计算机上的屏幕截图.

I tried that and I was able to get a list of Add-Ins. Here is a screenshot of what that looked like on my computer.

对于我来说,这并没有真正的帮助,因为我后来发现CocosSharp模板不再起作用.早在2016年8月,我发现有帖子指出您无法再下载Xamarin Studio的CocosSharp模板,因为它们在Xamarin Studio的较新版本中根本无法使用.希望他们将来会有新的模板.

In my case it doesn't really help because I later found out that the CocosSharp templates no longer work. I have found posts as early as August of 2016 that state that you can no longer download the CocosSharp templates for Xamarin Studio because they won't work at all with the newer versions of Xamarin Studio. Hopefully they will have new templates in the future.

一般建议是从GitHub网站上下载项目...

The general advice is to download a project off of their GitHub site...

https://github.com/mono/CocosSharp

可以在这里找到样品...

Samples can be found here...

https://github.com/mono/cocos-sharp-samples

...然后将这些项目修改为您自己的项目的起点.

... then modify those projects as a starting point for your own project.

当我尝试开始使用CocosSharp时,我发现真令人失望,因为我发现了无法遍历的演练,并指出了不存在的模板……但是,无论如何.这就是目前的样子.

It is really disappointing for me that as I'm trying to get started in CocosSharp I am finding walkthroughs that can't be walked through and to be pointed towards templates that don't exist... but, whatever... this is the way that it is currently.

这篇关于Xamarin加载项无法正常工作,无法看到加载项列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆