I have three dlls ProjBL.dll , ProjDL.dll and ProjMC.dll.
ProjBL.dll is Business object dll
ProjDL.dll is Data Access layer method dll
ProjMC.dll is Master Class dll contains Properties
ProjDL.dll depends on ProjMC.dll and ProjBL.dll depends on ProjDL.dll
I have load ProjBL.dll in Memory using Assembly.Load() method from folder on ...
I have a question I don't know if it can be solved. I have one C# project on Visual Studio 2005 and I want to create different DLL names depending on a preprocessor constant. What I have in this moment is the preprocessor constant, two snk files and two assembly's guid. I also create two configurations (Debug and Debug Preprocessor) and ...
I just came out of a design meeting and had a question posed to me about where I got one of my ideas about how to structure some .dlls of a project we are building. To be honest I have no idea where this "idea" came from it just seemed like natural knowledge to me. However it would useful if I could back up these opinions with some docum...
I have a VS2008 project written in c# with a number of assemblies. I'd like to have a simple way of managing the version numbers between all of the different assemblies and a way to automatically increment the build number and have that saved into the version number of each assembly.
I'm guessing that this is a problem with most project...
I'm having a problem OUTPUTing a variable in my assembly.
Do I need to add a "out string var1" to the parameter list of the function in C#?
I get an error - something related to var1 not being set...
I tried parameter.Direction = ParameterDirection.Output
I can't find any good examples
Edit:
My assembly SP currently returns a records...
Is this even possible? For example, I would like to read the assembly as a stream of bytes from the network or from a zip archive and run it from RAM itself without having to create an image on the disk.
...
Is there any way to find out if an Assembly has been compiled with the TRACE or DEBUG flag set without modifying the assembly.
...
Let's say I have a .NET user application (.exe) running under Windows that was compiled in .NET Framework Version 3.0 (VS2008). If that application loads another .NET Assembly (.dll) that was compiled on a different computer using .NET Framework Version 2.0 (VS2005), will the loaded assembly use the existing 3.0 runtime (which will run ...
I would like to know if there is a way to see Assembly Version number of the last completed build within the Visual Studio 2008 IDE. I don't want to see the 1.0.* that is in the Assembly Information dialog box or AssemblyInfo file, but rather the full version (with the *'s replaced by real numbers). I also don't want to have to bring u...
I have a scenario where I have multiple versions of the same assembly that I need to store in the application private folders, in a structure like this:
.\My.dll // latest version, say 1.1.3.0
.\v1.1.1\My.dll // version 1.1.1.0
.\v1.1.2\My.dll // version 1.1.2.0
My problem is that the .Net runtime, when asked for one of t...
I have a XAML file that references custom controls defined into another assembly. It compiles and works perfectly at runtime, but the XAML designer is choking and does not show the design content.
<Window x:Class="MyProgram.AboutWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.mi...
I was curious how the following line works for configuring log4net in an assembly:
[assembly: log4net.Config.XmlConfigurator(Watch=true)]
I'm guessing this gets called sometime before the runtime invokes "main()" but when does this occur, and what are the implications? Are there other frameworks/libraries that use this assembly attri...
Hi, I want to use assembly of one application into another. There is one assembly in one application "EventCalendar" which is registered as
<%@ Register TagPrefix="ec" Namespace="ControlCalender" Assembly="EventCalendar" %>
and this is used as control as
<ec:EventCalendar runat="server" ID="eventscalendar" DataSourceID="sqldatasour...
Hi in .NET on my local machine I have a reference to a DLL on my local assembly folder. I was wondering how I can "package" this dll with the deployment of my website? When I deploy on the staging serer it is complaining that it does not have that dll. (It is not in the GAC of the staging server). Thank you.
...
Consider i have an assembly(class library dll) which i have loaded using the following code,
Assembly a = Assembly.LoadFrom(@"C:\Documents and Settings\E454935\My Documents\Visual Studio 2005\Projects\nunit_dll_hutt\for_hutt_proj\bin\Debug\asdf.dll");
and i need to get the type of the Assembly. In order to get the type i need the nam...
I've edited and trimmed this to try and get it closed because the site is prompting me to accept an answer or add a bounty.
I did an experiment which had calls to GetUserStoreForAssembly and GetUserStoreForDomain in a library referenced by a console app but didn't understand why I was getting more stores than I expected in one case and...
Hi, I m using a assembly EventCalender. The ddl is EventCalender.dll. I copied this assembly from existing application. It provides customized functionality to calender. I want to see the code of that dll and want to change some functionality of it. How it will be possible..? Thanks in advance.
...
What's the most important consideration when deciding how to partition your application into assemblies? Do some people just create one assembly per unique namespace (or perhaps per root namespace) for convenience? Or one per app-layer (like Presentation, Business/Services, Data)? Or more subtle perhaps, put the entire Model in one assem...
Example:
MyProgram.exe is executed. It calls MyClassLibrary1.dll which calls MyClassLibrary2.dll. How can I determine from within MyClassLibrary2.dll what the assembly version of MyProgram.exe is?
Is this possible?
Thanks.
...
How do I find out the fully qualified name of my assembly such as:
MyNamespace.MyAssembly, version=1.0.3300.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089
I've managed to get my PublicKeyToken using the sn.exe in the SDK, but I'ld like to easily get the full qualified name.
...