Msb8036 версия version windows sdk не найдена

I recently updated visual studio 2015 and now, when i try to build any project it always fails and i get the error Severity Code Description Project File Line Suppression State ...

I recently updated visual studio 2015 and now, when i try to build any project it always fails and i get the error

Severity Code Description Project File Line Suppression State
Error MSB8036 The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the
project property pages or by right-clicking the solution and selecting
«Retarget solution». Proj D:Program Files (x86)visual studio
2017Common7IDEVCVCTargetsPlatformsWin32PlatformToolsetsv141Toolset.targets 34

I retargeted the solution as it said, and the problem persisted, even though the retargetting was completed.I decided to install visual studio 2017 because of this, and, lo and behold, it did the exact same thing.I’m also using windows 7.

What is the problem and how can i fix it?

asked Apr 30, 2017 at 9:06

no one's user avatar

2

I faced this problem too. Re-ran the Visual Studio 2017 Installer, go to ‘Individual Components’ and select Windows 8.1 SDK. Go back to to the project > Right click and Re-target to match the SDK required as shown below:enter image description here

answered May 10, 2017 at 9:40

Felix Too's user avatar

Felix TooFelix Too

11.4k5 gold badges23 silver badges24 bronze badges

3

Another way (worked for 2015) is open «Install/remove programs» (Apps & features), find Visual Studio, select Modify. In opened window, press Modify, check

  • Languages -> Visual C++ -> Common tools for Visual C++
  • Windows and web development -> Tools for universal windows apps -> Tools (1.4.1)
    and Windows 10 SDK ([version])
  • Windows and web development -> Tools for universal windows apps -> Windows 10 SDK ([version])

and install. Then right click on solution -> Re-target and it will compile

answered Dec 6, 2018 at 18:16

Pavel's user avatar

PavelPavel

4,9094 gold badges27 silver badges51 bronze badges

0

I had win10 SDK and I only had to do retarget and then I stopped getting this error. The idea was that the project needs to upgrade its target Windows SDK.

answered Sep 22, 2018 at 11:09

Michael Bahig's user avatar

I realize this post is a few years old, but I just wanted to extend this to anyone still struggling through this issue.

The company I work for still uses VS2015 so in turn I still use VS2015. I recently started working on a RPC application using C++ and found the need to download the Win32 Templates. Like many others I was having this «SDK 8.1 was not found» issue. i took the following corrective actions with no luck.

  • I found the SDK through Micrsoft at the following link
    https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/ as referenced
    above and downloaded it.
  • I located my VS2015 install in Apps & Features and ran the repair.
  • I completely uninstalled my VS2015 and reinstalled it.
  • I attempted to manually point my console app «Executable» and «Include» directories to the C:Program Files (x86)Microsoft SDKsWindows Kits8.1 and C:Program Files (x86)Microsoft SDKsWindowsv8.1AbinNETFX 4.5.1 Tools.

None of the attempts above corrected the issue for me…

I then found this article on social MSDN https://social.msdn.microsoft.com/Forums/office/en-US/5287c51b-46d0-4a79-baad-ddde36af4885/visual-studio-cant-find-windows-81-sdk-when-trying-to-build-vs2015?forum=visualstudiogeneral

Finally what resolved the issue for me was:

  • Uninstalling and reinstalling VS2015.
  • Locating my installed «Windows Software Development Kit for Windows 8.1» and running the repair.
  • Checked my «C:Program Files (x86)Microsoft SDKsWindows Kits8.1» to verify the «DesignTime» folder was in fact there.
  • Opened VS created a Win32 Console application and comiled with no errors or issues

I hope this saves anyone else from almost 3 full days of frustration and loss of productivity.

answered Mar 30, 2020 at 15:33

Reese Jones's user avatar

1

Grep the folder tree’s *.vcxproj files. Replace <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion> with <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> or whatever SDK version you get when you update one of the projects.

answered May 19, 2020 at 5:42

CAD bloke's user avatar

CAD blokeCAD bloke

8,3827 gold badges64 silver badges110 bronze badges

2

For me in the Project Properties Settings General->Target Platform -> Change Windows 8.1 to Windows 10 solved the issue

