.NET Permissions

M

Marco Trapanese

Hi!

I have an application composed of two executables and two dlls.
Both exe project are configured as full trust.
On the development machine all works fine.

When I test them on another machine either copying the bin folders or
using the "publish" feature in VB.NET Express they don't run.

I get several execptions like this:

"That assembly does not allow partially trusted callers." (why? I set my
projects as *full* trust).

"To grant this application the required permission [...] use the
Microsoft .NET Framework Configuration tool." (how? MS does not include
the mscorcfg.msc into the Framework 2.0...)

Could you help me, please?
Tell me if you need more details.

Marco / iw2nzm
 
N

Newbie Coder

Look into Global Assembly Cache (GAC) for your assemblies. Once added they
should be fine
 
M

Marco Trapanese

Newbie said:
Look into Global Assembly Cache (GAC) for your assemblies. Once added they
should be fine


Uh...
I read tons of articles about GAC, but I'm still a *bit* confused.

Examples:

My application (written in Visual Basic .NET Express) is composed of one
executable and two dlls. One of the two is mine.
I compile the solution and it works as expected on the development
machine. Well, now I want to distribute it.

What should I do?


Thanks again
Marco / iw2nzm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top