Re: [Mono-list] Using Mono/C# to develop simple OSX app

2015-10-28 Thread Edward Ned Harvey (mono)
> From: mono-list-boun...@lists.ximian.com [mailto:mono-list-
> boun...@lists.ximian.com] On Behalf Of sams
> 
> Thanks all, some really useful info there - I'm going to try MonoMac and the
> libraries suggested by Mel. I'll post back to let you know how I got on.

MonoMac is the precursor to Xamarin.Mac. You should use Xamarin.Mac.

If you get the Starter edition of Xamarin Studio, it'll include Xam.Mac, but 
the limitation is a small app size. And maybe a restriction prohibiting 
distribution to the app store (I'm not sure).

You should really start with Hello.Mac
http://developer.xamarin.com/guides/mac/getting_started/

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Using Mono/C# to develop simple OSX app

2015-10-28 Thread Edward Ned Harvey (mono)
> MonoMac is the precursor to Xamarin.Mac. You should use Xamarin.Mac.
> 
> If you get the Starter edition of Xamarin Studio, it'll include Xam.Mac, but 
> the
> limitation is a small app size. And maybe a restriction prohibiting 
> distribution
> to the app store (I'm not sure).

https://xamarin.com/starter
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-dev] Clarifying the relationship between docs/ and the website

2015-10-28 Thread Andi McClure
Hi. I have started working on refactoring the assembly/class loading in
mono, and will be writing some conceptual documentation as part of this
project. Because of this I am interested in trying to clean up the
situation with the mono runtime’s documentation, which I feel is a little
messy. At the moment, all of the design documentation for mono is in a
separate repository from the source, https://github.com/mono/website ,
which is published on the web directly to http://www.mono-project.com/
using Github Pages. There are three big problems I see:

- The documentation is not versioned. There is a git history for the
website repo, but if you have a copy of the mono repo there is no way to
relate a particular revision of mono (or even a particular major release)
to a specific version of the website docs.

- There are still some docs in the main mono repository, under docs/, which
were never moved over to the website. These are almost all inaccurate now.

- The embedding API for the runtime is not documented on the web. There is
doxygen in the source, and it is possible to build HTML from that source,
but the mono project does not do this officially.

I would like to do something about at least the first two of these problems
in the short term. The stale docs problem is easy: Delete the stale docs.
The first problem on the other hand seems to have multiple possible
solutions, so Rodrigo asked I put a request for comments on the mailing
list.

After discussing this with a couple of people at Xamarin, here are the
potential solutions I see to the versioning problem:

1. The simple approach: Put a line in docs/README in the mono repo
specifically listing (or linking on Github) the git commit in the website
repo which documents that version. We would then make it part of the mono
release process to always update this link before tagging/tarballing.

2. Manually embed versioning information in the docs themselves: Start
writing the website documents in such a way that each one contains text
like “the following applies to version 4.4” or “this paragraph is true as
of 4.2.1 or later”. If a document changes significantly, the out-of-date
information could be moved to a /archived or /historical section within the
docs directory.

3. Move the runtime docs back from the website repo to the mono repo, so
that the docs and runtime are versioned in lockstep again, but have an
export process where at certain times (such as a release) the current state
is copied to the website. Probably only some parts of the website docs
would be exported in this way (for example, docs/advanced and
docs/compiling-mono on the website would be mirrors of folders in the mono
repo, but the gui and database folders on the website would not be).

4. Do something with git submodules. Instead of manually copying files, we
could make a new mono-docs repo on github, make this a submodule of the
mono repo inside docs/, and also make it a submodule of the website repo
inside docs/. Github Pages allows submodules inside of the gh-pages repo as
long as the submodule is set up read-only. This would be like the “export”
option, but instead of copying many files we would just have to update the
submodule state on the website every so often.

I think my suggestion would be to start with “option 1” immediately, and
then plan to transition to option 3 as soon as practical. I like option 3
because it separates the “product” of the website from the working state of
the mono repo (at the moment, if I want to create a half-finished document
describing something that only exists in the master branch, there is no
good place to put it), and because option 3 is easy to build further work
on later. For example, if we had an export-to-website process, part of the
export process could be to build doxygen and copy it to the website also,
or to back up the old state of the docs to something like an /archived/4.3
directory within the website.

(Starting to adopt a style of being specific about versions when writing
documentation, as in option 2, would of course also be a good idea on its
own.)

What do people think about all this?

- Andi
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-list] Weird behaviour - portability?

2015-10-28 Thread Baltasar García Perez-Schofield
I've a project which is set to compile for .NET 4.5, using MonoDevelop in
Ubuntu. I have my system with the latest mono, installed as described in
the download page for debian systems. The project compiles and runs,
everything works fine.

I move the executable to a Windows 10 machine, which claims to have .NET
installed. Gtk# 2.12.26 is installed with Xamarin Studio 5.9.7 and Mono
4.0.3.

If I launch the exe, then nothing happens, Launching it from Xamarin Studio
with Mono, it works fine. If I launch it with.NET, it produces the
following output:

Debugger operation failed
Incompatible request. (Exception HRESULT: 0x80070032)

There are two warnings:
MSB3644 .NET v4.5 reference assemblies are not found...
MSB3270 The arquitecture of the processor ("MSIL") and the arquitecture of
the assemblies c:\program files\.netv4.0... are different.

If I rebuild, then everything works fine, both in .NET and mono.

In c:\program files\reference assemblies, I have:

.Net Framework\v4.6
v3.5
v3.0

I installed .NET 4.6 from the Windows 10 sdk, but that did not seem to
solve the problem.

The directory in which Xamarin Studio claims to be looking for ,NET 4,
there are only xml files.

It is possible that I don't have .NET 4 or .NET 4.5, but I don't find the
installers for Windows 10, and the available installers block Windows 10.

Any idea?

-- baltasar
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list