Git Product home page Git Product logo

monocross's Issues

ReadString() leaves file open

Whereas Read() opens the file, reads bytes and closes the file, ReadString() leaves the file open which causes conflict with subsequent attempts to read data off the file.

This issue cropped-up with the 4.1 Release which upgraded to .NET Standard, so perhaps that upgrade changed the behavior.

Not Sending Email

Hi, I went to the site (monocross.net) and tried downloading MonoCross. I typed all my information in correctly and I still haven't received the email for the download.

My email - [email protected]

.NET standard 2.0

are you planning to support this ? It means no more PCL etc and looks to be the way forward..

MonoCross.Droid refernce issue in "MonoCross Android Container" VS2010 template

Oh man, I think the problem was that in my MonoCrossFragments.Droid project I left the MonoCross.Navigation.dll file in the MonoCross subdirectory along with the MonoCross.Navigation.MD.dll. It was left over from how I created the MonoCrossFragments.Droid project from the base MonoCrossFragments project. Ugh. Well, I know there is still a problem with the MonoCross project template references, because I ran into this issue a while back, and as of now I'm using all the MonoCross assemblies right from where I unzipped the 1.0.2 source, and not the ones included with the templates.


Hello.

Before I begin, here are some specs:

Windows 7 Enterprise x64
Visual Studio 2010 Ult SP1
Android-SDK (1.6-4.1)
Mono for Android 4.2.6
MonoCross 1.0.2
MonoCross Utilities 1.0.2
MonoCross Templates

I just got done manually creating a multi-platform solution/project in visual studio from scratch following the layout from the CustomerManagement example:

 MonoCrossFragments.Droid (VS2010 Solution)

      Container (folder)
           MonoCrossFragments.Droid (MX Android Container Project)

      Data (folder)
           MonoCrossFragments.Data.MD (Mono/Android Class Lib Project)

      MonoCrossFragments.MD (MX Android App Project)

      MonoCrossFragments.Shared.MD (Mono/Android Class Lib Project)

After compiling the near empty solution, I got the error message:

"Error 1 The type 'Android.App.ListActivity' is defined in an assembly that is not referenced. You must add a reference to assembly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. C:\My Projects\TestArea\MonoCross\MonoCrossFragmentsRoot\MonoCrossFragments\MonoCrossFragments.Droid\Views\MessageView.cs 16 18 MonoCrossFragments.Droid"

The MonoCross Android Container project this was happening in, MonoCrossFragments.Droid, did in fact have a reference to the Mono.Android assembly residing in my "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v2.2" directory, which was automatically added by the template.

So, I tried to clean the solution and rebuild, then tried removing and adding back the Mono.Android reference, and then tried selecting a newer version of the Android platform (4.0) (and yes, I reopend my solution after changing). None of which worked.

Assuming that the MonoCross.Droid.dll assembly may be a fault for not properly referencing Mono.Android.dll, I copied a MonoCross.Droid.dll file from another, working project. This fixed the Mono.Droid reference error, but then gave:

Error 1 Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Android.Dialog, Version=1.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'Android.Dialog.dll'
at Monodroid.Tuner.MonoDroidResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(List1 assemblies, AssemblyDefinition assembly) at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(List1 assemblies, AssemblyDefinition assembly)
at Xamarin.Android.Tasks.ResolveAssemblies.Execute() MonoCrossFragments.Droid

and so I copied a Android.Dialog.dll assembly into the directory where MonoCross.Droid.dll resided (which was the directory named "MonoCross" in the root of my project folder, or MonoCrossFragments.Droid\MonoCross). Then it compiled.

So, it seems like there is something going on with the reference to Mono.Android from within the MonoCross.Droid assembly that is included with the MonoCross Android Container project template.

Has anyone else reported issues with this Mono.Droid reference ?

Thanks, Dan.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.