Trust a managed assembily in .NET 2.0
Posted on 2006-04-25
I have made a managed assembily with .Net 1.1. And I used it in a web page.
On my local machine, I have both .Net framework 1.1 and .Net framework 2.0 installed. And whenever I invoke that assembily, I got a FileIOPermission error in mscorelib.dll 220.127.116.11.
I used the configuration tool in .Net Framework 1.1 to fully trust the assembily, it didn't work.
Then I uninstalled the .Net Framework 2.0, it works.
My questions is:
How to make sure my assembiliy only use .Net framework 1.1 on the client machine?
Or, an answer to the question: How to extend the trust to an assembily in .Net framework 2.0 without installing the SDK is also acceptable.