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

Assembly Not Being Recognized

I built a VB Windows Forms application a while back using VS05 (or VS08? Not exactly sure) that I've recently converted to use VS10. I reference a .dll called ExcelPackage (another article, usage) so that I can create/manipulate Excel docs…
Jason
  • 51,583
  • 38
  • 133
  • 185
1
vote
2 answers

Assembly looking for wrong version of Newtonsoft.Json.dll

My project is using Newtonsoft.Json.dll. I have added the dll as a reference to my project and im using version 8.0.2 Everything works on my pc however when i transfer everything to a new pc along with Newtonsoft.Json.dll i get the error Could not…
CathalMF
  • 9,705
  • 6
  • 70
  • 106
1
vote
0 answers

Invalid Resx ... Access is denied; but to WHAT?

I have a .NET project that simply cannot be built on my system, because every .Resx file fails with this error: Invalid Resx file. Could not load file or assembly 'Telerik.Reporting, Version=4.1.10.714, Culture=neutral,…
John Cromartie
  • 4,184
  • 27
  • 32
1
vote
1 answer

Consuming a REST API row based in SSIS Script Task

I am looking for a way to consume a REST API in an SSIS Script Task with C#. I cannot use RestSharp or the Microsoft.Aspnet.Webapi.Client because they are not in the GAC. I need to call the Rest API (POST) for each row to get a result and then write…
l0wsk1ll3d
  • 11
  • 1
  • 2
1
vote
1 answer

Executing a c# WPF application inside an already running c# process

I´m trying to build up an automated check if several 32 bit WPF applications can be opened without problems. I do not want to use Process.Start as i cannot be sure if each program will return a non-zero exit code in case a problem occurs (and i…
Udontknow
  • 1,472
  • 12
  • 32
1
vote
1 answer

WPF/C# can't find valid assembly reference

I've downloaded an open source third-party assembly for use in my WPF/.NET 4/VS2010 project. I've added a reference to the project's DLL and verified that VS2010 can see it by walking through the exposed classes in the object browser. When I add a…
Mike O'Malley
  • 335
  • 1
  • 4
  • 17
1
vote
1 answer

How to get Page assembly from a Control?

I've create a method that gets the current page's assembly name and version so that I can display it in the page footer. It works just fine, but I'd like to move this logic into a control that I could drop into any web application project master…
jrummell
  • 42,637
  • 17
  • 112
  • 171
1
vote
1 answer

how to use ICLRStrongName in .NET 4?

Related to my previous posts I'm moving to .NET 4. I've found that using the previous StrongName.h to get my assembly signing key in unmanaged code is now deprecated, and I need to use MetaHost.h and ICLRStrongName::StrongNameTokenFromAssembly. The…
Jippers
  • 2,635
  • 5
  • 37
  • 58
1
vote
3 answers

Resource Dictionaries in a Silverlight Assembly?

I've just begun dabbling in putting together a set of controls as assemblies and I'm working on default styling. What I currently have is a UserControl in a project (thanks Reed!) and I'm able to bring that into another project via reference. I plan…
Eric
  • 2,061
  • 8
  • 28
  • 37
1
vote
1 answer

Get Application Path of offending DLL from Exception

We currently have a simple Log class that can take in an exception. In our business logic if we happen to need a try/catch around a specific set of code, we log the exception and then rethrow it. The problem is that our Log class is in a common…
jaryd
  • 861
  • 12
  • 21
1
vote
1 answer

put together all assemblies and use it as embedded resource in exe

I have one assembly(MyAssembly.dll)(something like wrapper) which has a few references to other assemblies(3rdAssembly1.dll, 3rdAssembly2.dll). These referenced assemblies are embedded into my assembly as embedded resources. In my assembly I have…
Nolesh
  • 6,848
  • 12
  • 75
  • 112
1
vote
0 answers

How to resolve assembly conflict in Visual Studio 2013 web app project?

I have inherited a web app which reports the following assembly conflict when I try to build it under Visual Studio 2013; There was a conflict between "System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and…
CAB
  • 1,106
  • 9
  • 23
1
vote
1 answer

VS2008 WPF Xaml: Is there a path length limit when loading an assembly?

It seems that there is a path lenght limit for VS2008 when loading XAML assemblies. Using the Microsoft sample Southridge, if the project is stored on "C:\Projects\C# samples\Southridge_Labs\1.Southridge_Fundamentals\Start" the designer does not…
Jean-Marie
  • 297
  • 3
  • 14
1
vote
2 answers

Importing assemblies into IronPython from another assembly

I have an IronPython 2.6/2.7 script I am writing which imports a lot of assemblies. In other words, at the top of the script it does this... clr.AddReference( "System.Xml" ) import System.Xml Except it doesn't do this for 1 assembly, but for 10…
namenlos
  • 5,111
  • 10
  • 38
  • 38
1
vote
2 answers

What's the most efficient way to find all other assemblies that reference a specific assembly?

I often find myself wanting to iterate over all types in the current environment for various reasons such as to find everything that inherits from a particular class or to find all types with a specific attribute. I can do this using…
SilentSin
  • 1,026
  • 9
  • 18