Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015: Unable to create universal application

I am stuck in creating an universal project under windows 10 using visual studio 2015 screenshot.

I have tried everything from OS Reinstall to Windows Developer tools stand alone installer but had no luck.

The error I am getting is

One or more projects require framework sdk .netcore , version = 5.0.

I have even installed KB3073097.exe which contains .netcore, version = 5.0

like image 466
Umer Kiani Avatar asked Nov 10 '22 03:11

Umer Kiani


1 Answers

i have managed to simulate the problem you are experiencing by deleting the file FrameworkList.xml in the following path:

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETCore\v5.0\RedistList

After i deleted the FrameworkList.xml file i've got the same Error message you are receiving.

please check if you got that file in the path mentioned above.

also here is the contents of the file(if you want to create it manually)

<?xml version="1.0" encoding="utf-8"?>
<FileList Redist="Microsoft-Windows-CLRCoreComp.5.0" Name=".NET for Windows Universal" RuntimeVersion="5.0" ToolsVersion="4.0">
</FileList>

another option if you dont want to create it manually is by installing the windows 10 sdk

like image 168
Ronny Kay Avatar answered Nov 14 '22 23:11

Ronny Kay