Hi Bob, On Mon, Jun 7, 2010 at 12:34 PM, Bob Archer <bob.arc...@amsi.com> wrote: >> 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. > > Where? By "use" do you mean targeting? Yes... all the projects are set to > target .Net 4.0.
Yes, that is what I meant. > > Of course, MBUnit itself is probably build with .Net 2.0. But, I didn't build > that... I use the shipped binaries. I took a look at their site and it doesn't look like they have had any recent releases so your assumption that MBUnit was built with 2.0 may be correct. I tried looking for source tarballs for it to test with but I didn't see any. Just out of curiosity, does it still build when setting the target framework to net-3.5? 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