It doesn't build with msbuild
esbjornlarsen opened this issue · 2 comments
error CS0246: The type or namespace name 'ObsWebSocket' could not be found (are you missing a usi
ng directive or an assembly reference?)
Pulled yesterday, works perfectly. Have you called the restore target?
This is from Harold Dickerman, I haven't tested these instructions:
-
Here are the build instructions for PowerPointToOBSSceneSwitcher:
https://visualstudio.microsoft.com/thank-you-downloading-visual-studio-exp/?sku=Community&rel=16- .NET Development (Core only, No Optional requirements)
- Individual Components: C# and Visual Basic Roslyn compiler, MSBUILD
-
Ensure NuGet.org is listed in Visual Studio as a package source, per fix: https://stackoverflow.com/questions/52376567/how-to-resolve-unable-to-find-package-nuget-error
-
Download and install: https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-3.1.14-windows-x64-installer
-
Download and install: https://github.com/Palakis/obs-websocket/releases/download/4.9.0/obs-websocket-4.9.0-Windows-Installer.exe
-
Download and unzip https://github.com/shanselman/PowerPointToOBSSceneSwitcher/archive/refs/heads/main.zip
-
Double click on PowerPointToOBSSceneSwitcher.sln should open Visual Studio
-
Select Build > Build PowerPointToOBSSceneSwitcher.sln