Closed DragonIndustries23 closed 8 months ago
Comment out the old MDK1 bootstrapper to avoid build errors. That should not be necessary, indicating that you have a preexisting problem.
Manually go into the NuGet package manager and install MS.Build and MS.Build.Framework (latest version 17.9.5, in DLL it is the 15.1.0.0 version which I have checked with ILSpy but error persists anyway) Don't do that.
MDK uses a system to find the existing msbuild on your system. MDK2 runs on .net 8. Installing .NET 8 SDK will likely have given you the appropriate msbuild.
I thought it would run just fine with whatever MSBuild you have installed... as long as it's compatible with the ingame script project
Manually go into the NuGet package manager and install MS.Build and MS.Build.Framework (latest version 17.9.5, in DLL it is the 15.1.0.0 version which I have checked with ILSpy but error persists anyway) Don't do that.
MDK uses a system to find the existing msbuild on your system. MDK2 runs on .net 8. Installing .NET 8 SDK will likely have given you the appropriate msbuild.
Note: solved the bootstrapper issue, that was my bad. Actual reply: Just made a fresh MDK1 Ingame script like usual, added only the MDK2 Pb Packager and touched nothing else, still have the SDK for .NET 8 and same issue. To note I am up for grabs on discord if you got time for it so that we don't explode the comment section with replies.
Had to re-install VS and re-install all of my .NET packages, worked afterwards.
Here is the error to be exact:
To reproduce:
To note the first time I tried it prompted me to install .NET 8 SDK which I did afterwards.
I may be doing things wrong however I can't really tell, I will try to respond ASAP if this issue gets replied to.