Answered by:
VS.NET can't find Microsoft.WinJS.2.0.appx

Question
-
I just reinstalled VS.NET Pro 2013 on a new machine. When I create a project (blank or grid) and hit the run button, I'm given the following error
Error : DEP0800 : The required framework "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1\ExtensionSDKs\Microsoft.WinJS.2.0\1.0\Microsoft.WinJS.2.0.appx" failed to install.
error 0x80070002: While processing the request, the system failed to register the windows.MRT extension due to the following error: The system cannot find the file specified.
I'm a little stumped here. I've tried repairing my VS.NET install, but that didn't change anything.
I checked and the file Microsoft.WinJS.2.0.appx is exactly where it is looking for it.
Does anyone have any ideas
Thanks!
Eric Marthinsen
- Edited by Eric23 Sunday, January 19, 2014 12:32 AM
Sunday, January 19, 2014 12:32 AM
Answers
-
Hi,
You can update the reference, follow these steps:
- 1. In the Solution Explorer, expand the References folder, right-click the reference to the pre-release version of Windows 8.1 (e.g. “Microsoft.WinJS.2.0.Preview” or “Microsoft.WinJS.2.0.Preview.RC”), and click Remove.
- 2. Right-click References again and click Add Reference.
- 3. In the dialog box, select Windows Library for JavaScript 2.0, and click OK.
And you can see the links to get more information about why the problem occur and how to resolve the problem:
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.Monday, January 20, 2014 6:21 AM
All replies
-
Hi,
You can update the reference, follow these steps:
- 1. In the Solution Explorer, expand the References folder, right-click the reference to the pre-release version of Windows 8.1 (e.g. “Microsoft.WinJS.2.0.Preview” or “Microsoft.WinJS.2.0.Preview.RC”), and click Remove.
- 2. Right-click References again and click Add Reference.
- 3. In the dialog box, select Windows Library for JavaScript 2.0, and click OK.
And you can see the links to get more information about why the problem occur and how to resolve the problem:
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.Monday, January 20, 2014 6:21 AM -
Hi Eric,
Did you already find a solution for this problem?
I have the same error and there's already a reference to the release version of Microsoft.WinJS.2.0.appx so Anne Jing's solution won't work.
Thursday, October 30, 2014 8:49 AM