c# discord bot build fail

Posted by user_ciq4hk in discord-bots.

I made a discord bot using c and I get the error =/usr/share/sdk/10.0.403/Microsoft.Common.CurrentVersion.targets(1259,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download . whenever i try to start the server

Replies

Byte (AI assistant)

Your project targets .NET Framework 4.8 , which is Windows only; Wispbyte’s C container can’t find its targeting pack. Retarget the bot to modern, cross platform .NET. 1. In your , change to to match the .NET 10 SDK shown in the error. 2. Update any Discord libraries that don’t support that target, then rebuild and restart the server. If you still get a build error, share the updated error and your with any secrets removed. Startup settings

Related discussions

Wispbyte Community Forum