answered May 5, 2021 at 5:14

Manish Patil's user avatar

1

  • Install the required version of Windows SDK or change the SDK version
    in the project property pages

    or

  • by right-clicking the solution and selecting «Retarget solution»

If you do visual studio guide, you will resolve the problem.

answered Apr 3, 2019 at 3:00

yyater97's user avatar

yyater97yyater97

8796 silver badges5 bronze badges

I encountered this issue while trying to build an npm project. It was failing to install a node-sass package and this was the error it was printing. I solved it by setting my npm proxy correctly so that it could reach the npm repo

answered Oct 30, 2020 at 17:40

pooshla's user avatar

pooshlapooshla

5524 silver badges9 bronze badges

2

  • Remove From My Forums
  • Question

  • Trying to run a service project that references a C++ DLL project.  I am able to build and debug it within the IDE but I cannot seem to be able to build and execute using «dotnet run»

    «dotnet run» attempts to build the project first and initially I had to deal with it trying to reference C:Microsoft.Cpp.Default.props which I was able to resolve by adding the environment variable «VCTargetsPath=C:Program Files (x86)Microsoft
    Visual Studio2017EnterpriseCommon7IDEVCVCTargets»

    Now I am stuck where MSBuild is looking for the defined Windows SDK (v 10.0.17763.0).

    I attempted a repair on VS 2017 which did not fix the problem.

    I then checked to make sure that Windows 10 SDK was included as an option under «Desktop development with C++» as per previous discussions.

    Neither change is fixing my issue.

    It appears that the SDk is in installed under C:Program Files (x86)Windows Kits10…

    Thanks for any and all help!

RRS feed

  • Remove From My Forums
  • Question

  • Hello,

    I have started a project using VS2017 entreprise. I am using windows sdk 10.17134,
    I was able to generate the solution without any problem.

    But now i couldn’t generate the solution i have the MSB8036 Error that says the windows sdk are not found, but I have many windows sdk installed,
    i checked in vs installer and it’s still installed. I try to retarget the sdk butI did not
    find anything.

    Thanks for any and all help!

All replies

  • It can be surprising to see this kind of thing happen with a computer. It is easy to think that computers will just follow instructions but it then surprises us when things go wrong, for apparently no reason.

    The VS installer saying that the SDK is installed doesn’t really mean anything. It is possible that the Windows SDK installer didn’t run properly or it did run but then failed to register itself. It is also possible that something managed to corrupt the
    registry at some point and the Windows 10 SDK’s registration was lost.

    What you should do is look for the Windows 10 SDK in Control Panel -> Programs and Features or Windows Settings -> Apps and Features. If you find it then repair the install through the Windows 10 SDK installer, not the Visual Studio installer. 


    This is a signature. Any samples given are not meant to have error checking or show best practices. They are meant to just illustrate a point. I may also give inefficient code or introduce some problems to discourage copy/paste coding. This is because
    the major point of my posts is to aid in the learning process.

  • Hi MohandTahar,

    Thanks for your feedback.

    According to your description, it seems that the
    VS cannot recognize the installed Window10 SDK versions.Did you make any changes to VS 2017 or OS before this issue happened?

    You can try the following steps as below to troubleshoot
    this issue:

        1. do a repair in vs installer

        2. reinstall the VS 2017 enterprise
    with SDK 10.17134 and remove other windows                  10 SDK versions from individual component list

    Any feedback will be expected.

    Best Regards,

    Perry


    MSDN Community Support Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any compliments
    or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    • Edited by

      Tuesday, July 9, 2019 7:59 AM

    • Proposed as answer by
      Perry Qian-MSFTMicrosoft contingent staff
      Friday, July 12, 2019 9:17 AM

  • Hi MohandTahar,

    Did you solve your problem? If the issue not solved,please feel free to let us know. 

    If the reply is helpful to solve your issue, please consider marking as an answer so that can help other community members search similar problems.

    Best Regards,

    Perry


    MSDN Community Support Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any compliments
    or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

