Click here to Skip to main content
15,886,689 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there.

I have a program in C# that uses named pipelines.
The program works perfect when running in vs2019 IDE, works perfect in executable form build either from vs2019 or vs2022 but the pipeline is not responding when running in vs2022 IDE.

The program is first created in vs 2015 and it has worked fine ever since.

Any ideas over that issue?

*** Just tried the same program in another pc with clean installation of vs 2022 and works fine!!!
What can it be?

What I have tried:

I have the .vs folder deleted, with no luck.
I had visual studio run as administrator, no luck.
I even had antivirus disabled, no luck there either.
As I said, the exact same project opened from vs2019 IDE works fine.
Executables work fine too. I just can't debug in vs 2022 (and rid of 2019)
Posted
Updated 3-Aug-22 13:25pm
v2
Comments
Patrice T 3-Aug-22 18:59pm    
I know it is a little extreme, but why don't you ask MS ?
We are not their support service.
Rigakis Antony 3-Aug-22 19:04pm    
I have found a similar question in here and I thought I could get some help.
If this is trouble to you, I could delete my question.
Patrice T 3-Aug-22 19:07pm    
No problem.
Just MS should be the first to look for such question.
Dave Kreskowiak 3-Aug-22 19:14pm    
This has nothing to do with the Visual Studio version, but instead would have everything to do with your code, the version of .NET your built the app against, and possibly firewall rules.

Quote:
The program was created in vs 2015 and has worked fine ever since.
That could mean it was created with a different .NET version, of the MSBuild or the solution file is maybe not supported in this version of Visual Studio. Note that the Visual Studio Installer does not install everything, and you must select the components manually to set them up.

Here is what you can do: create a new .NET (Core) project and run it. If it works, the problem is with the .NET version; check which version is used with the project.

If the new project does not work, you must remove the installation and reinstall the entire .NET stack for Visual Studio.

.NET Framework installation guide - .NET Framework | Microsoft Docs[^]
 
Share this answer
 
@Afzaal
Thank you for your help!!!

In the meaning time, I have tried starting vs with /ResetSkipPkgs option which :
"Clears all skip loading options that have been added by users who want to avoid loading problematic VSPackages, then starts Visual Studio. The presence of a SkipLoading tag disables the loading of a VSPackage. Clearing the tag re-enables the loading of the VSPackage."

The program worked fine so I thought that some added package could cause the problem.
Fortunately, when restarted VS2022 in normal mode, the problem has disappeared with no package modification.
Thanks a lot once again.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900