Re: Could not load file or assembly nunit.framework
"Brad Stiles" <[email protected]> Tue, 7 Oct 2008 13:17:32 -0400
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
> I guess I'm confused about what it takes to make assemblies available at run > time. Usually, whatever IDE or build system you are using takes care of that for you. For instance, when you add an assembly reference in Visual Studio (and set the "Copy Local" property to true, it remembers where you pointed to (whether it's the GAC or a location on the file system), records that location in the project file, and will retrieve the assembly from that location whenever it needs to, i.e. when you build your project. When the build is complete, *everything* needed to run the system (with the exception of assemblies that are in the GAC) will be in one of the bin directories for the project. You can then xcopy those to any location and run the program, subject to the security considerations of the .NET runtime. MSBuild reads the same project file, and can do the same thing. I assume, but don't know, that other IDEs, such as monodevelop, do something similar. If you are using an editor that doesn't do this, then you will likely need to do it yourself. > I am using WinXP and nant so I am mainly using the command line. I also use > the gui occasionally. If you are using some make system, such as Ant, NAnt, NMake, etc, to assemble all of your components, you may have to do some more manual work to retrieve everything, depending on precisely what method your are using. How exactly are you building your project? NAnt has several different ways to build a solution or project, some of which require more work to set up than others, so if you can give some detail about that, like what task or set of tasks you are using, it would make it easier to figure out why you aren't getting the expected results. Brad ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/