您的位置:首页 > 大数据 > 人工智能

Creation of the private accessor ... failed in Visual Studio 2010

2014-12-18 14:03 393 查看
I got above error when i try to create unit test for private method IsConnectionOK.

I remembered I manually removed the Test Reference folder in test project by deleting below xml node from .csproj file. is it relative? I added back and then tried "Create Unit Test", it works now.

<ItemGroup>
<Shadow Include="Test References\DataLoader.accessor" />
</ItemGroup>


DataLoader is the class name where method IsConnectionOK resides.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