SwitchExplorer icon indicating copy to clipboard operation
SwitchExplorer copied to clipboard

Unable to compile

Open Pysis868 opened this issue 5 years ago • 0 comments

Trying to compile and run in Visual Studio 2019 16.8.3 with .NET Framework 4.8.03761 if that matters. At commit hash 71f836ad700bb851fd09bec064cd33efa7e3b40f, date Mon Jan 28 11:53:06 2019 +1100.

It won't build because a lot of the global library references aren't found, with error messages like this one:

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0246	The type or namespace name 'VGAudio' could not be found (are you missing a using directive or an assembly reference?)	SwitchExplorer	D:\JStuff\Programming\Consoles\Switch\SwitchExplorer\UI.cs	12	Active

I had to save the project as an .sln file before it would let me 'manage' NuGet packages. Once in that window, I saw I already had the several ones that are required, installed, but I went ahead an updated them too. This seems to update the references in the project, so maybe there was another way to fix those errors.

Now I'm just left with 2 of those same messages for VGAudio and IAudioFormat, probably a part of the former. I don't use Visual Studio a lot so something I'm probably missing here. I wanted to just link some libraries since it seemed they were not detected automatically but that I had them already, but not sure how to do that.

I just tried migrating the package.config file to their reference structure whatever it was called and it seems to work now, probably the only thing I needed to do since the beginning, maybe just for my version of VS?

I can still post the issue in case the steps are not clear for others, or also ask some instructions be added to the readme, including environment details.

Pysis868 avatar Feb 01 '21 22:02 Pysis868