Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
86 views

I am extending my C# J2K library to dynamically register codecs from other assemblies. That part is working, but I am having trouble understanding IsAssignableFrom(TypeInfo) and how I can deduce which ...
Cinder Biscuits's user avatar
0 votes
0 answers
36 views

We use Elsa 2.14.1 and calling Elsa.Client.Services.IWorkflowDefinitionsApi.SaveAsync endpoint (/v1/workflow-definitions/{workflowDefinitionVersionId}) to store dynamically generated workflow in ...
Andrey A's user avatar
1 vote
1 answer
72 views

Have a ProjectA created for .NET Standard 2.1 with nuget packages MongoDB.Driver v2.12.0 and AspNetCore.HealthChecks.MongoDb v3.1.3. As part of MongoDB.Driver package upgrade, it updated the MongoDB....
Chethan's user avatar
  • 312
0 votes
0 answers
27 views

I'm migrating an old .NET Framework shared library to .NET 9 (or something close). It uses a combination of System.Diagnostics.Tracing.EventSource (to put the event) and System.Management....
Brandon's user avatar
  • 755
1 vote
1 answer
424 views

Starting with .NET 9 I have a Solution containing a Blazor webapp, a couple of .NET 9 class libraries and ONE class library in .NET Standard 2.0 with only 2 entities. When I run the Blazor project ...
SandroRiz's user avatar
  • 1,147
0 votes
0 answers
54 views

We have an old website in (.NET Framework, Web application) here that was created years ago and where we still do ongoing development. Because we do not have enough time to rewrite everything, I want ...
Thierry Verhaegen's user avatar
1 vote
3 answers
103 views

In .NET 8.0 I can do the following to fetch the last boot time of the PC: public static DateTime? GetLastBootTime() { DateTime? dtBootTime = null; SelectQuery query = new SelectQuery(@&...
Smith5727's user avatar
  • 835
0 votes
1 answer
396 views

I want to create a static abstract member in an interface within a .NET Standard 2.1 project. Everything I've read says that this just requires C#11. I set the LangVersion tag in the project file but ...
Little Endian's user avatar
1 vote
1 answer
554 views

I have a single Visual Studio solution with multiple .NET Standard 2.0 C# class library projects: MainSolution ---- ClassLibA ---- ClassLibB ---- CommonClassLib ClassLibA and ClassLibB are both going ...
joeschmoe54321's user avatar
-1 votes
1 answer
50 views

I have a set of trivial DotNet framework assemblies ("dlls") that I wish to convert to dotnet stanard 2.0. By "trivial" I mean that they contain Enum definitions and trivial ...
KLAAP's user avatar
  • 1
1 vote
1 answer
175 views

I am implementing a custom SQL Server implementation of Microsoft.Extensions.Logging.ILogger. The NuGet package states that it is compatible with .NET Standard 2.0, so I added a class library to my ...
Greg Burghardt's user avatar
0 votes
0 answers
107 views

Compatibility Issues with .net framework Nuget code We have an WEB API application which is written in VB.Net and running on .net framework 4.6.1. The goal is to rewrite this into .Net 8 with c# and ...
abhijith r's user avatar
2 votes
1 answer
682 views

I've created a new .NET Standard 2.0 project and added the following class: using System; using System.Xml.Serialization; namespace MyFunnyLib { [Serializable] public class Foo { [...
Tomtom's user avatar
  • 9,428
2 votes
0 answers
671 views

I am using the Microsoft.Graph library and I am getting this exception upon sending an email. The full exception is: System.TypeInitializationException: The type initializer for 'Azure.Core....
Jason Ayer's user avatar
0 votes
0 answers
151 views

I have an issue where I'm trying to compile code with the Microsoft.CodeAnalysis.CSharp package. I wrote a function that compiles the code into an assembly and returns it. This function was originally ...
Gabor Kiss's user avatar
4 votes
2 answers
5k views

I am implementing a SDK capable of registering telemetries in external services and as I want it to be vendor neutral, I am using OpenTelemetry. One of the exporters that I am using is the Azure ...
nolicus's user avatar
  • 43
0 votes
0 answers
75 views

Overall, I'm looking for a clean and safe solution to write an interface/abstract class that ensures a private constructor and public static factory method on its implementation(s), in a context where ...
Josh Brunton's user avatar
2 votes
1 answer
61 views

I have customers in RavenDB and orders associated with these customers. Currently, when attempting to use the GroupBy operation in a document query, I encounter an error in RavenDB stating that it is ...
Bilal lilla's user avatar
0 votes
1 answer
3k views

In a .Net Standard 2.0 project, I am unable to load a reference to System.ServiceModel.Primitives... It says that Primitives doesn't exist on the System.ServiceModel namespace, even though I installed ...
user3773048's user avatar
  • 6,389
1 vote
2 answers
1k views

I'm currently working with two projects: a .NET Standard 2.0 class library and a .NET Framework 4.6.2 console application. In my .NET Standard library, I'm using the System.Diagnostics.EventLog ...
Sahin's user avatar
  • 1,464
0 votes
1 answer
857 views

I am migrating a .NET Framework class library that now needs to be compatible with both .NET Framework and .NET Core applications; the library relies on the System.Windows.Forms namespace. To achieve ...
Oliver's user avatar
  • 997
0 votes
0 answers
424 views

I'm currently working on creating a test application using .NET Standard 2.0 as the target framework. In my current project, my .csproj file looks like this: <Project Sdk="Microsoft.NET.Sdk&...
MS_Dev's user avatar
  • 227
5 votes
1 answer
230 views

My WebApi client project is loosing the WindowsIdentity of the current user when executing SendAsync Method from HttpClient. HttpContext.User returns the application pool identity. Not the ...
user22464113's user avatar
1 vote
0 answers
54 views

I am trying to create a .NET Standard 2.0 NuGet package that standardizes how I consume NLog across .NET Framework and .NET Core applications. I have an nlog.config file that is the standard ...
joeschmoe54321's user avatar
1 vote
0 answers
140 views

I'm very new to software development and am trying to get some web software to run and we can't figure out what's causing this issue. We are getting the following error: CS0012: The type 'System....
D D's user avatar
  • 11

1
2 3 4 5
33