Compile error

This forum is for programmers who have questions about the source code.
Post Reply
vjc
Posts: 37
Joined: Fri Mar 13, 2009 8:35 am

Compile error

Post by vjc » Sat Oct 23, 2010 9:36 pm

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.

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Compile error

Post by jordansparks » Sun Oct 24, 2010 5:09 am

Which project? If it doesn't tell you, then compile each project one at a time.
Jordan Sparks, DMD
http://www.opendental.com

vjc
Posts: 37
Joined: Fri Mar 13, 2009 8:35 am

Re: Compile error

Post by vjc » Sun Oct 24, 2010 7:25 am

I tried both the Opendental.sln and OpenDental7_2.sln with the same results.

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Compile error

Post by jordansparks » Sun Oct 24, 2010 8:15 am

Those are solutions, not projects. Which project within the solution?
Jordan Sparks, DMD
http://www.opendental.com

vjc
Posts: 37
Joined: Fri Mar 13, 2009 8:35 am

Re: Compile error

Post by vjc » Fri Nov 12, 2010 9:06 am

Reinstalling C# solved the problem. thanks Jordan for your prompt replies.

Post Reply