Page 1 of 1

Compile error

Posted: Sat Oct 23, 2010 9:36 pm
by vjc
Hi
Recently whenever I try to compile, I get the following error:

"Visual Studio was unable to determine the Code Access Security (CAS) permissions that are applicable to your project. The most likely cause is that your project references a strongly-named assembly that defines custom permissions, but that is not properly installed in the global assembly cache (GAC). To correct this, try the following:

1. Ensure that any custom permissions defining assemblies referenced by your project have been properly installed to the GAC. If any of these assemblies have been rebuilt or have had their version numbers modified, you must install the new assemblies in the GAC.

2. Restart Visual Studio."

Any ideas what is happening? Previously I could compile without any such issues.

Re: Compile error

Posted: Sun Oct 24, 2010 5:09 am
by jordansparks
Which project? If it doesn't tell you, then compile each project one at a time.

Re: Compile error

Posted: Sun Oct 24, 2010 7:25 am
by vjc
I tried both the Opendental.sln and OpenDental7_2.sln with the same results.

Re: Compile error

Posted: Sun Oct 24, 2010 8:15 am
by jordansparks
Those are solutions, not projects. Which project within the solution?

Re: Compile error

Posted: Fri Nov 12, 2010 9:06 am
by vjc
Reinstalling C# solved the problem. thanks Jordan for your prompt replies.