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

All Questions

Tagged with
0 votes
1 answer
28 views

msbuild error: AssemblyRef does not contain a definition for 'Configuration'

I am 'migrating' a visual studio build to a batch script, I have a one big project that has many dependencies, i build my project with msbuild.exe using windows batch script, the main project (client) ...
Shachar297's user avatar
0 votes
1 answer
63 views

Create a control and set in next to another control

Here is the requirement: set a button aside a textbox. So that the button will be located in the right of the textbox. At first I think it's easy because I can use UserControl, some drop and drag can ...
Phuong Nguyen's user avatar
-1 votes
0 answers
94 views

How to handle chrome controlled by automated test software in Visual Studio(.net framework) Language C#

How to handle Chrome controlled by automated test software in Visual Studio(.net framework) Language C# When I run automated test cases, chrome has a infobar stating - chrome controlled by automated ...
Pavan patil's user avatar
-1 votes
2 answers
57 views

Add space after specified data using regular expression in Visual Studio

As we all know, Visual Studio has very powerful text editing functions. Now there are hundreds of thousands of data in my txt file. I made a wrong operation, which caused some problems with the data. ...
Wenbin Geng's user avatar
  • 3,443
0 votes
1 answer
51 views

iis express .svc cannot access the file. It gives a file not found error

In the .net project, I get the svc file not found error on localhost. I made IIS settings. http activation vs. I also reviewed my web.config file but nothing worked. When the service runs, it gives ...
Büşra Güler's user avatar
0 votes
0 answers
15 views

Can't open forms from sln project from GitLab

I had to restore a sln project from GitLab and i can't open some forms in the Designer. I had several types of error: The connection to the server has been lost (in a popup message box) Object not ...
8oris's user avatar
  • 383
-1 votes
0 answers
125 views

How to Target Both .NET Framework 4.8 and .NET 8.0 in a Single Project?

I have a project currently targeting .NET Framework 4.8, and I want to extend its compatibility to also target .NET 8.0. Is there a way to set up my project so that it can be built and run on both ...
vichondrias maquilang's user avatar
-2 votes
1 answer
87 views

Can't resolve System.Windows.Control.Image from being created instead of System.Drawing.Image

I'm working on moving a C# program into a WPF application and in order to export files from records I need to use the following code: // Construct _imgfiles from the records string _imgfile = ...
Esai's user avatar
  • 1
0 votes
2 answers
54 views

Why does Fine Code Coverage tell me the portion of tests being run instead of portion of source code being tested?

I am new to unit testing C# in Visual Studio. I want to get the coverage report but I don't have Visual Studio Enterprise so I installed Fine Code Coverage. What I don't understand is it seems like ...
Ricky Mo's user avatar
  • 7,328
0 votes
0 answers
27 views

Androidx nuget package doesn't work when creating a .NET android app with visual studio

No matter what I try, I can't get androidx to work in my .NET android app project in visual studio. I have tried different controls and none work. I wish to use the recycler view. I get different ...
Tobias Lenander's user avatar
0 votes
0 answers
59 views

Form size is not responsive with any screens

I've been trying to make my form responsive that fit in any screen. This form attached to a panel. I have marked that panel in red box in this image. This form inside the panel(showed in red box) is ...
udd_ish's user avatar
  • 97
0 votes
1 answer
89 views

How to tell Visual Studio to stop showing me a vulnerability message?

One of the later versions of Visual Studio started showing vulnerability messages. I looked at the issue - high CPU in certain cases. It doesn't affect my use case. How do I get Visual Studio to ...
AngryHacker's user avatar
  • 61.1k
1 vote
0 answers
70 views

Trouble with Visual Studio test explorer in C# solution with multiple .NET versions

We have run into some trouble with unit tests for one of our products. I will give some context. We develop plug-ins for Autodesk products, which have started to use .NET 8 as of this year. Because we ...
Steve_CAD's user avatar
0 votes
1 answer
65 views

How do you debug a .net project in Docker that has been set up to build without a Dockerfile

I have a simple .net 8 console app that I can build and create a container from using the following command. dotnet publish /t:PublishContainer I have it configured to not need a Dockerfile to build ...
runxc1 Bret Ferrier's user avatar
1 vote
0 answers
21 views

dllnotfoundexception when trying to use native with android .net 8.0

I was trying to build a simple solution in android .net 8.0 using ndk. but the .so file has not referenced getting an exception DLLNotFoundException. Eventhough all .so files are placed in lib folder ...
Gurucharan Vijayakumar's user avatar

15 30 50 per page
1
2 3 4 5
703