How to copy a project's executables from one machine to another

Peter Toye 191 Reputation points
2023-06-18T12:14:55.71+00:00

I developed a VB project using VS 2022 and .NET7. I want to use the resulting executable on another machine, but I don't want to have to install VS on it. Just copying the Release folder across doesn't seem to work and I suspect that it's because .NET7 isn't installed on the target machine. Te OS is Windows 10 on both machines.

Can someone please help me 'deploy' my project?

I posted this same question (with similar wording) a couple of days ago, and it was rejected, but the moderator didn't say why, I cannot see how this violates the forum's guidelines. Maybe mods could let users know why they don't like users' questions. Or is AI taking control?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,066 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,375 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,768 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.