mahendra h
mahendra h

Reputation: 1

Separate appdomain for a referenced dll in asp.net

Can we have a separate appdomain for a referenced dll in dotnet

Upvotes: 0

Views: 52

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038890

The referenced assembly will be loaded along with the main assembly in the same AppDomain. If you want to load an assembly into a separate AppDomain, then you need to explicitly create this AppDomain and load the assembly into it. The assembly should not be added as reference in this case to the main project.

Upvotes: 1

Related Questions