To Maven gurus out there:
I'm trying to package non-java project artifacts (.NET) into a single zip file. I'm having 2 problems:
If I change packaging in my POM to zip <packaging>zip</packaging>, I get this error message: [INFO] Cannot find lifecycle mapping for packaging: 'zip'.
Component descriptor cannot be found in the component rep...
I'm building a tool in managed code (mostly C++/CLI) in two versions, a 'normal user' version and a 'pro' version.
The fact that the core code is identical between the two versions has caused me a little trouble as I want to package the resulting tool as a single assembly (DLL) and I don't want to have to include the .cpp files for the...
We produce a number of applications that share assemblies. Since memory or disk space is not a problem, we use private assemblies by duplicating the shared assemblies into each app's local folder. This avoids the issues caused by putting them into the GAC. I hear that strong names are a real good thing that is required if we share assemb...
If I have a class declared in assembly A, and am listening to it in assembly B, will this prevent garbage collection. Its a common situation, such as the one where you are listening to a property of an object in the business model from the ui.
i saw this question which talks about event listeners and garbage collection, but this questio...
Ofcourse the IL is lanuage independent,can i get the source code back from IL (let the source code be any language C#,VB) ?
...
I know that it's possible to have many classes in a namespace.
Now, is it possible to have a class in more than one assembly (.dll file)?
...
Our application dynamically loads a set of private assemblies that each reside under their own sub-directory. They each have their own dependencies which are also in that same sub-directory. Each assembly is strongly named and the dependencies are the same library, but different versions.
MyApp
|-> Folder1\
| |->PrivateAssembly...
I have a project with multiple modules, including on that is responsible for building the final assembly from the artifacts of the other modules. As part of the assembly, I want to include the JavaDocs for two of the other modules. I have updated the pom files for those modules to generate the JavaDoc JAR files, and modified the assemb...
I do not know why this is happening:
[NullReferenceException: Object reference not set to an instance of an object.]
DataWeb.Core.HttpHandler.ProcessRequest(HttpContext Context) in X:\projects\visualstudio\work_projects\Production\DataWeb\DataWeb.Core\HttpHandler.cs:23
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication...
I have added the following to the registry key Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion:
EnableLog DWORD 1
LogFailures DWORD 1
If I start an ASP.NET web site from Visual Studio it throws a Parser Error:
Could not load file or assembly
'CMS.Controls, Version=4.1.3518.21577,
Culture=neutral,
PublicKeyToken=834b1...
I have a web site project that I run from Visual Studio using the built in development web server. The virtual path of the web site is set to /
The web.config contains a runtime element with
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="CMS.Controls" public...
Hi,
I've got an assembly (loaded as ReflectionOnly) and I want to find all the namespaces in this assembly so I can convert them into "using" ("Imports" in VB) statements for an auto-generated source code file template.
Ideally I'd like to restrict myself to top-level namespaces only, so instead of:
using System;
using System.Collecti...
What happens when I call Assembly.Load(Byte[]) multiple times with a Byte array containing the same assembly ?
Will I get the same instance of Assembly for each call ?
The same assembly loaded multiple times within the app domain ???
...
I am trying to create a publish policy for a .NET 3.5 DLL. I can't seem to make it work. I have tried using the Assembly Binding Log Viewer, it looks like it can't find the assembly in the GAC. I noticed however my AL.exe.config file says that is only supports .NET 2.0. Is there a 3.5 version of AL.exe? If so, where do I get it? I tried ...
When windows service installer is bombing out with a "Error 1001. Unable to get installer types in the MyService.exe assembly." So it can't load MyServiceInstaller. Fusion logging is showing me that it is failing when trying to find my Data.dll assembly.
The thing is, it should not need to load Data.dll to create my service install...
I am using C# for this application.
I have a DLL that gets included within my application. From this DLL, I need to find the Assembly Version of the main program in which this DLL is included.
System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString() does not return what I want. This returns the Assembly version o...
If I have a 15M .NET assembly and a program calls a method in it, does the whole assembly get loaded into memory and use 15M or a lot less? (assuming the assembly is not allocating any memory during runtime)
...
I need to write a CorFlags-like application.
If I have a path to assembly file, how to I read its CorFlags?
I specifically need to know if the assembly is Any-CPU or x86 only
I want to avoid loading the assembly using reflection because I need to scan many files.
ThanksSaa
...
Hi,
My intellisense is coming up with a boolean named parameter "AllInternalsVisible=" in an [assembly:InternalsVisibleTo("AssemblyName")] declaration. Just position the cursor after the second double-quote and hit Ctrl-space. What is that - I cannot find any documentation on MSDN about that. I am using VS2005 and .Net 2.0.
As a ...
hi
I need a method that takes a Type and returns the pathes of all assemblies that used in the type.
I wrote this:
public static IEnumerable<string> GetReferencesAssembliesPathes(this Type type)
{
yield return type.Assembly.Location;
foreach (AssemblyName assemblyName in type.Assembly.GetReferencedAssemblies())
{
yield return ...