Solved Visual Studio Error Code 15605: Windows 10 SDK ( 10.0.10240 )
Endlich gelöst. 4 Tage habe ich schon versucht Visual Studio 2015 Update 2 zum Laufen zu bekommen.
Das Problem war: das Windows 10 SDK 10.0.10240 wurde beim Update nicht installiert, egal wie oft man das System zurückgesetzt hat, Visual Studio de-installiert und neu installert.
Die Fehler meldung lautet immer nach dem Update auf Visual Studio 2015
Scheinbar traf es meistens nicht englische Versionen (deutsch, italienisch, französisch oder spanisch) oder Installationen bei denen das SDK früher schon mal manuell installiert wurde.
Fehlermeldung lautet:
The installer failed. Problem beim Herunterladen des Produkts
Error Code 15605
Lösung:
Man muss den Cache in Windows komplett löschen.
Hierzu öffnet man den Datei-Explorer unter:
C:\ProgramData\Package Cache
Und löscht alle Ordner und dateien dort. Das sind Cache Dateien, welche ja nur zwischengespeicherte Daten enthalten dürfen.
Danach muss man das Setup von Visual Studio starten unter Programme und Features
oder über die Eingabeaufforderung
Dann im Setup die Option
Entwicklungstools für universelle Windows-Apps
->
Windows 10 SDK 10.0.10240
aktiv markieren
Und wie man sieht, läuft dann das Setup inklusive Windows 10 SDK durch.
Hintergrund:
Ursprüngliche Fehlermeldung unter der Programmierung von UWP
Wenn man diese Meldung hat, dann muss man das obere SDK einbinden
UWP error: CS0012 IAsyncAction You must add a refernece to assembly Windows
Error message : CS0012
The type 'IAsyncAction' is defined on assembly that is not referenced.
You must add a reference to assembly ' Windows, version = 255.255.255.255, culture = neutral, PublicKeyToken = null, ContentType = WindowsRuntime'.
In the compiler errors:
Severity
|
Code
|
Description
|
Suppression of State
|
Error
|
CS0012
|
The 'IAsyncAction' is defined in type of assembly that is not referenced. You got to add a reference to assembly 'Windows, Version = 255.255.255.255, Culture = neutral, PublicKeyToken = null, ContentType = WindowsRuntime'.
|
Active
|
Error
|
CS0012
|
The type ' IAsyncActionWithProgress< > ' is defined in to assembly that is not referenced. You got to add a reference to assembly 'Windows, Version = 255.255.255.255, Culture = neutral, PublicKeyToken = null, ContentType = WindowsRuntime'.
|
Active
|
Error
|
CS0012
|
The type ' IAsyncOperation< > ' is defined in to assembly that is not referenced. You got to add a reference to assembly 'Windows, Version = 255.255.255.255, Culture = neutral, PublicKeyToken = null, ContentType = WindowsRuntime'.
|
Active
|
Solution:
You need Visual Studio setup start under programs and features , and there the option: Windows 10 SDK 10.0.10240 enable