how can i create a DLL of a program written in c program..?(am using turbo c compiler)
the same program i could use with c# or VB program as- DLL reference..
http://support.microsoft.com/kb/106553
check out this link(i didn't understand this..)
...
Hi,
The scenario is as follows. Developers compile the projects and deploy assemblies to production. eg, deployment contains 10 assemblies. Out of 10, they actually change the source code only in 5 assemblies and they recompile other 5 assemblies without changing the source code. Before deployment, I want to trace which assemblies are ac...
Hi All,
I am having a strange issue when building assembly's for one of my modules.
I was getting errors when running on 64bit which I traced back to being related to the assembly being 32bit specific. Our modules are(or should) all be built to be bit agnostic.
Running CorFlags.exe on the assembly showed the following.
Version : ...
It's used on several websites which all seem to assume the reader knows what to do to have this type available, but I have no clue.
Example site, see the first comment:
http://blogs.artinsoft.net/mrojas/archive/2008/09/18/newwindow2-events-in-the-c-webbrowsercontrol.aspx
...
Is there any rule of the thumb as to the number of static functions you can have in an assembly?
How do you recognize if a function needs to be static v/s a function that doesn't need to be static?
...
Hi,
I have two C#.net projects project 1 and project 2 (names changed) in single solution. I am using Visual Studio 2005. I have added reference of project 2 in project 1 by right clicking and choosing 'Add Reference'. Both projects are of 'Application' project type not Class library type. I have some classes in project 2 which I want t...
When applying a binding redirect in the app.config of the test project. The runtime refuses to obey the redirect command and keeps searching for the old version of the assembly
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Msdcc.Common" publicKeyToken="9d9c15...
We currently have quite a few classes in a project, and each of those classes implement an interface, mostly for DI reasons.
Now, my personal feeling is that these interfaces should be put into a separate namespace within the same assembly (so we have a MyCompany.CoolApp.DataAccess assembly, and within that there's an Interfaces namesp...
In the past years I've occasionally been wondering what equivalent of the (in)famous DLL_PROCESS_ATTACH was available in the .NET world. Any documentation I have says, slightly simplified, that the earliest entry point to a class is the static constructor (cctor), but you cannot influence when it is called, nor can you define one cctor t...
In the following manifest, is it necessary to change the version attribute of the assemblyIdentity element if the assembly version is specified in the project (or, in my case, set as part of a MSBuild task)?
According to this Microsoft Connect page, it looks like the project's version number overrides the manifest's version number. Ple...
I would like to identify the language(C#, VB, whatever) used to create a particular assembly.
I would also like to identify the compiler (the MS one, mono).
There doesn't seem to be any information in the assembly. The section about the headers of an assembly in Ecma-335 partition II doesn't mention anything useful.
I wonder if there ...
I'm interested in use cases for netmodules in .NET. In particular, I've been looking into better ways to break up solutions in .NET but not have quite as many assemblies to deploy. Netmodules are a very interesting idea, but they appear to break debugging and are not natively supported in Visual Studio (though they are for MSBuild). I'd ...
Is the following solution the only possibility to use libraries from GAC in code?
Assembly lib = Assembly.Load("MyLibrary, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=31f5625abd53197f");
Console.WriteLine(lib.GetType("MyClass").GetMethod("Start").Invoke(obj, null));
I am a little bit confused - I've read quite much about GAC and...
Hi,
we will find Assembly version from Assembly.cs in every library.
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
My question is what is 1.0.0.0 meant by this?
Thanks
...
In my application I need to compute a hash of a given .NET assembly and of a given type.
Assemblies and types to hash are loaded dynamically in this scenario.
Object's built-in method GetHashCode returns different value each time an application is started.
How to compute a deterministic hash function of an assembly or a type?
Any a...
Is there any way, using msbuild or otherwise, to detect which projects have changes in the current build and update the FileAssemblyVersion attribute in AssemblyInfo.cs for those projects only?
...
Hello, I'm building a new n-tier web application and I would like to know the performance differences between developing my tiers in one single assembly (each tier with its own namespace) or into different assemblies, one for each tier.
Thanks.
...
Hello everyone,
I am using Windows Server 2008 Enterprise + .Net 3.5 + VSTS 2008 + C# to develop a console application. The application runs fine on my developer desktop. But when I run the same application on another machine (Windows Server 2008 Enterprise as well, but no VSTS 2008 installed), there is error says assembly Microsoft.Exp...
I am looking for a instruction-level virtual machine debugger for debugging .NET files. The files are release builds and disassembling and then recompiling them is not an option.
...
Hi all
I have a solution with a website and a class library. I have renamed the class library project from Insight_WebControls to Insight.WebControls. I have also renamed the assembly it produces in its properties.
I have removed from the website's references the old class library and added the new.
However, when I try to build the we...