Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

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.

class-library
0 votes
0 answers
20 views

I want to encrypt my Localdatabase and my application involves xamarin.forms,xamarin.mac,and a classlibrary. I am using package sqlite-net-sqlcipher

STRUCTURE: I am using xamarin.forms and Cocoa app(xamarin.mac) in integration with it. My xamarin.forms deals with all the UI, and the Cocoa app(xamarin.mac) does interaction with all the mac API's. I ...
core mail's user avatar
-1 votes
0 answers
16 views

SerilogAdapter needs More Encapsulation & Information Hiding in order to Completely encapsulate & hide 3rd-party Seilog API modules from Client code

Here is info about our technical development environment : Microsoft Visual Studio 2022 .NET 6.0 C# 10 Serilog Serilog.Sinks.Datadog.Logs Serilog.Sinks.PeriodicBatching I created an Adapter ...
crazyTech's user avatar
  • 1,407
0 votes
0 answers
34 views

Send an email from SQL Server using CLR Assembly (microsoft modern authentication)

I have created a class library project to send an email using Azure.Identity, Microsoft.Graph. after that, I complied into DLL when I tried to create Assembly in SQL Server it threw error Assembly '...
Jeenath Kumar's user avatar
0 votes
1 answer
55 views

How to register DI Services in .net core class library?

I want to add some services in my class library project and I found some ways on Google for this https://mcguirev10.com/2018/01/31/net-core-class-library-dependency-injection.html. However, I don't ...
shah Taymur's user avatar
0 votes
0 answers
61 views

Load Class library dll in powershell

I have made a C# Class Library that has some NuGet packages installed in it, like Azure.Core. When the library has been compiled, I get my library as a MyLibrary.dll which is all fine. The only files ...
wads's user avatar
  • 125
0 votes
0 answers
19 views

Mah apps resource not found in a wpf class library

My application is using a wpf library (uilib.vcproj) which itself uses another ( corelib.vcproj). In coreLib a resource dictionary (MahAppsMetroStyles.xaml) exist whic define mah app style and it s in ...
emmanuel gidon's user avatar
0 votes
3 answers
2k views

How do I add a class library here in Microsoft Visual Studio Code?

enter image description here I don't know how to add a class library here, how does it turn into this? enter image description here I am really lost right now since our prof did not teach much about ...
Azazel's user avatar
  • 1
0 votes
1 answer
79 views

.NET Framework 4.5.2-based Console application compatibility problems with .NET 6-based Class Library project

Here is the info associated with the development environment: I have a Console project created using: Microsoft Visual Studio 2019 Enterprise .NET Framework 4.5.2 C# 5.0 I have a Class Library ...
crazyTech's user avatar
  • 1,407
-1 votes
1 answer
135 views

How to create a class library (c#) in visual studio code using .net 4.7 version

I am trying to create a class library from visual studio code, as i cannot use visual studio because of some organizational limits. So when i tried to create the class library i was able to use the c# ...
Roshan K S's user avatar
0 votes
1 answer
154 views

How can I log to a specific file path with log4j2 in a library?

I have a Java Library (SDK) that will be consumed as a JAR in other applications. I'm using log4j2 and SLF4J to log right now, but when my library is consumed by the other application (also using ...
Thomas Yamakaitis's user avatar
0 votes
1 answer
91 views

How to send data between Class Library and Winforms (both are different projects)

I'm currently working on a scenario where I am developing an activity for UiPath. The class library is a project setting where I am creating this activity. Specifically, for this activity, I am using ...
Vasant Raval's user avatar
0 votes
1 answer
155 views

Error adding a WinUI 3 class library reference to a WinUI 3 blank app

First I create a blank Visual Studio Solution, then a add a WinUI3 class library(dll) project and then i add a WinUI3 blank app project. In this stage both the project compile without errors Now I go ...
user3912437's user avatar
0 votes
0 answers
65 views

Error on BlazorWebView and Class Library with Winform

I have a class library (CL) project which has a class I register to COM. This CL has a project reference to a Razor Class Library which has some components I want to show on a Windows Forms dialog ...
alexxchela's user avatar
1 vote
1 answer
488 views

Source Generators for class library project in c#

Is this possible to generate code with Source Generator in c# into class library project? I would like this auto-generated code to be packed into Nuget package then. When I try to build a project made ...
user avatar
0 votes
0 answers
54 views

Class library is not found while building the ASP.NET Core 7 Web API with Github Actions

I wrote this dotnet.yml to build my application and push the docker image to docker hub, placed in the root of my project under the folder .github/workflows/. name: .NET Docker CI/CD on: push: ...
shanji97's user avatar

15 30 50 per page
1
2 3 4 5
69