Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When do you need the Windows SDK for MSBuild?

Tags:

I'm setting up my first build server for .NET 3.5 projects, and found this interesting line in the MSBuild log after a successful build of a simple test application:

Could not locate the expected version of the Microsoft Windows SDK. Looked for a location specified in the "InstallationFolder" value of the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A". If your build process does not need the SDK then this can be ignored.

When exactly would your build process need the SDK? I don't want to install it on the build server if it's not going to be necessary, but I also don't want to discover that I need it by having a build mysteriously break.

At the moment, I only have .NET Framework 3.5 SP1 installed on the server.

like image 234
Jacob Avatar asked Jan 30 '09 09:01

Jacob


People also ask

What is Windows SDK needed for?

The Windows App SDK provides a unified set of APIs and tools that are decoupled from the OS and released to developers via NuGet packages. These APIs and tools can be used in a consistent way by any desktop app on Windows 11 and downlevel to Windows 10, version 1809.

Do I need Windows 10 SDK?

The windows SDK is necessary if you intend to develop windows applications (with GUI, low-level graphics, windows filesystem specific I/O, tweaking registry settings, developing windows services or device drivers, etc etc).

Is Windows 10 SDK necessary in Visual Studio?

Visual StudioYou must have the Windows 10 SDK installed, version 10.0. 15063 or later.

Does .NET SDK include MSBuild?

MSBuild versions with Visual Studio, but is also included in the . NET SDK. The SDK has a minimum version of MSBuild and Visual Studio that it works with, and it won't load in a version of Visual Studio that's older than that minimum version.


2 Answers

The SDK has a couple of additional tools that are **sometimes** used, depending on the contents of your project - such as (IIRC) the reports compiler. But for most things, no: you don't need the SDK. I installed in on my build server just to get clean output ;-p

like image 64
Marc Gravell Avatar answered Sep 30 '22 19:09

Marc Gravell


If you need to compile C or C++ code - to the best of my knowledge.

like image 40
Simon Buchan Avatar answered Sep 30 '22 17:09

Simon Buchan