Hi all.
dmcminn_mwd said:
>You might want to check whether the shadow copy has moved your
>assembly but not the .config file. Try checking the Tools->Settings-
>>Test Loader->Advanced "Disable Shadow Copy" option or setting the
>config file name to a fully qualified path.
I tried doing that (and played around with some of the parameters),
but the result was the same.
On Apr 23, 6:13 pm, "Charlie Poole" <
char...@nunit.com> wrote:
> Hi All,
>
> While it's /possible/ that disabling shadow copy may appear to
> fix the problem, it requires many more steps than just checking
> the box. Most likely, your tests won't even load without first
> creating a deployment directory that includes everything needed,
> including NUnit itself. If the experiment is successful, it may
> be because of the directory restructuring rather than the
> elimination of shadow copy.
>
> However, the suggestion leads me to ask these questions:
>
> From where do you get the configuration file name you load?
> Is it a full path, relative or just a file name?
>
> Charlie
I have the ProjectX dll, the NUnit project file (.nunit) and the
ProjectX.config file all on the same directory. The ProjectX.config is
being correctly loaded, as I can see that some of its parameters were
read.
When doing the
"System.Runtime.Remoting.RemotingConfiguration.Configure
(@"<configfilename>", false);", I refer the file (ProjectX.config,
where the remoting configuration is also located) with full path.
I also tried having two different config files: one called
ProjectX.config (read automaticaly) and one called
ProjectXRemoting.config (read by the RemotingConfiguration.Configure
method). The result was the same, unfortunately.
What do you mean by "creating a deployment directory that includes
everything needed, including NUnit itself". You mean creating a
directory with ProjectX dll, the NUnit project file (.nunit), the
ProjectX.config file and the NUnit executable?...
Thanks for your time...