.NET 4. Could not load file or assembly 'x' or one of its dependencies. The...
I have a C# WPF application built in VS 2010 with Target Platform set to x86. This exe calls on a Managed DLL with target platform ANYCPU. The Managed DLL has a reference to a C++ DLL which is...
View ArticleHow to add external dll into metadata at compilation time in C#...
Hi, I would like to add external dll like "Microsoft.WindowsAPICodePack.dll" into metadata of my winform application(exe). Please guide me steps/methodology to merge in winform exe.Thanks,Meenakshi K
View ArticleProblem for getting static field value in ICorDebugType
Hello,I am developing a tool (with C#) for analysing full memory dumps of .NET processes by using Microsoft Debugging APIs. I am trying to find the value of a static field by calling...
View ArticleHow to release Interop COM excel object by C#
Hi I have developed winform application to get details of excel application which currently running in user machine.Using "AccessibleObjectFromWindow" I have reterived current excel file details and...
View ArticleOpen Source project - Strong named assembly
HiWhat is "best practice"-way or most common way to handle strong named assemblies/projects that are open source? Lets say I have a Visual Studio project/assembly at GitHub and I want to deploy it to...
View ArticleMixed mode assembly is built against version 'v2.0.50727' of the runtime and...
HelloI am having following issue with Visual Studio 2012 run time and Crystal reports. I have download and installed Crystal reports and Run time environment from URL http://scn.sap.com/docs/DOC-7824...
View ArticleIDispoable, class and Interface
Hi, For this article: http://www.asp.net/mvc/overview/older-versions/getting-started-with-ef-5-using-mvc-4/implementing-the-repository-and-unit-of-work-patterns-in-an-asp-net-mvc-applicationThere is...
View ArticleDoes the .NET framework support setting DSCP in QoS?
We are developing in .NET and would like to know if we have an API we can use to set theDifferentiated Services Code Point (DSCP) values in Quality of Service (QoS) ??I found the following reference...
View ArticleReflection to load dependent dll's
My c# application exe is running in c:\MyApplication folder . I am using reflection to load dll "A" and display collection of values .Assembly appAssembly =null; appAssembly...
View ArticleDynamic localization with a signed assembly
Hi All,I'm developing a plugin which requires to be deployed in the Global Assembly Cache, which forces me to sign the assembly. So far so good, but now i have to add localization to the project and a...
View ArticleCould not load file or assembly 'Microsoft.VisualBasic.PowerPacks.Vs,...
Hello EverybodyI have developed an windows application using .Net on 32bit environment.While tried to deploy this program on windows server 2012 on 64 bit environment, I got the following...
View ArticleManaged Extensibility Framework Question
Hello, newby MEF here: I have 2 interfaces to classlibraries I want to compose with my main application. What i am trying to achieve is a directory of .dlls that I can update/manage for the...
View ArticleWhat is the recommended way of using the debugging API these days?
I have a need to write a basic debugger (mostly for my own education), but I'm a little shell shocked by the number of changes that have happened in the API since I used it last. First, I came across...
View ArticleCustom config polymorphic nested elements
I've got a problem with creating polymorphic nested elements. Here is my config:<?xml version="1.0" encoding="utf-8"?><configuration><configSections><section name="Section1"...
View ArticlePInvoke: When is the memory allocated by the CLR marshaller freed?
I am using PInvoke to pass the following class to unmanaged C++ when the app starts up. All the values are passed in correctly as I step through the code. Inside the called C++ method I save a the ptr...
View ArticlePassing COM Instance throws error
Hi,We have 2 different assembilies that do not have compile time reference to each other, first assembly creates an instance of second assembly using reflection and pass an COM object instance and...
View ArticleDeployment of Winform application (System Tray App) on Terminal Services or...
Hi, I have created winform application(like system tray app). The application will be running continously in user machine like background way. I have deployed this winform application in Terminal...
View ArticleRandom AppCrashes in clr.dll with .NET 4.0
Hi Everyone !We are developing a 100% managed .NET Application/C# that consists of several Windows-Services and Client-Applications. Until April 2010 the Target was .Net 3.5 SP1. Meanwhile we converted...
View ArticleSolving getch in C++
I have been writing some code to a program that I wanted, which deals with multi-menu's and sets in creating rooms customersand deleting add and modifying on the fly. My problem persists in the...
View ArticleWhat does :NET application mean.
Hi,From time to time I read about something called .NET applications and would like to know what it is. I looked it up in Wikipedia, but just got confused. I am making programs in C with Win Api in...
View Article