My understanding is that .NET 3.5 uses the 2.0 core. My question is, if I compile an assembly using C# compiler version 3.5, does it emit a different binary than 2.0 even if we didn’t change any code – only the compiler?
Thanks for your reply. The point I don’t fully understand is when we have an assembly compiled using a recent version of .NET platform – say 3.0 – lets call it Assembly X with a reference to an assembly from .NET platform 1.x and for the sake of this conversation lets call it Assembly Y. I don’t...
I have an assembly that references two different versions of mscorlib.dll. Is this possible? Which one of them gets loaded and how can I tell. Is anyone here familiar with multi-version under the hood? If so, please share or point me to a good resource.
Hi,
Thanks for your kind reply but I am afraid we are talking about 2 different things. I have no interest – not for this task at least – in digging into the details of the PE format neither this is what I am trying to do. What I am after simply is that if I have a dll, I need to infer – by...
Hello everyone,
I am using reflection to get a list of the assemblies that are referenced in my dlls/exe. My goal is to find out programmatically if I do have references to .NET platform 1.x.
The idea is to loop through the list of referenced assemblies with major part of the version equal to...
Hi everyone,
I have a deja vu about this. I am sure I solved before. For two days now I can't remember how and can't get it to work.
When I try to connect to my local SSMS using a ".", it doesn't work. When I type the server name - my box name - it does. Any one knows why?
Thanks all
I need to write a trigger to compare some fields when I insert a record in table to all the other records and see if we have this record before or not.
The problem is, more than one record can be inserted at a time. One of my friends told me that the trigger need to be written in such a way to...
I created an aplication role and made it DataReader and DataWriter, when I set the application role using sp_setapprole and I try to select from a table in the database, I get The SELECT permission was denied on the object <table name> <database name> schema 'dbo'.
Any thoughts?
I want to create an INSTAED OF trigger on a table to guarantee that only one contact is primary ‘P’ per CompanyID multiple others can be ‘S’ secondary.
My problem is not how to write the trigger, it is my confusion about a fact that I learned from nice folks here in this forum which is a...
Thanks for your reply. I tried to invoke the method via a delegate and I used BeginInvoke() but the GUI did not refresh. Can I instanciate an object on its own thread?
I have a form Form1 that instantiate an object Obj1 which in charge of doing some lengthy process from within a method called Obj1.method1
What I need is to be able to communicate the progress status from Obj1.method1 to Form1. For that purpose, I wrote a method in the form that updates the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.