[Mono-dev] Compiling Mono with Visual Studio and .pdb files

Miguel Mudge michael.mudge at welchallyn.com
Mon May 7 14:30:23 UTC 2012

We've been building the 2.10.2 Mono framework libraries in Visual Studio.
 We performed a build on Linux, copied the compiler constants, build order
and files used, and use this information to create the Visual Studio
project - we did not start from Mono's msvc.  It was a very manual process,
but I am pleased with the output.

We don't compile all of the libraries since our embedded device doesn't
have the space.  Most of the difficulty is in the roots anyways - for
example, we have several System.dll projects, which are incrementally more
dependent, in order to solve circular dependency problems.  Picture

[image: Inline image 1]

It seems like the only way to reliably "copy" the build process into MSVC
is to actually run the mcs make.  You might be able to hack it a bit to
mock a build, grab the compile flags/files and then generate msvc files
from that.

Michael "Kipp" Mudge | Welch Allyn | Lead Software Engineer
315-554-4057 | michael.mudge at welchallyn.com

On Sun, May 6, 2012 at 8:38 PM, <Jean-Michel.Perraud at csiro.au> wrote:

> Hi,****
> ** **
> I gather that some effort was made to compile Mono with VS or the .NET
> framework SDK on Windows a few years ago. This past couple of days I looked
> into it as I am developing for Mono and MS .NET embedding. While I use
> occasionally MonoDevelop, which may be the preferred tool now, with debug
> much better than a few years ago, I’d like to stick to one IDE (even the
> grey-on-grey thing known as VS2011 beta) on Windows.****
> ** **
> There has not been a lot of activity lately under the msvc folder. The
> build process is a bit of a rocky road, understandably, and I logged my
> tribulations for myself. I want to gauge the interest in dusting off the
> build process. I noticed that Marek Saraf (Novell?) has commited this past
> month.****
> ** **
> Advice/ideas on the overall build process desirable is welcome. I cannot
> commit to set it up (time and know-how pending), but discussions cannot
> hurt.****
> ** **
> Cheers,****
> J-M****
> ** **
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120507/66b40f68/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 25809 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120507/66b40f68/attachment-0001.png>

More information about the Mono-devel-list mailing list