ryanjon2040 / Unreal-Binary-Builder

An application designed to create installed Unreal Engine builds (aka Rocket builds) from Unreal Engine GitHub source.
MIT License
657 stars 150 forks source link

'Microsoft.NET.Sdk.WindowsDesktop' specified could not be found #56

Open Abukaff opened 2 years ago

Abukaff commented 2 years ago

C:\Share\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationTool.csproj(61,31): error MSB4236: The SDK 'Microsoft.NET.Sdk.WindowsDesktop' specified could not be found.

i have tried installed almost every SDK on the visual studio installer 6 , 5 , 3.1 visual studio 2019 and 2022 are installed i found Microsoft.NET.Sdk.WindowsDesktop as nuget but i should not be adding it to the project. what could be the issue ?

i can build the engine from visual studio

isaac-mcfadyen commented 2 years ago

I ran into this myself. I solved it with these steps:

The key part of this is the manual .NET Core install. If you install via Visual Studio then Unreal Engine doesn't seem to pick it up; doing the manual install solves this.