Questions tagged [assembly.load]

40 questions
0
votes
2 answers

C# assembly.load from a byte[] issues

I have an EXE loaded into a byte array, and I am trying to load it into an assembly object using Assembly.Load. I am getting errors trying to load. Here is the code that is causing the exception: Assembly a = Assembly.Load(bin); bin is my byte…
user42931
  • 1,135
  • 2
  • 10
  • 12
0
votes
2 answers

Jquery .load function and adding and removing classes

I'm trying to add custom css animations to some images, but I just can't seem to get my head wrapped around the solution. My code is found below. On window load I would like the class 'animated shake' to be added to the element with the id "blue".…
0
votes
3 answers

How can I load assembly dynamically thru internet?

Is there a way or a library that can help me load assembly in memory (dll for example) located on my webpage. I'm trying to figure out a nice crack protection
blez
  • 4,939
  • 5
  • 50
  • 82
0
votes
1 answer

ASP.NET load assembly from parent application

i have a website and in it is an application with website administration. It is possible to load an assembly from website in administration application? E.G: WebAdmin project (web application) : in default.aspx i want to load assembly…
Jan Remunda
  • 7,840
  • 8
  • 51
  • 60
0
votes
0 answers

Trying to solve Compile time error with Assembly.Load using Interface

I am loading an assembly at runtime on my code and all the references to that assembly are broken at the run time as I have mentioned on this thread: How to keep dynamically loaded assemblies form breaking code at compile time? BUT now I tried to…
Lost
  • 12,007
  • 32
  • 121
  • 193
0
votes
1 answer

Tests under TestDriven.NET not picking up updated fuslogvw settings

If there's a dup of this, I'll be upvoting it but until someone finds it for me.... This is a Things I've Learned Today [that nobody seems to have blogged about] entry... With TestDriven.NET, I was continually getting the following output from an…
Ruben Bartelink
  • 59,778
  • 26
  • 187
  • 249
0
votes
1 answer

Unable to load assembly in appDomain

Until recently I was loading my assembly by calling Assembly.LoadFrom and it was ok. But now I need to load it in a temporary appDomain but I keep having a FileLoadException when trying to load the assembly in the temp domain. I have tried to pass…
user2346200
  • 161
  • 1
  • 1
  • 7
0
votes
2 answers

jquery aren't working on the url that i load in div(.load)

Let's say that in a document I have a div and a button that will show the div: and a jquery that commands it to…
0
votes
2 answers

Load Assembly in AppDomain and Invoke Entry Point

I'm having the hardest time with this. I've googled for hours, and been to many different questions on here, but I just can't get it. static void Main(string[] args) { AppDomainSetup domainSetup = new AppDomainSetup { PrivateBinPath =…
Banksy
  • 51
  • 2
  • 6
-1
votes
2 answers

Assembly.Load() in multiple methods within the same class to load the same assembly - optimal or not?

I have a class with several methods (e.g. Method1, Method2, Method3) and inside each method I load an assembly (same one in each method) and invoke a certain method (reflection) like this: void Method1() // error handling etc. omitted { Assembly…
w128
  • 4,680
  • 7
  • 42
  • 65
1 2
3