[Mono-list] Re: Overflow exception in Parse

Serge serge@wildwestsoftware.com
Thu, 27 Dec 2001 12:41:49 +0200


> It's a pain with the projects in VS.net because
> when you add sources from the mcs tree,
> a copy is put in the VS.Net project directory, etc.

There are couple of ways to cope with this.
If you want to add just one or two packages to you project, you could do the
following:
In the [Add Existing Item] dialog select the Drop-down next to [Open]
button, then [Link File].
This way it's possible to add reference to files anywhere on your drives
(file won't be copied, but either relative or absolute path will be added to
cspproj).

or

To add the entire dir at once, you could do the following.
Create your VS project in your Cygwin home dir (so mcs dir is a subdir of
your project main dir).
Select Project -> Show All Files.
Now all (sub)folders will appear in white in the fileview pane.
Right click on the namespace folder -> Include In Project.
You still have to exclude some files manually.

I believe, this could be automated by converting NAnt scipts to VS project
files.

Alternatively, you could use the standalone GUI debugger that comes with
Framework SDK (DbgCLR).

Happy holidays,
Serge