Questions tagged [visual-studio]
Visual Studio is an integrated development environment from Microsoft for developing applications on Windows.
122 questions
2
votes
0
answers
280
views
Using Chocolaty to install Visual Studio 2022 Build Tools on Windows using the command line fails
Problem statement
I need an automated way of installing Visual Studio 2022 Build Tools on any version of Windows Server (on an EC2 instance). The intention is to use the server as a Gitlab Runner (...
-1
votes
1
answer
254
views
How to connect to IISExpress launched using Visual Studio 2022 through HTTPS using IP
When I created a web site project in Visual Studio and ran it, it automatically installed a self signed certificate and I connect to it using https://localhost:44375
However, I need to use the IP now, ...
0
votes
1
answer
627
views
Visual Studio debugger unable to attach to process
I'm debugging a .NET 8 website remotely using SSH and attaching to a process.
I'm able to SSH to the webserver and view the dotnet process, however when trying to attach, it fails with the below ...
0
votes
2
answers
310
views
How to copy website files to IIS folder if some files are in use?
I have a simple setup for my website. I simply deploy from Visual Studio to a folder. Manually copy the files to the server. And then copy the files to the actual IIS website folder at a scheduled ...
0
votes
1
answer
192
views
Can I deploy an application created by Visual Studio 2022 Community edition on domain PCs without licensing Issues? [duplicate]
I am developing an application using Microsoft Visual Studio 2022 Community edition on my home computer, which is not connected to a domain.
If I compile and extract the .exe (C# Userform) file for ...
0
votes
1
answer
64
views
Trouble Locating Registry Key from Process monitor for Visual Studio Express
I have been using Process Monitor (Procmon) to track changes in the registry when I set up auto recovery and a few text editor settings in Visual Studio Express. However, I'm having trouble locating ...
0
votes
1
answer
2k
views
Eliminate SSH timeouts between macOS and Ubuntu VM
I'm using ssh and Microsoft VS Code on my Mac (up to date Ventura) to connect to my Ubuntu VM (up to date 22.04). However, I keep getting inactivity timeouts (I believe this is from the macOS side):
...
0
votes
1
answer
418
views
VSCode-Docker Not Invoking "CMD"
TL;DR Image built by VSCode only executes the CMD command when I press the Run button in the Docker Desktop UI.
Hello Folks,
I'm playing around with a Drools image along with Docker Desktop and VSCode....
0
votes
1
answer
1k
views
IIS Express webapps don't show up in the system tray gui when I launch an asp.net core app from VS 2022 IDE
I'm using Windows Server 2019 and would like to be able to stop or restart the app on iisexpress server from system tray gui in case there are any glitches, how can I restart the app with or without ...
0
votes
0
answers
515
views
Set DNS Server on Zone using C#
I would like to set the primary ns server on a domain I am creating on Windows Server programmatically:
ManagementBaseObject outParams = zoneObj.InvokeMethod("CreateZone", inParams, null);...
0
votes
1
answer
56
views
Managing code editors and its code from Ubuntu
I created a web server which can run code for 4 web apps being developed, based on Ubuntu 20.04. At first, Github was going to be the way to go for handling code between the coders, as it can be ...
3
votes
1
answer
17k
views
How to install vscode extensions to all users?
when i install vscode extension, it is getting copied to c:\users.vscode\extensions.
How to make it available to all users in the machine.
Copyig to c:\programdata.vscode\extensions didn't work
4
votes
1
answer
2k
views
AWS EC2 SSH connection disconnects after some times and then starts throwing connection timed out error on every SSH connection request
I've created an ec2 instance and a ssh-rsa keypair. I then try to connect with the instance using visual studio code remote-ssh extension. In the first try, it connects successfully. I can access ...
1
vote
0
answers
641
views
How to update the license of Visual studio automatically?
When we manually open the visiual studio and from help menu and click on register, then the license is getting updated.But, we are using visual studio for automation with CI tools like jenkins.Where, ...
-2
votes
1
answer
458
views
new user does not recognize command `code`
I have Windows Terminal running bash in Ubuntu and had been working under root by default. I had isntalled the Remote wsl extension and successfuly opened vs code with code . on several occasions. ...