I have two .NET libraries: "Foo.Bar" and "Foo.Baz".
"Foo.Bar" is self-contained, while "Foo.Baz" references "Foo.Bar".
Assuming I do the following:
Use ILMerge to merge "Foo.Bar.dll" with "Foo.Baz.dll" into "Foo1.dll".
Create a new solution containing the entirity of both "Foo.Bar" and "Foo.Baz" (since I have access to their source co...
Our application has a lot of .NET assemblies, which up until now, has not been deployed with NGen-scripts, so they are always JITted at runtime.
Since our application is typically deployed to a terminal server, getting Windows to share binary images of the code is probably more optimal than the current way, so I'm looking at setting bas...
Hey everyone,
I have some custom code that gets called to format certain fields for an SSRS report. Instead of getting the formatted value back as expected, I get the unhelpful message of "#Error". Is there a log or anything that can give me some useful information?
I have verified that the assembly is in the "C:\Program Files\Microso...
There is something I don't understand. Today I desided to find out what is inside Sistem.Web.dll version 4.0.0.0 So I decided to find the place where this assembly located.
and opened this assembly with reflector - all methods were empty - and then with ilDasm from 7.0 SDK. This what I saw
After some research I've found fullfeature...
SQLite from PHX Software has combined a managed assembly (System.Data.SQLite) with an unmanaged dll (the SQLite 32- or 64-bit dll) into one file, and managed to link them together.
How do I do this? Do I need to embed the managed assembly into the unmanaged dll, or vice versa?
ie. my questions are:
In which order do I need to do this...
Can an assemble have multiple namespaces or is composed of single namespace.
...
Here's the setup:
A pure DotNET class library is loaded by an unmanaged desktop application. The Class Library acts as a plugin. This plugin loads little baby plugins of its own (all DotNET Class Libraries), and it does so by reading the dll into memory as a byte-stream, then
Assembly asm = Assembly.Load(COFF_Image);
The problem aris...
Overview: I'm interested in learning more about the .NET4 "In-Process Side-by-Side Execution" of assemblies, and need additional information to help me demystify it.
Motivation: The application in question is built against .NET2, and uses two third-party libraries that also work against .NET2. The application is deployed (via file copy...
I am using SQLite for the unit testing and might use it as a database for local development/staging.
The System.Data.SQLite has basically 2 versions: x86 and x64. Correct one should be used for the specific platform.
I have 64 bit Win7, other guys in the team might use 32-bit OSs. The server's platform is not known at this stage.
If I...
Hi folks,
my friend has made a really helpful class library which I use all the time. I usually use Reflector to see what his code does.
What I really wanted to do was to step through his code while I'm debugging. So he gave me his .pdb file.
Foo.dll (release configuration, compile)
Foo.pdb
Now, I'm not sure how I can get it to aut...
I have an interesting challenge that I'm wondering if anyone here can give me some direction.
I'm writing a .Net windows forms application that runs on a network and uses an SQL Server to save and pull data.
I want to offer a mini "plugin" API, where developers can build their own assemblies and implement a specific interface (IDataMan...
Hi,
I'm trying to load an assembly, instantiate a class from that assembly, and then call Run(), which should set a property inside this instance.
Loading the assembly seems to work fine as I'm able to list the types, but the called method seems to be ineffective: the property located in the new instance remains set to null, depsite th...
I've migrated my project to VS2010 but have not yet targeted .NET 4.0. It's currently targeting 3.5 SP1 (and CLR 2). The project relies on several third party components -- mostly open source -- that were presumably built against the 2.0 CLR.
Can I simply retarget my project to the 4.0 runtime? Or do I have to get new versions of all...
Is it possible to log calls of .NET methods made while an application is running?
...
I have an issue where I need to be able to have a compiled exe ( .net 3.5 c# ) that I will make copies of to distribute that will need to change a key for example before the exe is sent out.
I cannot compile each time a new exe is needed. This is a thin client that will be used as part of a registration process.
Is it possible to a...
hello.
I'm working on program which dynamically(in runtime) loads dlls.
For an example: Microsoft.AnalysisServices.dll.
In this dll we have this enum:
namespace Microsoft.AnalysisServices
{
[Flags]
public enum UpdateOptions
{
Default = 0,
ExpandFull = 1,
AlterDependents = 2,
}
}
and we also h...
How do I bind any version or a range of versions of an assembly by using the app.config?
I'm currently binding the MySql.Data assembly like this:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" applies-to="v2.0.50727">
<qualifyAssembly
partialName="MySql.Data"
fullName="MySql.Data, Ve...
Hey,
I need to localize a .NET assembly (winforms exe), but I don't have its source code. Is there any good tool that allows this?
Thanks.
...
The MSDN documentation doesn't generally specify the assembly a namespace is in, so there's no easy way to add the necessary assembly reference.
NOTE: I am using MonoDevelop, so right-click, resolve is not an option.
...
Hi,
I've created an assembly to share it between my main app and the silverlight app. At the beginning it looked like it was going to work but now I get this exception: "System.IO.FileNotFoundException was caught, Message="Could not load file or assembly 'System.Xml.Linq". I'm using .NET 3.5 Sp1 and Silverlight 3.
That shared assembly...