ReSharper Unit Test Runner ignores deployment items configuration

送分小仙女□ 提交于 2019-12-02 14:44:46

问题


I'm using Resharper 6.1 for unit testing a new project and it seems to ignore the the Deployment section of my local.testsettings file.

I tried to configure in "ReSharper -> Options -> Unit testing -> MSTest -> Use this test run configuration" to explicitly use the local.testsettings file, how is suggested in this question: ReSharper Unit Test Runner: Support for Deployment Items, but nothing happens.

Desperately I tried to move the files out of the test project, create another Test Settings file, move the test project to another solution, but still nothing.

Any tips?


回答1:


This issue (http://youtrack.jetbrains.com/issue/RSRP-295311) should be fixed in ReSharper 7 here: http://www.jetbrains.com/resharper/download/index.html.

Thank you!




回答2:


This is also a ReSharper-Configuration problem that I encounter myself. May this help you.

When I try to run the application, it get this ReSharper error: "The project to be run with this configuration is not present in the solution"

In Resharper help page, I found the path to the run configurations: https://www.jetbrains.com/help/resharper/2016.2/Run_Configurations.html

ReSharper | Tools | Run Configurations...

Since the project doesn't exist anymore, I delete that connfiguration:

{Project Name} > Configure > Delete...



来源:https://stackoverflow.com/questions/11622581/resharper-unit-test-runner-ignores-deployment-items-configuration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!