[Mono-dev] csproj files for Mono's class libraries.

Jonathan Chambers joncham at gmail.com
Mon Feb 14 07:59:35 EST 2011

You can have the csproj reference the .sources file externally, and use a
small Task to transform the list of files into Compile elements. This works
in VS for building, but does not show the sources as files in the csproj via
the UI. So, depending what you want...

- Jon

On Mon, Feb 14, 2011 at 7:56 AM, Miguel de Icaza <miguel at novell.com> wrote:

> > We could create a simple Task which does .sources to <Compile Include=""
> > /> on the fly or drop .sources completely and use .csproj only
> How would we use this Task?
> The only problem with dropping sources and going the .csproj route is
> that currently we have at least 2 csproj files per directory (one 2_0,
> one 4_0 and when we feel "ready" we can add the mobile and silverlight
> profiles).   It would be trivial for those csproj files to get out of
> sync.
> If we went with a Custom task, would that not break Visual Studio
> which expects to find a list of source files there?
> Miguel
> _______________________________________________
> 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/20110214/02022ce6/attachment.html 

More information about the Mono-devel-list mailing list