Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
83 views

Debug .NET Core on Ubuntu using SSH with attach to process not hit breakpoint

I write an ASP.NET Core app, copy the source code to Ubuntu and build it, then use dotnet command to run it. Then attach process by SSH in Visual Studio 2022, no errors appear, no information in the ...
oudi's user avatar
  • 677
0 votes
1 answer
41 views

I cannot see my Message Text value in the build output with any verbosity

I am trying to display a simple message in my build output window using the Message element and I am not seeing it in any verbosity setting. I can see the echo statement. <Project Sdk="...
Rod's user avatar
  • 15.5k
0 votes
2 answers
112 views

Windows and WSL2 launch profiles (in launchSettings.json) and multitarget console application (.net472 and .net9.0)

I have a .NET 9.0 console app that I build with Visual Studio 2022 on Windows and it has 2 launch profiles (Win and WSL2): { "profiles": { "Windows": { "...
bairog's user avatar
  • 3,411
0 votes
1 answer
104 views

How do I properly publish a Packaged Blank WinUI 3 application?

I just created a Blank App, Packaged (WinUI 3 in Desktop) project in Visual Studio 2022 with absolutely no added code or external packages that weren't pre-installed and tried to publish it from the ...
Alpha Reuel's user avatar
1 vote
1 answer
37 views

What Is "Loaded by runtime" in the Visual Studio Modules Window, and How Does One Access This?

I am building my first Android application with Uno and am attempting to debug a component within Uno's authentication assembly. Unfortunately I am having trouble accessing its symbol file and ...
Mike-E's user avatar
  • 2,505
1 vote
0 answers
143 views

After debugging, Visual Studio 2022 holding on to .NET Core program's .dll and I can't complete next build unless I exit. How to release the .dll?

I have a Windows Service written in C# for .NET 8.0. I compile the program, run it, attach the debugger and do whatever. When I stop it, either by using Services and selecting Stop or just plain kill ...
Velocedge's user avatar
  • 1,465
0 votes
2 answers
60 views

How to solve "entity type XY has no key defined"?

I am making an application in mvc .net core and when scaffolding the data model I get this error: entity type Users has no key defined, define the key for this entitytype Does Anyone Know How to ...
ffb's user avatar
  • 1
0 votes
0 answers
141 views

Self contained program asking to install dotnet

When trying to run my program on a different computer it does not run and/or asks for .NET installation even if the program was published as self-contained. I've tried to share a program with some ...
Mrextremo1's user avatar
0 votes
1 answer
123 views

Visual Studio reference .NET Core console app from another .NET Core console app

I have a situation where I have a "mother" application written with .NET Core. It will start any number of "child" applications also written with .NET Core. In the mother ...
Dan's user avatar
  • 573
0 votes
0 answers
134 views

Problem in Winforms .NET Core designer and Windows DPI

I get a new computer with high resolution screen, but it causes a problem for me with my old projects. I already have a Windows application I built it with .NET Core, and when I transferred my code to ...
ahmed mohamady's user avatar
2 votes
0 answers
178 views

Microsoft.Powershell.SDK always requiring System.Management.Automation of one version lower

I am trying to build a visual studio extension that needs to make some calls to powershell (.NET 8 c# out-of-process VS2022 Preview). I am adding a nuget package reference to Microsoft.Powershell.SDK ...
Bub's user avatar
  • 104
6 votes
4 answers
3k views

Visual Studio 2022 Community : publish to folder not working

Visual Studio has a Publish feature, and one of the options is to publish to a folder - I use it to determine which files to include in my InnoSetup installer because I have a complex project and it's ...
Gerry's user avatar
  • 1,264
2 votes
2 answers
255 views

.NET Core xUnit Test output messages show up as Warnings on test explorer in VS 2022

On .NET Core 8 with xUnit (Abstractions version 2.0) when we write test output to the TestOutputHelper, every line that's written to the output - see screenshot (1) - counts as a "Warning", ...
Cee McSharpface's user avatar
1 vote
1 answer
79 views

How to install .NET Core console app on Windows to get executed directly from command prompt

I have developed simple .NET Core 8.0 console application (app name: opengate.exe). To run this app, I have to locate the folder first on the command prompt then I can run the opengate.exe. I want ...
Neeraj Kumar Gupta's user avatar
1 vote
1 answer
718 views

Rebuild skip all project in Visual Studio 2022

I do not understand why Visual Studio skips all the projects to do rebuild of the solution. The output console only shows that the projects were skipped. I have tried deleting the bin, obj and .vs ...
rub's user avatar
  • 13

15 30 50 per page
1
2 3 4 5
8