RRS feed

  • Remove From My Forums
  • Question

  • Hello,

    I have started a project using VS2017 entreprise. I am using windows sdk 10.17134,
    I was able to generate the solution without any problem.

    But now i couldn’t generate the solution i have the MSB8036 Error that says the windows sdk are not found, but I have many windows sdk installed,
    i checked in vs installer and it’s still installed. I try to retarget the sdk butI did not
    find anything.

    Thanks for any and all help!

All replies

  • It can be surprising to see this kind of thing happen with a computer. It is easy to think that computers will just follow instructions but it then surprises us when things go wrong, for apparently no reason.

    The VS installer saying that the SDK is installed doesn’t really mean anything. It is possible that the Windows SDK installer didn’t run properly or it did run but then failed to register itself. It is also possible that something managed to corrupt the
    registry at some point and the Windows 10 SDK’s registration was lost.

    What you should do is look for the Windows 10 SDK in Control Panel -> Programs and Features or Windows Settings -> Apps and Features. If you find it then repair the install through the Windows 10 SDK installer, not the Visual Studio installer. 


    This is a signature. Any samples given are not meant to have error checking or show best practices. They are meant to just illustrate a point. I may also give inefficient code or introduce some problems to discourage copy/paste coding. This is because
    the major point of my posts is to aid in the learning process.

  • Hi MohandTahar,

    Thanks for your feedback.

    According to your description, it seems that the
    VS cannot recognize the installed Window10 SDK versions.Did you make any changes to VS 2017 or OS before this issue happened?

    You can try the following steps as below to troubleshoot
    this issue:

        1. do a repair in vs installer

        2. reinstall the VS 2017 enterprise
    with SDK 10.17134 and remove other windows                  10 SDK versions from individual component list

    Any feedback will be expected.

    Best Regards,

    Perry


    MSDN Community Support Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any compliments
    or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    • Edited by

      Tuesday, July 9, 2019 7:59 AM

    • Proposed as answer by
      Perry Qian-MSFTMicrosoft contingent staff
      Friday, July 12, 2019 9:17 AM

  • Hi MohandTahar,

    Did you solve your problem? If the issue not solved,please feel free to let us know. 

    If the reply is helpful to solve your issue, please consider marking as an answer so that can help other community members search similar problems.

    Best Regards,

    Perry


    MSDN Community Support Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any compliments
    or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

Содержание

  1. MSB8036: The Windows SDK ‘version’ was not found
  2. Windows SDK version specified in project
  3. Install or reinstall the Windows SDK
  4. Как исправить ошибку «Windows SDK версии 8.1» не был найден?
  5. Решение
  6. Другие решения
  7. How to fix the error «Windows SDK version 8.1» was not found?
  8. 9 Answers 9
  9. Как исправить ошибку «Windows SDK версии 8.1» не найден?
  10. Msb8036 версия version windows sdk не найдена
  11. Asked by:
  12. Question
  13. All replies

MSB8036: The Windows SDK ‘version’ was not found

This error occurs when the Windows SDK requested by your project could not be found where Visual Studio or MSBuild expects to find it.

Windows SDK version specified in project

If this is a project you’re working with in Visual Studio, the first thing to check is that the project targets the correct version of the Windows SDK. Right-click on the project node, and choose Properties or press Alt+Enter. The Property Pages dialog for your project appears. Under Configuration Properties > General, look for Windows SDK Version. For example, it might be 10 (latest installed version), which selects the most recent version if more than one version is installed. If you select the dropdown, you can see specific versions that Visual Studio has detected. Make sure that the version your project needs is selected.

If you’re using MSBuild directly, not with Visual Studio, you should check the places where the WindowsTargetPlatformVersion property might be set. It’s usually in the project file, but it could also be in an imported file or in a global settings file such as Directory.build.props, which can be located anywhere in the parent path to your project, up to the root of the drive. The default setting in a newly created project file looks like this:

Also, check build scripts or CI jobs that invoke MSBuild to make sure that the command line is not passing an invalid value for this property.

Install or reinstall the Windows SDK

If that doesn’t resolve the issue, install or reinstall the Windows SDK version your project needs. You can install specific versions of the Windows SDK by using the Visual Studio Installer. Select the version in Individual Components. You can also download the Windows SDK from the Windows Dev Center.

