[NAnt-users] loadnanttasks cannot load x86-Dlls anymore
Hey, i've started converting a .Net 3.5 softwareproject to .Net 4.0. In the same time i replaced nant 0.85 with the new nant 0.92rc1. The project is build using msbuild with the target-platform 'x86'. We have some nant-tasks which are also build with this configuration. After upgrading to the new nant-version these nant-tasks cannot be loaded anymore. The error message: /Failure scanning D:\MyProject\Private.Tools.Nant.dll for extensions. Die Datei oder Assembly file:///D:\MyProject\Private.Tools.Nant.dll oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden./ This BadImageFormatExeption indicates, that nant cannot load this x86-dll. After compiling for the platform Any CPU the tasks could be loaded again. But this made it even worse. My Nant-Tasks are using some older COM-Dlls which can only be used by compiling my .Net Libraries for the platform x86. Also registrykeys are now really read from HKLM\Software and not HKLM\Software\Wow6432Node, which is also a Problem to me. So is it possible to tell nant to run in an 32bit/x86 Mode? That would help me alot! Thanks in advance, Chris P.S.: Im using Windows 7 Professional 64bit -- View this message in context: http://nant.2279214.n2.nabble.com/loadnanttasks-cannot-load-x86-Dlls-anymore-tp7574606.html Sent from the NAnt - users mailing list archive at Nabble.com. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
[NAnt-users] Help copying a folder structure
I looked at this http://nant.sourceforge.net/nightly/latest/help/tasks/copy.html, and googled some. I want to copy files from ${srcDir} to ${destDir} and preserve the directory struncture. I tried this, but the directory structure is NOT preserved in ${destDir}. Any clues? copy todir=${srcDir} fileset include name=${destDir}\**\* / /fileset /copy -chris ***This e-mail message is intended only for the above named recipient(s) and may contain information that is sensitive or proprietary. If you have received this message in error or are not the named recipient(s), please immediately notify the sender, delete this e-mail message without making a copy and do not disclose or relay this e-mail message to anyone.*** -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Help copying a folder structure
This way... copy todir=${srcDir} fileset basedir=${destDir} include name=**\* / /fileset /copy From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, May 30, 2012 3:13 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Help copying a folder structure I looked at this http://nant.sourceforge.net/nightly/latest/help/tasks/copy.html, and googled some. I want to copy files from ${srcDir} to ${destDir} and preserve the directory struncture. I tried this, but the directory structure is NOT preserved in ${destDir}. Any clues? copy todir=${srcDir} fileset include name=${destDir}\**\* / /fileset /copy -chris ***This e-mail message is intended only for the above named recipient(s) and may contain information that is sensitive or proprietary. If you have received this message in error or are not the named recipient(s), please immediately notify the sender, delete this e-mail message without making a copy and do not disclose or relay this e-mail message to anyone.*** -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [NAnt-users] Help copying a folder structure
Hey Chris, What version of NAnt are you using? Thanks, Ryan On May 30, 2012, at 12:39 PM, Chris Fouts chris.fo...@caemilusa.com wrote: This way… copy todir=${srcDir} fileset basedir=”${destDir} include name=**\* / /fileset /copy From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, May 30, 2012 3:13 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Help copying a folder structure I looked at this http://nant.sourceforge.net/nightly/latest/help/tasks/copy.html, and googled some. I want to copy files from ${srcDir} to ${destDir} and preserve the directory struncture. I tried this, but the directory structure is NOT preserved in ${destDir}. Any clues? copy todir=${srcDir} fileset include name=${destDir}\**\* / /fileset /copy -chris ***This e-mail message is intended only for the above named recipient(s) and may contain information that is sensitive or proprietary. If you have received this message in error or are not the named recipient(s), please immediately notify the sender, delete this e-mail message without making a copy and do not disclose or relay this e-mail message to anyone.*** -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users