Hi, On Jun 7, 2010, at 7:31 AM, Bob Archer <bob.arc...@amsi.com> wrote:
> YEs... that is just my test project. It is build with the system so > compiled with the .Net 4.0 compilers. So is the project that references that assembly set to use a specific .Net version? I ask because this error should not occur if the correct target framework is selected, at least to me. Thanks, Ryan > > BOb > > >> -----Original Message----- >> From: Ryan Boggs [mailto:rmbo...@gmail.com] >> Sent: Saturday, June 05, 2010 3:32 PM >> To: Bob Archer >> Cc: nant-users@lists.sourceforge.net >> Subject: Re: [NAnt-users] MbUnit not running under .Net 4.0... >> >> Hi Bob, >> >> I'm sorry but since I am not familiar with it, I need to ask. What >> is >> AmsiWeb.Test? Is it something that is apart of your project that you >> are trying to compile? Please let me know. >> >> Thanks, >> Ryan >> >> On Thu, Jun 3, 2010 at 12:47 PM, Bob Archer <bob.arc...@amsi.com> >> wrote: >>> Ok... almost there... I am now getting the following error: >>> >>> >>> >>> [exec] Message: Could not load file or assembly 'AmsiWeb.Test' or >>> one of >> its >>> dependencies. This assembly is built by a runtime newer than the >> currently >>> loaded runtime and cannot be loaded. >>> [exec] Source: mscorlib >>> [exec] StackTrace: >>> >>> >>> >>> >>> >>> Sounds like nant is running in .Net 2.0 rather than .Net 4.0? >>> Perhaps? >>> >>> >>> >>> BOb >>> >>> >>> >>> >>> >>> --- >>> --- >>> ------------------------------------------------------------------ >> ------ >>> ThinkGeek and WIRED's GeekDad team up for the Ultimate >>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >>> lucky parental unit. See the prize list and enter to win: >>> http://p.sf.net/sfu/thinkgeek-promo >>> _______________________________________________ >>> NAnt-users mailing list >>> NAnt-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nant-users >>> >>> ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users