BizTalk 2009 Assembly Locations
When I deploy a schema to BizTalk where is it stored? -Shaun ...
When I deploy a schema to BizTalk where is it stored? -Shaun ...
I'm trying to get a Type object from type full name i'm doing the folowing: Assembly asm = Assembly.GetEntryAssembly(); string toNativeTypeName="any type full name"; Type t = asm.GetType(toNativeTypeName); I get null, why? the assembly is my executable (.net executable) and the type name is: System.Xml.XmlNode ...
If you are multi-targeting an assembly how should you name the files? For example if you are targeting both standard .net and silverlight should the files be named differently? Something like MyProject.dll and MyProject.Silverlight.dll Or should they be named the same but exist in different directories Something like DotNet\MyProject...
Every time i build, or publish, a web-site, Visual Studio attempts to check out the web.config file so that it can add numerous assemblies that are not required. In other words: web.config before: <configuration> <system.web> <compilation> <assemblies> </assemblies> </compilation> </system.web> </co...
.Net 3.5 sp1 available type question ... Is it possible to "get a handle" or reference to the actual instance of an assembly that called a method? I can get the executing and calling assembly via reflection, but what I'm after is not so much the assembly, but the INSTANCE of that assembly that called method. Simple example (maybe): ...
Very simple Winforms application I want to deploy manually. Can all the referenced assemblies simply go in the application folder or where should they be published? (In ASP.NET they can go in the \bin folder). I would rather not put in the GAC. ...
I have a little bit of code that loops through the types currently loaded into an AppDomain that runs in an ASP.NET application. Here's how I get the assemblies: var assemblies = AppDomain.CurrentDomain.GetAssemblies(); When the application first starts up there is no problem and all the types I expect are present. But when I update t...
I would like to parse an assembly qualified name in .NET 3.5. In particular, the assembly itself is not available, it's just the name. I can think of many ways of doing it by hand but I guess I might be missing some feature to do that in the system libraries. Any suggestion? ...
Hi, I wonder if anyone can help me - I've not done much with reflection but understand the basic principles. What I'm trying to do: I'm in the process of developing a class that gathers a lot of information about the local system, network, etc... to be used for automated bug reporting. Instead of having to change my test harness every...
Hello, I am writting a plugin for a program, and I want to put my code inside a DLL so I can share the plugin freely without exposing (giving away) my code. Here is the basic structure i have access to : using System; public class Plugin { public void Initialize() { //do stuff here doWork(); } } Then i jus...
I have a custom server control for asp.net. One of the properties available to it is a generic object. That generic object has custom attributes that are read and used to customize the rendering of the control. At run time, this is no problem, since all I need to do is find all the attributes on the instance that gets passed into the ...
Hello, the title says it all, I need an application for obfuscation (or other intelectual rights protection) of Assemblys (DLLs) compatible with the new Framework 4. It should be free, and not require extensive changes in my application code. Any recomendations? PS: I know a bunch of others for framework3.5 and before, cant find one f...
Is there a way to have a .NET assembly accessible for only authorized sources? I mean I want to have a DLL that contains components, but I don't want anyone to be able to use these components but the other DLLs EXEs in my solution. I do want them to be in separated DLLs though. Restriction on namespace might also be a good idea if this...
When iterating through a set of assemblies, e.g. AppDomain.CurrentDomain.GetAssemblies(), dynamic assemblies will throw a NotSuportedException if you try to access properties like CodeBase. How can you tell that an assembly is dynamic without triggering and catching the NotSupportedException? ...
I want to change the name of my Assembly Programmatically in C#, there is a way through which I can change it from Project Properties, but I want to change it Programmatically, so that my output .exe name is changed.. Any trick for that? ...
I need to read a setting from the appsettings section (defined in app.config) in a unit test. We're using mstest in this project. Say this is the app.config: <configuration> <appSettings> <add key="MyAppSetting" value="MyAppSettingValue"/> </appSettings> </configuration> Here's the corresponding test, which passes in this setup:...
I'm getting the Product attribute from all the loaded assemblies in my application using: AssemblyProductAttribute product = (AssemblyProductAttribute)Attribute.GetCustomAttribute( assembly, typeof(AssemblyProductAttribute)); I would like to get this attribute for all the assemblies that the currently loaded assemblies ref...
Does anyone have any idea what would cause the Fusion loader to simply skip over a DLL with no warning or acknowledgement? I'm seeing this problem when attempting to do (in C#) Assembly.LoadFrom("c:\Deploy\bin\WebServices.dll") from a command-line application. That DLL has a dependency on Platform.DLL, but the loading of that dep...
I am currently working on a .net project which I am dividing into different assemblies. One assembly (a dll) will contain most of the domain logic, and the other assemblies (.exe) will contain most of the presentation and control logic. My question is, if I want to prevent someone from getting my DLL, and adding it as a reference on Vi...
I have resources in separate assemblies to be used by multiple WPF apps and this is working fine. Now I am creating a Silverlight 3 app and am trying to use the same assembly to get the same resources. I get an error at the time of adding a reference, saying only Silverlight assemblies can be referenced. What's the best way for me to do...