Questions tagged [assemblies]

Assemblies are collections of compiled .Net types and resources grouped into a logical and physical unit (in the form of a .dll file or .exe file).

Assemblies are collections of compiled .Net types and resources grouped into a logical and physical unit (in the form of a .dll file or a .exe file - which has an entry point).

If a .exe is a .NET assembly then it also contains a CLR header as a data block inside the PE header.

2372 questions
1
vote
1 answer

PlaneProjection is not working well in silverlight

in silverlight project using name attribute in planeprojection gives Error 1 The type or namespace name 'PlaneProjection' could not be found (are you missing a using directive or an assembly reference?) code i used for that
vishal
  • 11
  • 1
1
vote
2 answers

Using two versions of the same assembly (system.web.mvc) at the same time

I'm using a content management system whose admin interface uses MVC 1.0. I would like to build the public parts of the site using MVC 2. If I just reference System.Web.Mvc version 2 in my project the admin mode doesn't work as the reference to…
1
vote
1 answer

CppCodeProvider assembly not found error in Visual Web Developer 2010

I opened a website in Visual Web Developer 2010 and at the top of the page there is an error squiggle on the master page declaration: <%@ Master Language="C#" AutoEventWireup="true" etc... The error is "Could not load file or assembly…
1
vote
1 answer

.NET 4.0 Cannot resolve reference to System.Web.Extensions assembly

I'm trying to import System.Web.Script.Serialization so I can deserialize JSON, but in my Imports statement, Visual Studio can't find the System.Web.Extensions assembly. Before you dismiss this, I have already made sure I am not using .NET 4.0…
JacobD
  • 75
  • 9
1
vote
1 answer

How can the AssemblyName class be used for existing Assemblies?

This is another exam related question. How can I use the AssemblyName class to represent an existing assembly that already exists on disk? I am talking about from the perspective of using the AppDomain's instance method .Load() that takes an…
IbrarMumtaz
  • 4,235
  • 7
  • 44
  • 63
1
vote
1 answer

Finding the assembly to go with the namespace

I have a C# script executor, which execute an arbitary chunk of c#, by wrapping it, and executing it in its own appdomain. To compile it correctly, I need to know what assemblies it needs. Is it the case that I need to extract the namespaces…
scope_creep
  • 4,213
  • 11
  • 35
  • 64
1
vote
2 answers

.NET: are regasm and caspol dependent on which user is logged

When using regasm and caspol to register and grant trust to assemblies, will it matter under which user account these utilties are executed? Could there arise a situation where assemblies are registered and/or granted trust only for certain users on…
CJ7
  • 22,579
  • 65
  • 193
  • 321
1
vote
4 answers

Running ASP.NET MVC preview 3 apps on a box with the beta installed - how can I remove System.Web.Mvc from the GAC after installing ASP.NET MVC Beta?

I have an app built against MVC Preview 3 (referencing local copies of the MVC assemblies) that I'm trying to modify/test on a machine with the ASP.NET MVC beta installed. I am not interesting in updating this app to run against MVC beta yet - I…
Dylan Beattie
  • 53,688
  • 35
  • 128
  • 197
1
vote
1 answer

C# - Loading assembly at runtime, method called on instance seems to be ineffective

I'm trying to load an assembly, instantiate a class from that assembly, and then call Run(), which should set a property inside this instance. Loading the assembly seems to work fine as I'm able to list the types, but the called method seems to be…
amazeas
  • 25
  • 5
1
vote
1 answer

NDepend TypeInitializationExceptions when Testing with NUnit

So I'm trying to set up a project using the NDepend API for some metrics on my code (Which works nicely), however, when I attempt to run a testing framework (NUnit) over it, I'm getting TypeInitializationExceptions thrown. Here is some code to…
thejackamo
  • 23
  • 3
1
vote
0 answers

Getting "#Error" in SSRS reports - how to diagnose?

I have some custom code that gets called to format certain fields for an SSRS report. Instead of getting the formatted value back as expected, I get the unhelpful message of "#Error". Is there a log or anything that can give me some useful…
Atari2600
  • 2,643
  • 2
  • 20
  • 18
1
vote
1 answer

Application.Designer.cs Errors - Can't find assembly properties

I am helping convert a Visual Basic project to C#. The following is the original VB code in the Application.Designer.cs document: '------------------------------------------------------------------------------ ' ' This code was…
1
vote
4 answers

Internalize Class and Methods in .NET Assembly

I have a set of multiple assemblies (one assembly is to be used as an API and it depends on other assemblies). I would like to merge all assemblies into one single assembly but prevent all assemblies except the API one to be visible from the…
Vincent
  • 22,366
  • 18
  • 58
  • 61
1
vote
2 answers

Call Activator.CreateInstance in a dll to intance class that reside inside Asp.Net App_Code

Help, here is the idea: External.dll IMyClass NewCreated = (IMyClass)Activator.CreateInstance(Namespace.MyClass).UnWrap(); ----------------------------------------- Asp.Net WebSite App_Code Namespace.MyClass.cs Bin …
Fraga
  • 1,361
  • 2
  • 15
  • 47
1
vote
4 answers

Is AutoIt "Managed Code"?

An extension of my previous thread here. I'm launching embedded resource applications via Reflection and I'm unsure whether I can use AutoIt (.au3) files or not. People say it needs to be "Managed Code". I'm not completely sure what that means nor…
Gio Borje
  • 20,314
  • 7
  • 36
  • 50
1 2 3
99
100