小编use*_*278的帖子

为程序集mstest提供了部分绑定信息

我正在使用SimpleMembership.Net中的新框架.

单元测试创​​建用户(使用API​​ - 见下文)在Visual Studio 2012 IDE中本地工作正常.

WebSecurity.CreateUserAndAccount(entity.UserName, entity.Password, new { });

但是,在构建服务器上运行时(使用TeamCity),我将在下面进行以下操作.

我没有运气就尝试过Dependency Walker.我也想不出如何在x64中运行 - 考虑到VS2012在x86中运行.

任何帮助,将不胜感激.

抛出异常:

System.IO.FileNotFoundException: Could not load file or assembly 'WebMatrix.WebData' or one of its dependencies. The system cannot find the file specified.=== Pre-bind state information ===
LOG: User =  
LOG: DisplayName = WebMatrix.WebData
(Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: WebMatrix.WebData | Domain ID: 2
WRN: A partial bind occurs when only part of the …
Run Code Online (Sandbox Code Playgroud)

mstest visual-studio-2012 simplemembership

4
推荐指数
2
解决办法
2万
查看次数