The following scenario happens to me both on windows services and web working with ASP.NET application using IIS. I have an application that I want to change its behavior after it was deployed. So to do that I kill the application process (iis worker process) or stop the windows service. The I rename one or more of its dlls to be with th...
I'm trying to determine if MEF is a the proper direction our application framework should be taking. From my reading of MEF, our framework doesn't seem to 'exactly' fit in, but I'll see if any experts can guide me.
Our framework allows us to have one core website and dependent assemblies deployed to one place (and fixes or features are...
I am in the process of creating a .NET assembly that will be registered for COM so that it can be referenced by Microsoft Excel VBA.
The assembly references a third-party .NET assembly (that contains some useful classes) that is not in the GAC, however, I have a problem with the deployment of my assembly since the path to the third-part...
Simple question (comes up in SharePoint 2010, but that's not really relevant).
How does:
<add name="LdapMembershipProvider" type="Microsoft.Office.Server.Security.LdapMembershipProvider, Microsoft.Office.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
...resolve when the actual type (LdapMembershipProvide...
Title says it all. I'm developing a web app using NHibernate, and getting the error
Unable to find assembly 'NHibernate, Version=2.1.2.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4'
The weird thing is that it's intermittent, and when ti happens it causes the VS 2010 embedded web server to crash. But it doesn't happen on ever...
I'm developing a unit test project (let's say XXX.UnitTest) to test ViewModels in another project (XXX) in my solution. I can add the reference but when I build, an error states that it cannot find that same project (XXX)
Error 42 Could not load file or
assembly 'XXX, Version=1.0.2.66,
Culture=neutral, PublicKeyToken=null'
or ...
I have a Windows Service written in C#. It includes a standalone console mode as well, for debugging purposes. It works fine on almost every computer it's been run on, but we ran into a situation where this service locks up when you try to start it, and then it gets killed because of timeout. But when running it in console mode on the...
In the .NET fusion logger (FUSLOGVW.exe) what do the two options in the lower right of the screen do?
Log Categories
+ Default
+ Native Images
And how can I use either one to diagnose a mixed-mode assembly problem?
...
Hi all,
In my application, I would like to load Assemblies that reside on a network share (The application itself is on that share, too) without having to add them to the project's output path. What I'd like to have is an output directory that contains next to nothing but the application.
Merely adding the target directory to my projec...
I'm working on a new WCF web service that's to be hosted within an existing ASP.NET web application. When I attempt to run the .svc file for the service, I'm getting an exception that it can't find the file for an assembly.
Could not load file or assembly 'System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5...
I'm trying to troubleshoot a .NET 2.0 error with Outlook Web Access on a SBS 2008 Server.
The error I'm getting is:
Exception information:
Exception type: HttpException
Exception message: Could not load file or assembly 'Microsoft.Exchange.Data,
Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its
de...
I am trying to load an assembly into memory and then instantiate types within that assembly. The objects are all of the same type (ITestMod). The following seems to work well:
private void LoadTestAssembly(string assemblyName)
{
try
{
Assembly assembly = Assembly.LoadFrom(@".\testmods\" + assemblyName);
...
Hello,
I worked through the Fluent NHibernate tutorial at http://wiki.fluentnhibernate.org/Getting_started and the project compiles fine.
However, I am getting a runtime error and I can't seem to resolve it. The error is happening in the CreateSessionFactory method you can see in the tutorial. Here it is:
private static ISession...
Hi,
I'm trying to use MEF2 Preview in my .NET4 project. MEF2 Preview version is "System.ComponentModel.Composition.Codeplex" file with "System.ComponentModel.Composition, Version=4.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35" assembly name.
So it only differs by revision number from the version in .NET/GAC (which is 4.0.0.0)...
I know that it is possible to load xap modules dynamically using Prism or MEF framework. However, I'd like not to use those frameworks; instead load my xap files manually. So, I created the following class (adapted from internet):
public class XapLoader
{
public event XapLoadedEventHandler Completed;
private string _xapName;
...
I wrote a MsBuild Task : MyTask. In my solution, I have the Task project and others projects. MyTask references a project (say ProjA) which references third assemblies, say (dep1 and dep2).
The projects all builds well and I have the outputs in one directory (Compil). In this directory i have all the dll's I want : MyTask.dll, ProjA.dll...
We're currently developing an add-in for some software. We decided to develop in .NET, even though the application is written in some native language. Since there were some problems directly creating the external interface in .NET, we decided to build a bridge DLL in C++/CLI, which does some basic initialization and then loads our manage...
When adding a reference to VS 2008, the version is listed as v1.0.0.0 when it should be v1.1.0.0 - as far as I can see there is absolutely no reason why it is adding the wrong version.
Both projects are written from scratch, no other refs reference the assembly I'm trying to add and when I look at the file in windows, it has the correct...