Cannot open Package.appxmanifest Windows application packaging keep getting me this error error unable to load one or more of the requested types

Brandon Boone 1 Reputation point
2021-10-04T04:45:06.817+00:00

I Cannot open Package.appxmanifest in Windows application packaging keep getting me this error error unable to load one or more of the requested types:

137237-image.png

I downloaded this :
137295-image.png

and put it in here: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.8
but it still is not working

I have no idea what to do now

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,849 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,599 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Brandon Boone 1 Reputation point
    2021-10-04T14:38:39.33+00:00

    My main project is one of these:
    137397-image.png

    and then I have two of these in there :
    137471-image.png

    is that not ok?

    0 comments No comments

  2. Brandon Boone 1 Reputation point
    2021-10-04T14:40:04.35+00:00

    I get the same error even when I do a UWP app
    see:

    137491-image.png

    0 comments No comments

  3. Brandon Boone 1 Reputation point
    2021-10-04T15:30:53.59+00:00

    Help!
    I read online that someone was able to get it to work by reinstall VS. So I tried to just fix my VS and somehow ended up with multiple versions of VS

    I know I had VS Professional 2017 and 2019 but now I have VS enterprise and that is the VS that is working.
    is this bad?

    137472-image.png