2 Replies Last post: May 16, 2013 4:01 PM by RainerQ  
RainerQ Newbie 5 posts since
Dec 2, 2010
Currently Being Moderated

May 16, 2013 1:19 PM

Plain C dll is not copied by unit-test-runner

Hi,

 

I am working on a unit-test (VS2012/MS-Test/ReSharper-TestRunner) to verify a class  accessing a plain C dll (which is a interface to a external program).

I  have added this dll to my project and marked it as "Copy to output  directory : Copy always".

Also I added  the Attribute [DeploymentItem("<my dll>")] to:

[ClassInitialize]

[DeploymentItem("<my dll>")]

MyTestClassInitialize()

{

}

 

Unfortunately the dll is not copied as expected causing my unit tests to fail.

What is it I am doing wrong?

 

Regards

Rainer

Alex Berezoutsky JetBrains 580 posts since
Feb 18, 2011
Currently Being Moderated
May 16, 2013 3:03 PM in response to: RainerQ
Re: Plain C dll is not copied by unit-test-runner

Hi,

 

What ReSharper version do you use? Please try ReSharper 7.1.3, it should fix this issue: http://www.jetbrains.com/resharper/download/index.html

 

Please let me know if it helps.

Thanks!

More Like This

  • Retrieving data ...