Hello, We've got the following lines in our build file and it works fine, no requirement to have VS.NET 2003 running at the same time.
<if test="${project.config == 'release'}"> <exec program="C:\Program Files\Microsoft Visual Studio .NET 2003\PreEmptive Solutions\Dotfuscator Community Edition\dotfuscator"> <arg value="PRODUCT_obfuscated.xml" /> </exec> </if> I hope this helps. Robert Sanders -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Saturday, July 02, 2005 5:13 AM To: nant-users@lists.sourceforge.net Subject: Nant-users digest, Vol 1 #1516 - 5 msgs Send Nant-users mailing list submissions to nant-users@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nant-users or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of Nant-users digest..." Today's Topics: 1. Various questions regarding <solution> task (multiple sln files, doing a "clean", linking problems) (Pat Lawrence) 2. Obfuscation and NAnt (John Ludlow) 3. Setup Error Message (Boswell William) 4. Various questions regarding <solution> task (multiple sln files, doing a "clean", linking problems) (John Ludlow) 5. depends using a property (Stephen Touset) --__--__-- Message: 1 Date: Fri, 1 Jul 2005 08:37:19 -0700 (PDT) From: Pat Lawrence <[EMAIL PROTECTED]> Subject: [Nant-users] Various questions regarding <solution> task (multiple sln files, doing a "clean", linking problems) To: nant-users@lists.sourceforge.net --0-365261719-1120232239=:83298 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit thanks for the response. Yes, the project does compile fine in VS. What I meant regarding hte .sln files is that (I'm new to VS so I'm not too good with the terminology yet) when I build the Source.sln in VS, I can see it calling and building all these sub-projects in the output window on the bottom of hte screen, like Mathlib and such. For instance, there's a ScenarioBuilder folder in the same directory as Source.sln, and for a build of Source.sln I need to get it (scenariobuilder) cleaned and compiled. Do I include "ScenarioBuilder\Scenario.vcproj" in a "<projects>" tag within "<solution>" or will the solution task automatically see the dependency and do it for me. Without any project or referencs tags, my build file is loading all the required *.vcproj's that I need, but since my build is crashing I'm not sure if i have to include something else as well... I'm doing what you suggested and using the <delete> to clean my output files. It wasn't as bad as I thought it would be. thanks. John Ludlow <[EMAIL PROTECTED]> wrote: Hi, Pat What exactly do you mean when you say that your Source.sln project requires the others? Do you mean that you selected the other .sln files as references? In this case VS just looks at the .sln you've selected and creates references to the projects, meaning the <solution> task will know how to build them. If, however, it's some funky dependency that's not recognised in the .sln, then you'll need a separate <solution> task for each one. Whether you want a separate build file for each one under that circumstance is up to you - NAnt handles multiple <solution> tasks with no problem, but this is not always good practice. The best way of doing a clean, I've found, is using the <delete> task. The good thing is this also handles any confusion that the SCM system has over file status (we use StarTeam which has been known to get in a bit of a muddle over that, the poor thing). Just deleting all the files from your build folder will just mean everything is starting from the same point each build - a good thing, IMHO. As for your linking problem, I don't know. Does it compile in VS.NET? If so it may be a bug in NAnt. It looks like VC++ to me, which I generally avoid like a thing to be actively avoided. Saying "avoid like the plague" somehow doesn't quite describe it. ;) John --------------------------------- Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football --0-365261719-1120232239=:83298 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit <DIV>thanks for the response.<BR>Yes, the project does compile fine in VS. What I meant regarding hte <BR>.sln files is that (I'm new to VS so I'm not too good with the <BR>terminology yet) when I build the Source.sln in VS, I can see it calling and <BR>building all these sub-projects in the output window on the bottom of hte <BR>screen, like Mathlib and such. For instance, there's a ScenarioBuilder <BR>folder in the same directory as Source.sln, and for a build of <BR>Source.sln I need to get it (scenariobuilder) cleaned and compiled. Do I <BR>include "ScenarioBuilder\Scenario.vcproj" in a "<projects>" tag within <BR>"<solution>" or will the solution task automatically see the dependency and <BR>do it for me. Without any project or referencs tags, my build file is <BR>loading all the required *.vcproj's that I need, but since my build is <BR>crashing I'm not sure if i have to include something else as well...<BR> <BR>I'm doing what you sug gested and using the <delete> to clean my output <BR>files. It wasn't as bad as I thought it would be. thanks.<BR></DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV><BR>John Ludlow <<A href="http://us.f312.mail.yahoo.com/ym/[EMAIL PROTECTED]& amp;YY=28472&order=down&sort=date&pos=0&view=a&head=b">< FONT color=#003399>[EMAIL PROTECTED]</FONT></A>> wrote:<BR><BR><BR>Hi, Pat<BR><BR> <BR><BR>What exactly do you mean when you say that your Source.sln project <BR>requires the others? Do you mean that you selected the other .sln files as <BR>references? In this case VS just looks at the .sln you've selected and <BR>creates references to the projects, meaning the <solution> task will <BR>know how to build them. If, however, it's some funky dependency that's <BR>not recognised in the .sln, then you'll need a separate <solution> task <BR>for each one. Whether you want a separate build file for each one <BR>under that circumstance is up to you - NAnt handles multiple <solution> <BR>tasks with no problem, but this is not always good practice.<BR><BR> <BR><BR>The best way of doing a clean, I've found, is using the <delete> task. <BR>The good thing is this also handles any confusion that the SCM system <BR>has over file status (we use StarTeam which has been known to get in a <BR>bit of a muddle over that, the poor thing). Just deleting all the files <BR>from your build folder will just mean everything is starting from the <BR>same point each build - a good thing, IMHO.<BR><BR> <BR><BR>As for your linking problem, I don't know. Does it compile in VS.NET? <BR>If so it may be a bug in NAnt. It looks like VC++ to me, which I <BR>generally avoid like a thing to be actively avoided. Saying "avoid like the <BR>plague" somehow doesn't quite describe it. ;) <BR><BR> <BR><BR>John<BR><BR><BR></DIV><p> <hr size=1>Yahoo! Sports<br> <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=33539/*http://football .fantasysports.yahoo.com?ovchn=YAH&ovcpn=Integration&ovcrn=Mail+footer&ovrfd =YAH&ovtac=AD ">Rekindle the Rivalries. Sign up for Fantasy Football</a> --0-365261719-1120232239=:83298-- --__--__-- Message: 2 Date: Fri, 1 Jul 2005 17:28:17 +0100 From: "John Ludlow" <[EMAIL PROTECTED]> To: <nant-users@lists.sourceforge.net> Subject: [Nant-users] Obfuscation and NAnt Hi, I'm after a good obfuscator for .NET that has the following features: - FREE, or very, very cheap. - can handle a lot of interdependent assemblies in one operation. - can take assembly details from a wildcard or from an xml file. (I don't want to have to pass 50-odd arguments on the command line). - doesn't take a million years to run - can be run from the command line (I want to call it from my NAnt build) Preferably, it'll also have some of these features: - control flow obfuscation - cross-assembly obfuscation I've tried a few, but none really fit these requirements. Dotfuscator Community Edition needs Visual Studio to be open when it runs, and the full editions are too expensive (that also goes for Salamander). Aspose doesn't really have a command line interface as far as I can see, and the free QND one can only do one file at a time (and dependent assemblies fail to load because they can't find the types they need in order to work). The best I've come up with so far is to run devenv.exe during my build and then use the Dotfuscator Community Edition. Horrible, absolutely horrible, but what can you do? Does anyone have a better alternative? Thanks! ********************************************************************** Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you must not copy, distribute or take any action in reliance to it. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Minorplanet Systems Plc shall be understood as neither given nor endorsed by it. ********************************************************************** --__--__-- Message: 3 Date: Fri, 1 Jul 2005 11:48:06 -0500 From: "Boswell William" <[EMAIL PROTECTED]> To: <nant-users@lists.sourceforge.net> Subject: [Nant-users] Setup Error Message This is a multi-part message in MIME format. ------_=_NextPart_001_01C57E5C.A8706FEA Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Does anyone happen to know the cause for this error message box when running 85 RC3? =20 "Failed to load resources from resource file. Please check your Setup." =20 Thanks. =20 Bill=20 =20 ------_=_NextPart_001_01C57E5C.A8706FEA Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:.5in .5in .5in .5in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Does anyone happen to know the cause for this error = message box when running 85 RC3?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>“Failed to load resources from resource = file. Please check your Setup.”<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Thanks.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dgray face=3DArial><span = style=3D'font-size: 7.5pt;font-family:Arial;color:gray'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3DArial><span = style=3D'font-size:12.0pt; font-family:Arial'>Bill </span></font><font face=3DArial><span = style=3D'font-family: Arial'><o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p> </o:p></span></font></p> </div> </body> </html> ------_=_NextPart_001_01C57E5C.A8706FEA-- --__--__-- Message: 4 Subject: [Nant-users] Various questions regarding <solution> task (multiple sln files, doing a "clean", linking problems) Date: Fri, 1 Jul 2005 18:25:06 +0100 From: "John Ludlow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>,<nant-users@lists.sourceforge.net> > Yes, the project does compile fine in VS. May be a problem in NAnt then. I don't know that much about VC++.NET so I'm probably not going to be much help here. Do you set any special options such as output folder? > Do Iinclude "ScenarioBuilder\Scenario.vcproj" in a "<projects>" tag within > "<solution>" or will the solution task automatically see the dependency > and do it for me. The solution task should just be able work out what the projects are from the .sln - you shouldn't need to set any <projects> elements in it. By default, it will compile all projects for a particular solution (if there have been changes). > I'm doing what you sug gested and using the <delete> to clean my output > files. It wasn't as bad as I thought it would be. thanks. Glad that's working for you. :) John ********************************************************************** Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you must not copy, distribute or take any action in reliance to it. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Minorplanet Systems Plc shall be understood as neither given nor endorsed by it. ********************************************************************** --__--__-- Message: 5 From: Stephen Touset <[EMAIL PROTECTED]> To: nant-users@lists.sourceforge.net Date: Fri, 01 Jul 2005 17:13:47 -0400 Subject: [Nant-users] depends using a property --=-hlNGOxypUWSn/2QNsfGD Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Is it possible to have a depends clause in a target that uses a property? In other words, <target name=3D"A"/> <target name=3D"B"/> <property name=3D"target" value=3D"B"/> <target name=3D"C" depends=3D"${target}"/> Whenever I do this, any attempt to build results in an error saying the property ${target} had not been set. However, it's set to a default in the top level of the build file (other targets change it). The reason I want to do this is because I want a release and debug target to both depend on the same build target, but modify the build parameters slightly. The build target can't execute unless one of those has been run, and other targets depend on the build target. Right now I'm just putting a <call> at the beginning of the build target, but this is sort of a dirty hack, and messes with the order of output when nant runs. --=20 Stephen Touset <[EMAIL PROTECTED]> --=-hlNGOxypUWSn/2QNsfGD Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBCxbIK+fMdKwQeHvYRAkl1AKCWxs/GNzdTiRaL1wVsa3n2wT6NOgCglwNW WMayYnd2Nn1k6DEg5ZoENTA= =eJby -----END PGP SIGNATURE----- --=-hlNGOxypUWSn/2QNsfGD-- --__--__-- _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users End of Nant-users Digest ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users