Источник

Как исправить ошибку «Windows SDK версии 8.1» не был найден?

Я недавно обновил Visual Studio 2015 и теперь, когда я пытаюсь построить любой проект всегда терпит неудачу, и я получаю ошибку

Код серьезности Описание Состояние подавления строки файла проекта
Ошибка MSB8036 Windows SDK версии 8.1 не найден. Установите требуемую версию Windows SDK или измените версию SDK в
страницы свойств проекта или щелкнув правой кнопкой мыши по решению и выбрав
«Ретаргетическое решение». Proj D: Program Files (x86) визуальная студия
2017 Common7 IDE VC VCTargets Platforms Win32 PlatformToolsets v141 Toolset.targets 34

Я переназначил решение, как оно было сказано, и проблема не исчезла, даже несмотря на то, что ретаргетинг был завершен. Я решил установить Visual Studio 2017 из-за этого, и, о чудо, он сделал то же самое. Я также использую Windows 7.

В чем проблема и как я могу это исправить?

Решение

Другие решения

У меня был win10 SDK, и мне оставалось только выполнить ретаргетинг, а затем я перестал получать эту ошибку. Идея заключалась в том, что проекту необходимо обновить целевой Windows SDK.

Еще один способ (работал на 2015 год) — открыть «Установка / удаление программ» (Apps & функции), найдите Visual Studio, выберите Изменить. В открывшемся окне нажмите Modify, проверьте

Я установил версию 8.1 SDK:

Он использовал 1 ГБ (немного больше) при установке.

Источник

How to fix the error «Windows SDK version 8.1» was not found?

I recently updated visual studio 2015 and now, when i try to build any project it always fails and i get the error

Severity Code Description Project File Line Suppression State Error MSB8036 The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting «Retarget solution». Proj D:Program Files (x86)visual studio 2017Common7IDEVCVCTargetsPlatformsWin32PlatformToolsetsv141Toolset.targets 34

I retargeted the solution as it said, and the problem persisted, even though the retargetting was completed.I decided to install visual studio 2017 because of this, and, lo and behold, it did the exact same thing.I’m also using windows 7.

What is the problem and how can i fix it?

9 Answers 9

I installed the 8.1 SDK’s version:

It used 1GB (a little more) in the installation.

Update October, 9. There’s a https error: the sdksetup link is https://go.microsoft.com/fwlink/p/?LinkId=323507

«Save link as» should help.

hNNb8

Another way (worked for 2015) is open «Install/remove programs» (Apps & features), find Visual Studio, select Modify. In opened window, press Modify, check

I had win10 SDK and I only had to do retarget and then I stopped getting this error. The idea was that the project needs to upgrade its target Windows SDK.

I realize this post is a few years old, but I just wanted to extend this to anyone still struggling through this issue.

The company I work for still uses VS2015 so in turn I still use VS2015. I recently started working on a RPC application using C++ and found the need to download the Win32 Templates. Like many others I was having this «SDK 8.1 was not found» issue. i took the following corrective actions with no luck.

None of the attempts above corrected the issue for me.

Finally what resolved the issue for me was:

I hope this saves anyone else from almost 3 full days of frustration and loss of productivity.

Источник

Как исправить ошибку «Windows SDK версии 8.1» не найден?

Я недавно обновил Visual Studio 2015, и теперь, когда я пытаюсь создать любой проект, он всегда терпит неудачу, и я получаю сообщение об ошибке

Код серьезности Описание Ошибка состояния подавления строки файла проекта MSB8036 Не найден Windows SDK версии 8.1. Установите требуемую версию Windows SDK или измените версию SDK на страницах свойств проекта или щелкнув решение правой кнопкой мыши и выбрав «Перенацелить решение». Проект D: Program Files (x86) Visual Studio 2017 Common7 IDE VC VCTargets Platforms Win32 PlatformToolsets v141 Toolset.targets 34

Я перенацелил решение, как было сказано, и проблема осталась, даже если перенацеливание было завершено. Я решил установить Visual Studio 2017 из-за этого, и, о чудо, она сделала то же самое. Я также использую окна 7.

