Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Issue building Android MonoGame app

$
0
0

I created a new Android project in Xamarin. I added cocos2d, box2d, Lidgren.Network.Android and Monogame projects to my solution. All projects build correctly, but when I build my main solution I get the below error. I tried adding the Lidgren.Netork.dll file directly as a reference rather than the project but that did not work. I also tried just removing Lidgren reference from my main Project but that also didnt work. Any advice on this?

C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2,2): Error: Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Lidgren.Network, Version=2011.3.12.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile? File name: 'Lidgren.Network.dll' at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(List`1 assemblies, AssemblyDefinition assembly, Boolean topLevel) at Xamarin.Android.Tasks.ResolveAssemblies.Execute() (BoosterBeeAndroid)


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>