I am curious how others would handle this situation. I have a domain layer that includes an Address object. I then have an application that uses this object. Additionally, there is an asp.net asmx web service that performs address validation by going out to a third party web service.
I am curious how to deal with this functionality. ...
Is it possible to import a namespace from an assembly that is not in the bin folder?
I'm using ASP.NET MVC 2 with MEF to pull controllers out of the assembly.I was able to get everything working, however, strongly typed views can't recognize the assemblies' objects unless the assembly is in the bin folder.
...
I'm trying to develop a web application that dispatch (Dispatcher) to multiple versions of another webapp on a per-request basis. To to that end, I'm using ApplicationManager.CreateObject to create new AppDomains running the web app in question, but the new app domains seem to be failing to load the Dispatcher's DLL (and I'm copying the ...
My projects are set up like this:
Project "Definition"
Project "Implementation"
Project "Consumer"
Project "Consumer" references both "Definition" and "Implementation", but does not statically reference any types in "Implementation".
When the application starts, Project "Consumer" calls a static method in "Definition", which needs t...
I Have a main dll Main.dll with 2 files MyBaseClass.cs and MyScript.cs both with namespace MainProject:
public class MyBaseClass
{
public string name ;
public MyBaseClass()
{
name = "base class" ;
}
}
Next i've made a second dll addOn.dll (using MainProject) with namespace SubProject
public class MySubClas...
Given a relatively big home-grown framework written in .NET. For an additional lower priority feature, we would like to use a third party open source project. However, this third party project is not safe to run in x64 mode, so we force it to compile 32bit. Due to this referenced 32bit assembly, VS wants our entire framework being compil...
Hi Stackoverflowers :)
imagine the following environment: an XBAP application running in partial trust mode (default behaviour; requiring Full Trust is not an option - but before you ask, if full trust is given to the XBAP, everything works as expected) is referencing a locally installed assembly, which is located in the GAC. To achieve...
In my ASP.NET MVC application, I have the following setup:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;extras"/>
I have referenced assemblies located in the extras folder in the views and they have worked perfectly (using <%@ Import Namespace="myNameSpace" %>).
My questio...
I want to use the ajax dll 3.5 in the website of framework 2.0
so is this possible by adding assembly or any other ways...
...
I have a helper assembly which includes a function to identify object types:
namespace Util
{
using namespace System;
public ref class CastingHelpers
{
public:
template < class T, class U >
static System::Boolean isinst(U u);
static bool Test() {return true;}
};
}
...but for some reason, ...
I am in the process of upgrading an older component which shares references to custom assemblies of differing versions.
To compare the properties of references from two different projects I have been copying and pasting the property values individually from the two different references to a text file for easier overview and comparison....
There are a lot of posts on here about this, I'm using this code from another SO post and placing a delegate assignation in my Main() method. None of the other posts have directly answered my question.
I've got my third party assembly embedded as a resource but when I fire up the app:
I'm getting a TypeInitializationException with a...
Hi, I've got an .exe file and I need to know in what language the program has been developed. And also is there a trick to view the code (basing on that .exe file) ? I used the Reflector and now I know it is not .NET
...
I know this question is similar to several previous ones, but I can't find an exact answer. I have an application framework that, amongst other things, handles unhandled errors. At the moment I require that the host application calls a Register method in the application's Main method to register the handlers and various sub-systems. I...
I have two assemblies with the same name. Another one was created after the 15 days of other. How do i what the what are all the changes in the second assemly like method,class,namespace (i,e) everything about the changes in the format of XML file.
Is any tool is avaliable for find the changes in the assemblies ?
...
I want to share a dll in between two projects.
Is it necessary to put the dll in GAC only or can I place it in any folder?
...
I have a Iron Python script that I want to run and then have the ipy interpreter output an assembly that I can run on other machines. How do I do that? Is there a siwtch I can pass to ipy.exe?
...
I am unable to uninstall an Assembly (log4net.dll) from GAC. It is giving following error.
"Assembly is required by one or more applications".
However if I search the Assembly using ProcessExplorer nothing comes up? How can I remove this Assembly from GAC?
...
I changed some names of namespaces, assemblies in one of existing project (C# and ASP.NET). But when I try to debug it; I get this error.
Could not load file or assembly 'HR' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).
I have replace...
I would like to know practically what kind of Assemblies should I deploy in GAC.
Case 1. If in my Solution multiple project uses log4net.dll then should it be deployed in GAC?
Case 2. If I have multiple application deployed in a machine each using log4net.dll is this the reason enough to deploy log4net.dll into GAC?
...