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

Reference appears as excluded in Visual studio

I have created my own class library. I added the dll from that class library into my web application project. Everything works fine. I can call the classes from that lib etc... However when I open my bin folder from VS 2008, then I do not see my…
vikasde
  • 5,681
  • 10
  • 45
  • 62
0
votes
1 answer

Converting class library dll file to executable file

I'm having a InstallerDLL class library. When i build the file I'll get a InstallerDLL.dll in /bin folder. But now I need to get an InstallerDLL.exe file for the same class library file while building. I tried by creating a windows application…
Naren
  • 1,300
  • 14
  • 32
0
votes
1 answer

C# Custom TypeConverter in class library project

I have created my TypeConverter for enum localization, registered it to MyEnum type using [TypeConverter(typeof(MyEnum))] and it works well in my Windows Forms Application project. But now I need to use that same converter in Class Library project,…
B.Gen.Jack.O.Neill
  • 8,169
  • 12
  • 51
  • 79
0
votes
1 answer

Placeholder URL for SharePoint web services

tl;dr Below is the app.config from my class library which simplifies file manipulation in SharePoint. The endpoint addresses point at an arbitrary site but are set dynamically to the correct site when the library is used. Will the DLL still work if…
Jim Buck
  • 2,383
  • 23
  • 42
0
votes
1 answer

Relative paths in class library for asp.net application

I'm having some trouble with reading and writing files on the server with my Web-Application. I have a c#-class library for my business logic and a ASP.net Web Application as front-end. The whole application works fine when I start it from Visual…
samoncode
  • 466
  • 2
  • 7
  • 23
0
votes
0 answers

WPF user control gets data from web service or dll

I have a WPF user control which displays a piece of data on the screen. I would like to use the same WPF front end but have the data come from two possible alternate sources: A linked class library or A WCF service The rationale is that I want to…
Kesty
  • 610
  • 9
  • 19
0
votes
1 answer

Custom control library file resources

I am developing custom control which includes WebBrowser control inside its control template. creating custom control and accessing WebBrowser inside control template works without any problem but I have a situation where OnAppyTemplate method needs…
Rati_Ge
  • 1,262
  • 2
  • 15
  • 37
0
votes
2 answers

.NET Modifying Class Library Application Settings from Host Application

Let's say I have the following scenario in .NET 4.0: - Solution containing: a) a Class Library b) a Console Application The Console Application references the Class Library. What I want is to setup some Application Settings in my Class Library and…
Overhed
  • 1,289
  • 1
  • 13
  • 41
0
votes
1 answer

How to transform this into a DLL

I want to compile a DLL control, is a Extended Panel but I only have the class, I don't like to use classes for add a custom control, i prefer to add the DLL into the toolbox. Someone can help me to transform this into a class library DLL…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
0
votes
1 answer

Overwriting a DLL after using RegAsm

I have created a C# DLL to be used from Excel VBA. I compiled the DLL on my dev machine, and I have moved the DLL and the TLB files onto a development server. I used RegAsm to register the DLL, this worked fine. I then opened VBA and added a…
Christian Phillips
  • 18,399
  • 8
  • 53
  • 82
0
votes
1 answer

Project referencing error

I have an ASP.NET application (presentation layer) that references a VB.NET class library (Business Logic Layer), which references another VB.NET class library (Data Logic Layer). When I step through the code in the code behind files I am now…
w0051977
  • 15,099
  • 32
  • 152
  • 329
0
votes
2 answers

Javascript (Node.js) in PHP

Is there any project like PHP.js but in vice direction to provide PHP implementation of JS classes and functions? In particular Date, RegEx, String classes? I found this class for String but I am looking for a more complete collection. My consern…
Handsome Nerd
  • 17,114
  • 22
  • 95
  • 173
0
votes
2 answers

Authorize attribute + Validation attributes on inner class library

Is there a way to put attributes for validation and for security in inner layers? I want to put the security for example in the API layer. The api layer is just an injected class to the controller. the controller invoke the…
SexyMF
  • 10,657
  • 33
  • 102
  • 206
0
votes
2 answers

using a DLL in a .NET applications

i want to add a class library to my project in C# 2008 and that class library is a wrapper for a C++ library. i added the reference to the .NET wrapper and it says io.notfind exception. i copied C++ DLLs to my project and again it says file not find…
Ashkan
0
votes
1 answer

Change Resource file at runtime in different class library project in same solution in WPF

I have a solution with these projects: 1.Clinica (Type is Windows Application),(MainWindow.xaml is here) 2.Ferhad.Wpf.Core (Type is Class Library), (There are three files: Resources.xaml, OrangeResource.xaml, BlueResource.xaml) The Resources.xaml…
Farhad Jabiyev
  • 26,014
  • 8
  • 72
  • 98