Skip to main content

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
21 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 ...
-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 ...
13 votes
9 answers
18k views

how to find java classes?

I am new to programming, I was wondering if there is a way to find the java classes I need for a particular thing other than asking people for them on forums? I have seen the APIs on sun website but ...
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 '...
0 votes
2 answers
996 views

C# DLL called from Python

I recently created a dll using a C# "Class Library" Project in Visual Studio. This project simply takes in input two integers and returns their sum; if I try to call this dll from a C# ...
0 votes
1 answer
56 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 ...
5 votes
4 answers
5k views

Best practices to turn a .NET class library into a multithreaded .NET class library

I have some C# class libraries, that were designed without taking into account things like concurrency, multiple threads, locks, etc... The code is very well structured, it is easily expandable, but ...
0 votes
2 answers
458 views

C# NUnit testing using class library

I am new NUnit and am having trouble accessing methods from my main project in my test project. Specifically the MyMath class. main class public class MyMath { public int Add(int a, int b) { ...
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 ...
42 votes
15 answers
54k views

Java Array sort: Quick way to get a sorted list of indices of an array

The problem: Consider the following floats[]: d[i] = 1.7 -0.3 2.1 0.5 What I want is an array of int[] that represents the order of the original array with indices. s[i] = 1 3 0 ...
0 votes
1 answer
68 views

How to debug a Library using Windows Store App

Is it posible to debug a Portable Class Library in Visual Studio 2013 using a Windows Store App? So far, I had to close the current solution containing the library then I had to open another (...
18 votes
7 answers
21k views

How can I make a .NET class library read its own configuration file?

I have a .NET class library that provides a set of helper functions that are used by several Web Services. This class library must store a single setting, specifically, a connection string, which need ...
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 ...
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 ...
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 ...

15 30 50 per page
1
2 3 4 5
69