Error in assemblyinfo.cs when the framework is changed
-
2012년 8월 21일 화요일 오전 10:43
Hi,
I have an Office application which is building properly on .Net 4.0. I need to change it to .Net 3.5. Once I change it in the settings I am getting this error
The type or namespace name 'SecurityRulesAttribute' does not exist in the namespace 'System.Security' (are you missing an assembly reference?)
Do I have to refer a different System.Security assembly?
Thanks
모든 응답
-
2012년 8월 21일 화요일 오후 1:07
Security, especially CAS, changed a lot between 3.5 and 4.0. Even more, from documentation page regarding this class we can see that it was introduced in 4.0. How did you manage to compile it against 3.5 framework?- 답변으로 표시됨 Quist ZhangMicrosoft Contingent Staff, Moderator 2012년 8월 29일 수요일 오전 2:52
-
2012년 8월 22일 수요일 오전 6:12I removed the conflicting line and no errors now. Waiting for repercussions...

