TransformItem“tohv”在.Net 4中抛出异常 [英] TransformItem "tohv" throwing exception in .Net 4

查看:76
本文介绍了TransformItem“tohv”在.Net 4中抛出异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下异常: 类型或命名空间名称'SecurityRulesAttribute'在名称空间'System.Security'中不存在(您是否缺少程序集引用?),对于TransformItem方法使用"& tohv" 

I am getting the following exception: The type or namespace name 'SecurityRulesAttribute' does not exist in the namespace 'System.Security' (are you missing an assembly reference?) on the TransformItem method using "tohv". 

这似乎与.Net 4有关,因为我们正在迁移代码库,它在.Net 3.5中运行良好。

This seems to be related to .Net 4 as we are migrating the code base and it works fine in .Net 3.5.

任何有关此处可能发生的事情的见解都将不胜感激。

Any insight as to what might be going on here would be appreciated.

推荐答案

看看以下内容,看看这些步骤是否适合你。

Take a look at the following and see if any of these steps work for you.

http://social.microsoft.com/Forums/en-US/Offtopic/thread/6267fe19-0f07-4d21-be8f-72de90ff3915


这篇关于TransformItem“tohv”在.Net 4中抛出异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