How do I determine if a particular assembly is available in Client Profile?
Given a particular reference assembly, what is the best way of determining whether it is available in a client profile or not? ...
Given a particular reference assembly, what is the best way of determining whether it is available in a client profile or not? ...
Our internal HR application is developed by the vendor, but I've been given a requirement to change the behaviour of a certain piece of functionality without their assistance (which I don't want to do, but am investigating...). The functionality in question is an .ashx page which does a number of database lookups, and is called via java...
When objects get added to the Windows Registry, they show up like so: MyNamespace.MyType I seem to remember running into issues with my namespaces and classnames being too long when trying to register them for COM. Is there a maximum length limitation in registering classes in Windows or COM+? ...
Hi all. I'm trying to achieve the following: whenever a call to service is performed I want to be able to identify the client. I thought about getting the calling assembly name by iterating over stack trace but I failed to get the client assembly name. Sample code: private List<System.Reflection.Assembly> GetCallingAssemblies() ...
When I change the assembly name of my project, i.e from "Gui" to "Gui2", I get many errors during build. Most of these errors contain "xxxx could not be found (Are you missing a using directive or an assembly reference?) What am I doing wrong? ...
Dear Folks, I am looking for a piece of advice to maintain the assembly versions in an automated build environment. Basically I have an ASP.net project that contains couple of aspx page and ascx controls and each of them defined some assembly versions into the markup. Something like following.. CodeBehind="FeatureSettings.aspx.cs" Inh...
Hi, simple question, probably easy for you to answer. I have a dll named "MigrationSteps.dll" in the same output folder of my application. What I want to do, is to load this assembly in a new AppDomain and execute a method on an instance of a class inside this DLL. Here's my code string migrationStepsDllPath = Path.Combine(AppD...
I have a rather simple internal ASP.Net Website that has issues loading the Microsoft.Practices.EnterpriseLibrary.Data dll about once a week. Here is the Exception message: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' or ...
I want to be able to change a setting in my silverlight assembly at runtime, i want a bit like a web.config in a asp.net web site? what is the best way of doing this? thank you ...
I have created strong name using - sn -k C:\strong.snk nao how to assign this key to any assembly? and where I have to use gacutil? ...
Some Background: I have a VS 2008 Deployment project I am not using the project output, I am adding assembly files directly because we have third party licensing and obfuscation tools that we run on the assemblies after building them. Also included in this deployment project is a Help directory with examples. One of the Examples is a C...
By "Vertically partitioned", I mean having namespaces named after modules rather than "layers" So, MyApp.Core MyApp.Accounting MyApp.OrderManagement MyApp.HR instead of, MyApp.UI MyApp.Business MyApp.Data The only issue I am running into is that sometimes those assemblies might have a part of the namespace that is same as a ...
Hi all, I am trying to accomplish nightly builds and in that i need to automatically increment build number. We have a custom xml file which is already being used by installer and update installer to properly update target system. Before this Nightly Builds, we used to update this file manually and versions of the assembly were manually...
Hello, I am facing an exception in C++/CLI while dynamically loading assembly which itself an EXE created in C++/CLI managed mode using Assembly.Load. It successfully loads a dll assembly, but fails to load EXE assembly and generates following exception: An unhandled exception of type 'System.IO.FileLoadException' occurred in TestManag...
I have an external compiled assembly with HtmlHelper extension methods. I need to use it in the project so that there wouldn't be any absolute references to this assembly because the project is shared with Team Foundation Server. What is the usual way to solve the problem? ...
I've got a piece of code in a project (MyProject) that contains early bound object from a referenced assembly (We'll call it CommonAssembly): Dim myObject As CommonAssembly.MyEarlyBoundType now I have another assembly that is dynamically loaded because it is not present in all projects: Dim myLateBoundObject As Object = AppDomain.Cu...
I am updating our CruiseControl.NET continuous integration environment from using the old Visual Studio 2008 Web Deployment projects to Visual Studio 2010. I do not want to use the Beta 2010 Web Deployment projects as I think I can make use of the updated Publishing/Packaging in 2010. Currently I have managed to configure the CruiseCo...
According to the documentation for System.Assembly: The LoadFile and LoadFrom methods are provided for rare scenarios in which an assembly must be identified by path. They suggest that you would more commonly load an assembly by its display name (for example, "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b...
Hello, I need to solve simplest problem. I have some abstract factory which will initiate on demand seperate processes(.NET EXE's). It means abstract factory needs to initiate processes at any time and let the newly created processes be able to communicate with process in which abstract factory reside. This interprocess communication is...
I've read that assembly serialization (sgen.exe) can improve performance. What exactly is providing the improvement? Is it metadata on the Types? I would have thought this would be available through reflection! so why is it required in a separate assembly? ...