Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
40 views

The type or namespace name 'iOSBackgroundService' could not be found

Error Message : The type or namespace name 'iOSBackgroundService' could not be found I have created new class named iOSBackgroundService in Platform -> iOS. But I cannot inject it in the maui ...
Galaxylokka's user avatar
0 votes
1 answer
78 views

Public static class and methods not found in NuGet package

I'm running into an odd issue where I've developed a NuGet package. Because of the architecture of the legacy software I'm trying to write new functionality for, this is in .NET Framework 4.6.1 (I ...
Steven's user avatar
  • 300
0 votes
1 answer
42 views

How to create a thread and pass (this) inside a member function of a managed class without using Lamda in c++

I am using windows winform and i have another ref class detector with Detector.h and Detector.cpp file. In Detector.cpp file in the member function I want to create a thread which can update the ...
TheUser's user avatar
0 votes
1 answer
43 views

"Cannot load a reference assembly for execution. BadImageFormatException: Could not load file or assembly 'netstandard' or one of its dependencies"

I am getting the following error in my Visual studio 2019, ASP.NET web application project. "Cannot load a reference assembly for execution. BadImageFormatException: Could not load file or ...
Diana4's user avatar
  • 53
0 votes
0 answers
40 views

.Net App has reference but is not being recognized in class

Image showing that System.Net is in references This is an older .net app running 4.5.1 I added the System.Net reference. Closed/Restarted Visual Studio. Unloaded/Loaded project. Cleaned/Built/Rebuilt ...
Jonathan Barnett's user avatar
0 votes
0 answers
74 views

How to automatically update changes from other project reference to current project C# - VS Code

I am using Visual Studio Code for development of .NET Core web API project. I have several class libraries in my project. i am trying to add reference of project library using following command dotnet ...
Ghanshyam Mirani's user avatar
0 votes
0 answers
32 views

Dotnet command adds reference path instead of reference name

I'm using the "dotnet add reference" command to add a reference to my Visual Studio project, but it's adding the path of the reference instead of the reference name. How can I make it add ...
RD Seeker's user avatar
0 votes
0 answers
66 views

How to add float.IsNormal to the C# Visual Studio project

I have C# visual studio project .net Framework 4.8. I know that float has IsNormal() method but I can't find it. I tried add references but it doesn't help. How I can add IsNormal() to my project?
eClick_studio's user avatar
0 votes
0 answers
98 views

WPF - Failed to resolve assembly

Currently I'm trying to resolve an issue with assembly, which is imported from my own custom package and this error causes displaying black window (Which is displayed correctly in the Visualizer ...
Lukman's user avatar
  • 79
0 votes
0 answers
110 views

Not all public classes available in NuGet package

When I use the dotnet pack -c Release command to create a NuGet package and reference it in another project, not all my classes are available. However when I create it using the Debug flag instead of ...
Theodor349's user avatar
1 vote
0 answers
607 views

The type or namespace 'log4net' could not be found (are you missing a using directive or assembly reference ?)

Find the steps i followed , I installed the log4net from Nuget manager.(LOG4NET version 2.0.15) Added the log4net.config file and defined the configurations(Parameter, layout, appender etc) Am ...
Ramya B S's user avatar
0 votes
1 answer
406 views

Azure build pipeline: Error ASPPARSE: Could not load file or assembly 'System.web.mobile' or one of its dependencies

This is an old application and I have been tasked with building an azure pipeline. We are using VS 2019 and upgraded the application to .net framework 4.6.1. Build pipeline is failing with this error: ...
Patrick95's user avatar
  • 136
0 votes
1 answer
94 views

C# - Object without '= new Kid()'

Goodmorning. How is it possible at the line 28 and 29 the kd has the ability to use the property and the function without using 'Kid kd = new Kid();' at the line 24. Normally i get the error at the ...
gianestras's user avatar
0 votes
2 answers
41 views

Updating array element by reassigning it to different variable?

First of all, sorry if this was asked before, but I simply could not find anything related to it. string anElement = "World"; string[] col = new string[2] { "Hello", anElement }; ...
faridOP's user avatar
-1 votes
1 answer
129 views

JSON.NET - Merge and ContainsKey don't work in v11.0.1 -> v13.0.2

I am unable to get my VS .NET project to work with these two JSON.NET functions, other functions within JSON.NET work fine just these two don't exist (also don't appear in object browser). Error ...
jakedrw's user avatar

15 30 50 per page
1
2 3 4 5
40