Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't open Package.appxmanifest in Visual Studio 2015

I started porting my app to Windows 10 Universal App today, started as a blank project. However I can't open the Package.appxmanifest file in Visual Studio, even when I right-click and select View Code (F7). It says "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information." Any solution for this?

like image 207
Nhan Nguyen Avatar asked Jul 30 '15 16:07

Nhan Nguyen


People also ask

How do I open an Appxmanifest package?

appxmanifest file. In Microsoft Visual Studio, open the file with the XML (Text) Editor. To do that, in Solution Explorer, right-click the file and click Open with. Then select XML (Text) Editor and click OK.

What is Appxmanifest XML file?

Package.appxmanifest This is an XML style file that developers use to configure the details of an app, such as publisher information, logos, processor architectures, etc. This is an easily configurable, temporary version of the app package manifest used during app development.

What is manifest in Visual Studio?

The manifest is embedded inside the final binary as a text resource. You can view it by opening the final binary as a file in Visual Studio.


2 Answers

I fixed it by removing the Apache Cordova Tools Package.

like image 125
Q U A N G Avatar answered Sep 21 '22 21:09

Q U A N G


You are hitting by a known bug that we have fixed it for new installs. However, you could hit it if you installed the tools for universal apps within a specific period of time.

The steps outlined here will work for you: Visual Studio 2015 RTM - Lost JavaScript support after update TypeSript Tools

If the “Universal Windows App Development Tools” are still installed:

1.Go to Programs and Features, select Visual Studio 2105, click Change. 2.In Visual Studio setup, click Modify. 3.Deselect the feature “Universal Windows App Development Tools” 4.Select “Universal Windows App Development Tools” again, and click Update.

If you have already uninstalled the “Universal Windows App Development Tools”:

  • Reinstall “Universal Windows App Development Tools”
  • Or, take the following steps to reinstall the JavaScript project system and language service:

    1.Download the installer for your edition of Visual Studio, e.g., vs_community.exe.

    2.Open a CMD window, and run the following command: vs_community.exe /modify /installselectableitems JavaScript_Hidden /passive

3.Change directories to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE

4.Run the following commands

  • devenv /updateconfiguration
  • devenv /clearcache
like image 33
Michael Braude Avatar answered Sep 18 '22 21:09

Michael Braude