Cannot open Package.appxmanifest in Visual Studio 2015

I started porting my application to the Windows 10 Universal App today, starting as an empty project. However, I cannot open the Package.appxmanifest file in Visual Studio, even when I right-click and select View Code (F7). It says: "It is not possible to load one or more of the requested types. Get more information about the LoaderExceptions object." Any solution for this?

+6
source share
3 answers

I fixed it by uninstalling the Apache Cordova toolkit.

+10
source

You are facing a known bug that we fixed for new installations. However, you can hit it if you have installed universal application tools over a period of time.

The following are the steps described here: RTM version of Visual Studio 2015 - JavaScript support has been lost after the upgrade. TypeSript Tools

If Universal Application Development Tools for Windows is still installed:

1. Go to the "Programs and Features" section, select "Visual Studio 2105", click "Edit." 2. In the Visual Studio setup, click "Edit." 3. Cancel the "Universal Application Development Tools for Windows" 4. Select "Universal Application Development Tools for Windows" again and click "Update."

If you have already uninstalled Universal Application Development Tools for Windows:

  • Reinstall Universal Application Development Tools for Windows
  • Or, follow these steps to reinstall the JavaScript system and language service:

    1. Download the installer for your version of Visual Studio, for example, vs_community.exe.

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

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

4. Run the following commands

  • devenv / updateconfiguration
  • devenv / clearcache
+5
source

Tools> Extensions and Updates> Updating Windows Desktop Extensions for UWP. This works for me.

0
source

All Articles