Help With Visual Studio 2019

Robert Rinehart 0 Reputation points
2025-05-29T21:44:39.3966667+00:00

I am not a Widows programmer or a user of VS and I'm looking for some help.

I am looking for someone that is willing to see if they can help me to use/setup VS 2019 to produce an exe or msi

The project is a multi screen GUI (Desktop application)

I do not have any of the VS project files I only have the C# files

There are over 40 C# files and they all have the file name and a second file with the same name with .Designer added. (example below)

AlphaNumericEntry.cs

AlphaNumericEntry.Designer.cs

​Below are some lines from the Program.cs and IQ3,cs files thatI I think might be helpful in recreating the project

Program.cs

using System;

using System.Diagnostics;

using System.Linq;

using System.Runtime.InteropServices;

using System.Windows.Forms;

IQ3.cs

using System;

using System.Collections.Generic;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;

using System.IO.Ports;

using System.Windows.Forms.DataVisualization.Charting;

using System.Runtime.InteropServices;

using System.Threading;

using System.IO;

using System.Timers;

using System.Drawing.Drawing2D;

​The following line is in all the files

namespace SEE_MEDX

Developer technologies | C#
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,851 Reputation points Volunteer Moderator
    2025-05-30T16:32:19.84+00:00

    you first need to determine if the project is .net 4.* or .net core. if it is an older project and there are no .res files, I'd guess 4., but if in the bin folder of a deployed copy, there <progname>.exe.config then its 4..

    with vs create new project of "Windows Form App (.Net Framework) named SEE_MEDX. build the project.

    you will need a list of the dll's in the project so you know what additional dlls where added. for each dll in the deployed project that is not in new project, you will need to google to find the source (typically a nuget). Then use package manager to add the required package.

    now delete the *.cs files in the new project, copy all the old *.cs files to the new project folder. in vs click on add-> existing item, and elect all the *.cs files. then build


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.