我正在尝试编译一个已有的项目(目标为.NET4),该项目是在Visual Studio 2010中开发的,现在正在测试迁移到VS2012。
当我使用 "Moles" 编译我的现有项目时,我经常会遇到以下错误:
"The type or namespace name 'Claim' does not exist in the namespace 'System.Security.Claims' (are you missing an assembly reference?) [C:\ProjectPath\Project.Tests.Unit\obj\Debug\Moles\m\m.g.csproj] C:\ProjectPath\Project.Tests.Unit\m.g.cs"
有很多种类型显示这个消息。
你有什么想法吗?
当我使用 "Moles" 编译我的现有项目时,我经常会遇到以下错误:
"The type or namespace name 'Claim' does not exist in the namespace 'System.Security.Claims' (are you missing an assembly reference?) [C:\ProjectPath\Project.Tests.Unit\obj\Debug\Moles\m\m.g.csproj] C:\ProjectPath\Project.Tests.Unit\m.g.cs"
有很多种类型显示这个消息。
你有什么想法吗?