В чем проблема и как ее исправить?

Я установил версию 8.1 SDK:

При установке использовалось 1 ГБ (чуть больше).

Обновление от 9 октября. Ошибка https: ссылка sdksetup https://go.microsoft.com/fwlink/p/?LinkId=323507

«Сохранить ссылку как» должно помочь.

У меня был Win10 SDK, и мне нужно было только перенацелить, а затем я перестал получать эту ошибку. Идея заключалась в том, что проекту необходимо обновить целевой Windows SDK.

Я понимаю, что этому посту несколько лет, но я просто хотел распространить его на всех, кто все еще борется с этой проблемой.

Компания, в которой я работаю, по-прежнему использует VS2015, поэтому я, в свою очередь, все еще использую VS2015. Недавно я начал работать над приложением RPC с использованием C ++ и обнаружил необходимость загрузки шаблонов Win32. Как и у многих других, у меня была проблема «SDK 8.1 не найден». Я безуспешно предпринял следующие корректирующие действия.

Наконец, что решило проблему для меня:

Я надеюсь, что это избавит кого-то еще от почти трех полных дней разочарований и потери производительности.

Источник

Msb8036 версия version windows sdk не найдена

HeaderFooterSprite

HeaderFooterSprite

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

trans

Asked by:

trans

Question

trans

trans

My visual studio is not recognising Windows SDK version 8.1. I have been following different workarounds I’ve seen online but no luck. always same error:

C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V140Platformsx64PlatformToolsetsv140Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting «Retarget solution».

quite frustrated now as there is no progress with this IDE and any change takes ages.

trans

trans

Thank you for your post.

The Win 8.1 SDK is not included in VS 2015 Update, please install it separately:

If there is any install problem, please feel free to tell us.

Источник

Я недавно обновил Visual Studio 2015 и теперь, когда я пытаюсь построить любой проект всегда терпит неудачу, и я получаю ошибку

Код серьезности Описание Состояние подавления строки файла проекта
Ошибка MSB8036 Windows SDK версии 8.1 не найден. Установите требуемую версию Windows SDK или измените версию SDK в
страницы свойств проекта или щелкнув правой кнопкой мыши по решению и выбрав
«Ретаргетическое решение». Proj D: Program Files (x86) визуальная студия
2017 Common7 IDE VC VCTargets Platforms Win32 PlatformToolsets v141 Toolset.targets 34

Я переназначил решение, как оно было сказано, и проблема не исчезла, даже несмотря на то, что ретаргетинг был завершен. Я решил установить Visual Studio 2017 из-за этого, и, о чудо, он сделал то же самое. Я также использую Windows 7.

В чем проблема и как я могу это исправить?

53

Решение

Я тоже столкнулся с этой проблемой. Перезапустил Установщик Visual Studio 2017, идти к «Отдельные компоненты» и выберите Windows 8.1 SDK, Вернитесь к проекту> Щелкните правой кнопкой мыши и измените цель, чтобы соответствовать SDK, как показано ниже:введите описание изображения здесь

86

Другие решения

У меня был win10 SDK, и мне оставалось только выполнить ретаргетинг, а затем я перестал получать эту ошибку. Идея заключалась в том, что проекту необходимо обновить целевой Windows SDK.

0

Еще один способ (работал на 2015 год) — открыть «Установка / удаление программ» (Apps & функции), найдите Visual Studio, выберите Изменить. В открывшемся окне нажмите Modify, проверьте

  • Languages -> Visual C++ -> Common tools for Visual C++
  • Windows and web development -> Tools for universal windows apps -> Tools (1.4.1)
    and Windows 10 SDK ([version])
  • Windows and web development -> Tools for universal windows apps -> Windows 10 SDK ([version])

и установить. Затем щелкните правой кнопкой мыши на решении -> Переориентировать, и оно будет скомпилировано

0

Понравилась статья? Поделить с друзьями:
  • Msascuil в автозагрузке windows 8 что это
  • Ms sans serif кириллица windows 10 скачать
  • Ms reset windows update agent tool
  • Ms office для windows server 2012 r2
  • Ms office для windows server 2008