ReSharper 2.0.210 disallows binding redirects in tests

In my .config file there is the following section:
]]>
When I run NUnit test from “Unit Test Runner” ReSharper tries to run tests in test assembly (which in turn references MyAssembly.dll) and throws a FileLoadException. Its FusionLog contains the following line:

I’ve disassembled ReSharper binaries and found that the type

method

contains the following lines:

With nunit-gui everything works fine.
It seems that the code above is not correct.

2 comments
Comment actions Permalink

Thank you for the report.
This line is removed

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Somov Alexander" <no_mail@jetbrains.com> wrote in message
news:4030352.1133857457567.JavaMail.javamailuser@localhost...

In my .config file there is the following section:
> > culture="neutral" /> > > > > ]]>
When I run NUnit test from ?Unit Test Runner? ReSharper tries to run tests
in test assembly (which in turn references MyAssembly.dll) and throws a
FileLoadException. Its FusionLog contains the following line:
WRN: Application configuration file binding redirects disallowed. > ]]>
I?ve disassembled ReSharper binaries and found that the type


method

 primaryDomain, string remotingUrl)]]>

contains the following lines:

 AppDomainSetup setup1 = new AppDomainSetup();
> // a few lines
>
> // file: src\UnitTestSupport\src\TestRunner\TestRunner.cs
> // line: 46
> setup1.DisallowBindingRedirects = true;
> ]]>

With nunit-gui everything works fine.
It seems that the code above is not correct.



0
Comment actions Permalink

Please notice that you posted this into wrong newsgroup. This newsgroup is
for users of released versions of ReSharper only. Please post any issues
related to EAP versions of ReSharper to jetbrains.resharper.eap newsgroup.

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

In my .config file there is the following section:
> > culture="neutral" /> > /> > > > ]]>

When I run NUnit test from ?Unit Test Runner? ReSharper tries to run
tests in test assembly (which in turn references MyAssembly.dll) and
throws a FileLoadException. Its FusionLog contains the following line:

> WRN: Application configuration file binding redirects disallowed. > > ]]>

I?ve disassembled ReSharper binaries and found that the type


method

 testAssemblyPath, bool primaryDomain, string remotingUrl)]]>

contains the following lines:

 
> AppDomainSetup setup1 = new AppDomainSetup();
> 
> // a few lines
> 
> // file: src\UnitTestSupport\src\TestRunner\TestRunner.cs
> // line: 46
> setup1.DisallowBindingRedirects = true;
> ]]>

With nunit-gui everything works fine.
It seems that the code above is not correct.



0

Please sign in to leave a comment.