[mono-android] Enhancement: aresgen.exe and TFS.

Tom Opgenorth tom at opgenorth.net
Thu Mar 17 11:58:54 EDT 2011


Excluding folders with TFS is pretty easy. Files, OTOH are a bit different.
TFS sort of lets you exclude files. Basically, you can't do it via the
IDE/GUI, you have to do it at the command line it's not obvious/intuitive.
 I guess Microsoft never thought that excluding individual files wasn't a
significant use case?  Search StackOverflow for how to do it if you need it.
 I apologize for not posting the link, I didn't keep it when I found it.

This seems to be a TFS issue - other SCM's handle this scenario quite easily
(i.e. .svnignore/.gitignore and not use the read-only flag on files).

On Wed, Mar 16, 2011 at 18:10, Milligan, Ryan <Ryan.Milligan at wizards.com>wrote:

> Files that are generated automatically as part of building shouldn’t be
> checked in. Lots of source control systems mark files that aren’t checked
> out as read-only. Unfortunately, I’m not sure if TFS lets you exclude files
> that are part of the project from the source control repository. I think the
> right answer is probably for Monodroid to generate Resources.Designer.cs in
> the obj folder (much like the various .g.cs files that WPF generates as part
> of the build process, for example) so that it won’t go in the repository at
> all. This sort of temporary file generated by the build process is exactly
> what the obj folder is for.
>
>
>
>                 -- Ryan Milligan
>
>
>
> *From:* monodroid-bounces at lists.ximian.com [mailto:
> monodroid-bounces at lists.ximian.com] *On Behalf Of *Carlo Bolz
> *Sent:* Wednesday, March 16, 2011 12:42 AM
> *To:* monodroid at lists.ximian.com
> *Subject:* Re: [mono-android] Enhancement: aresgen.exe and TFS.
>
>
>
> Sorry, I won´t cumber the monodroid team. It´s more a question than an
> enhancement. My question is answered now.
>
>
>
> *Von:* monodroid-bounces at lists.ximian.com [mailto:
> monodroid-bounces at lists.ximian.com] *Im Auftrag von *Tom Opgenorth
> *Gesendet:* Mittwoch, 16. März 2011 03:51
> *An:* monodroid at lists.ximian.com
> *Betreff:* Re: [mono-android] Enhancement: aresgen.exe and TFS.
>
>
>
> To be honest, I'd say this is more of a TFS problem then a MonoDroid
> problem.  It truly annoys me to no end that TFS does this in the first
> place.  I'd suggest that the MonoDroid team shouldn't be spending their
> precious resources yak shaving activities to get around TFS issues.
>
> On Tue, Mar 15, 2011 at 16:42, Carlo Bolz <cb at dm-edv.de> wrote:
>
>
> Developer are normaly lazy ;-)
>
>
>
> Everytime I check out the project from the Team Foundation Server and
> somethings different in the resources, aresgen.exe runs into an
> System.UnauthorizedAccessException because the file "Resources.Designer.cs"
> is read only.
>
>
>
> So I have to check out the file "Resources.Designer.cs" and compile again.
>
>
>
> Kind regards,
>
> Carlo
>
>
>
>
>
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
>
>
> --
> http://www.opgenorth.net
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>


-- 
http://www.opgenorth.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/mailman/private/monodroid/attachments/20110317/20847698/attachment.html 


More information about the Monodroid mailing list