StilSoft / CasparCG.AmcpClient

.NET library for communication with CasparCG Server: https://github.com/CasparCG/Server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

building DLL

JacobBothell opened this issue · comments

I am trying to build this inside of VS 2022 community version. I am trying to build the class into a DLL but I am getting an error stating:

Severity Code Description Project File Line Suppression State
Error MSB3644 The reference assemblies for .NETFramework,Version=v4.5 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks CasparCg.AmcpClient C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 1217

I have the 4.5 SDK installed in the correct place for VS... I think. Does anyone know what my issue might be?

I got it. Since I had the SDK already installed I navigated to the directory with the .sln and did a dotnet build ./CasparCg.AmcpClient.sln and all was good to go.
Also had to add the .dll to my new project and using StilSoft.Communicaiton.Tcp; and all was gtg