Questions tagged [class-library]

A collection of classes combined into a unit maybe distributed by a third party. It may have dependencies to further libraries.

A collection of classes combined into a unit maybe distributed by a third party. It may have dependencies to further libraries.

Frameworks usually use this quite a lot.

1024 questions
0
votes
1 answer

Get assembly version from .net class library COM visible doesn't work

I made a class library, COM visible, in CSharp with Visual Studio 2010. When I try to call this method: public string Version { get { return Assembly.GetEntryAssembly().GetName().Version.ToString(); } } from VB6 client I obtain…
Gigi
  • 315
  • 7
  • 23
0
votes
1 answer

how to attach wpf dll to a different project

i've created a wpf mvvm project, when the main page is app.xaml, which is blank, and it only runs the actual mainwindow.xaml (by using viewmodellocator). this project works fine, i've run it multiply times as an exe. i've created a class library,…
dusm
  • 1,207
  • 4
  • 18
  • 24
0
votes
2 answers

Building class library project in C#

I am working on a existing c# class library project. I want to add few more class to it. This is then used in a new project. I have added the required classes to the existing typelib project, but when I refer the typelib in the next project and try…
Zach
  • 9,989
  • 19
  • 70
  • 107
0
votes
1 answer

How to put LINQ to SQL in a separate project?

How can I put the LINQ to SQL generated classes in a dedicated DAL project so that I can access it from various other projects in the same solution? I.e. so I can use one for Web, and one for Windows Forms?
Dkong
  • 2,748
  • 10
  • 54
  • 73
0
votes
1 answer

SSIS - Sharing .net dll across multiple SSIS Packages

I have created a .Net library to be used for SSIS Projects. We have created number of SSIS templates all using same dotnet library. Can someone share - how can we ensure that if we make changes to our DLL and then it reflects to all SSIS templates…
Conrad Jagger
  • 91
  • 1
  • 3
  • 11
0
votes
1 answer

Asp.Net using dll with web application project

i am developing an asp.net web application project.i have add a dll file with add reference command but i get error when i have said it Using namespace_name. Note : i tried as Asp.Net Web site.But problem is continue.i checked framework version. C#…
mantissa
  • 147
  • 3
  • 14
0
votes
4 answers

C# Terminate a Class Library which implements a DispatcherTimer

I am using a class library to simulate and process data and return results via triggered events. DataProcessor _dataProcessor In it I am using a DispatcherTimer to simulate data and raise events when simulated data is available and ready to be…
faldeland
  • 587
  • 6
  • 20
0
votes
3 answers

Creating class library project from winform

I have a winform project (from a different person, I didn't build it), that uses a web reference. I want to create a new project - class library project - based on the winform project (without GUI). I tried to copy some of the files but I can't…
TamarG
  • 3,522
  • 12
  • 44
  • 74
0
votes
2 answers

Product mode with a Debug DLL

I know that a class library compiled in 'Release' mode will run faster and more efficiently than one compiled in 'Debug' mode, but does anyone know to what extent? EDIT: This is for a .net dll.
maxp
  • 24,209
  • 39
  • 123
  • 201
0
votes
1 answer

Class library for image resources in Visual Studio

We've been developing several WinForms projects for a client over the past year and have noticed that the projects are starting to use a common set of image resources (about 20) for controls like tool strip buttons, picture boxes, etc. Would it be…
PT83
  • 15
  • 2
0
votes
1 answer

Debug a .net Class Library with Visual Studio

The Situation I've been hit with a situation that I've never encountered before. I have an application that uses a dll called client.dll. The Application stays in the bin\debug\ folder and is run using Build Events... every time the application…
Freesnöw
  • 30,619
  • 30
  • 89
  • 138
0
votes
3 answers

Step into a class library in asp.net using visual studio 2010

I'll start by saying that I have searched SO and not found an answer to my issue. I want to place a breakpoint in my asp.net code behind, and when a method or function of a class library is being called, I would like to be able to step into the…
DNR
  • 3,706
  • 14
  • 56
  • 91
0
votes
0 answers

Multiple ClassLibs referencing same lower level ClassLib nicely

I am in a muddle with Class Libraries referencing the same code logic and need some advise on how to resolve it. I'll try to explain what I current have first: I have a C# ASP.NET application. It has a web.config file. The application includes a…
Chris Walsh
  • 3,423
  • 2
  • 42
  • 62
0
votes
2 answers

Possible to return Json data from C# class library

I am creating a report which requires returning Lists, and Json data to a web page. I'm working with a multi-tiered application. The web project is created using MVC but the heavy lifting is done in class libraries in separate projects. I am…
109221793
  • 16,477
  • 38
  • 108
  • 160
0
votes
3 answers

Can we return a DataTable from DLL file having ClassLibrary Project?

I want to return a DataTable from DLL file that is Created from ClassLibrary Project. So is it possible to return a DataTable from the DLL file which contain the code to return the DataTable? And also i want to use this in asp.net website. Plz give…
SHEKHAR SHETE
  • 5,964
  • 15
  • 85
  • 143