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.
DataLoader is the class name where method IsConnectionOK resides.
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.
相关文章推荐
- This project fills the absence of stdint.h and inttypes.h in Microsoft Visual Studio
- HOWTO: Get the project flavor (subtype) of a Visual Studio project from an add-in
- How To Set Dark Theme in Visual Studio 2010
- The article discusses a couple of new features introduced for assemblies and versioning in Visual Studio 2005.
- Use HttpUtility and NameValueCollection in c# of Visual Studio 2010
- 使用VS进行工作流开发系列博客1-"So You Want to Develop Custom Workflows in Visual Studio..." - The Blog Series
- Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.
- 介绍 Network Emulation in Visual Studio 2010 Beta1
- Solution of Problems in Building sscli via Visual Studio 2008
- 在Visual Studio.NET中使用自定义插件最大化您的生产力(二)Custom Add-Ins Help You Maximize the Productivity of Visual Studio .NET
- 如何避免在安装SQL SERVER 2008时,出现Rule “Previous releases of Microsoft Visual Studio 2008″ failed.
- 在Visual Studio.NET中使用自定义插件最大化您的生产力(三)Custom Add-Ins Help You Maximize the Productivity of Visual Studio .NET
- 在Visual Studio.NET中使用自定义插件最大化您的生产力(一)Custom Add-Ins Help You Maximize the Productivity of Visual Studio .NET
- 在Visual Studio.NET中使用自定义插件最大化您的生产力(一)Custom Add-Ins Help You Maximize the Productivity of Visual Studio .NET
- What's New in Visual Studio 2010
- 介绍 Network Emulation in Visual Studio 2010 Beta1
- The Visual Studio template information is out of date.
- The format for JavaScript doc comments in Visual Studio 2008
- 在Visual Studio.NET中使用自定义插件最大化您的生产力(三)Custom Add-Ins Help You Maximize the Productivity of Visual Studio .NET
- The Book of Visual Studio .NET