• And then, add this to your sources
  • This is what the app manifest would look like




    Download 70,26 Kb.
    bet10/24
    Sana24.03.2021
    Hajmi70,26 Kb.
    #13506
    1   ...   6   7   8   9   10   11   12   13   ...   24

    This is what the app manifest would look like:


    XML

    .manifest





    type="win32"

    name=SXS_ASSEMBLY_NAME

    version=SXS_ASSEMBLY_VERSION

    processorArchitecture=SXS_PROCESSOR_ARCHITECTURE

    />

    my app exe









    level="asInvoker"

    uiAccess="false"

    />











    *

    *
















    And then, add this to your sources:


    SXS_MANIFEST_RESOURCE_ID=1

    SXS_MANIFEST=foo.manifest

    SXS_ASSEMBLY_NAME=Microsoft.Windows.Foo

    SXS_ASSEMBLY_VERSION=1.0

    SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1

    SXS_MANIFEST_IN_RESOURCES=1

    For Windows 10, the two lines in the XML manifest sample marked with an asterisk (*) show how to accurately target your application for the Windows 10 version of the OS. Manifesting the .exe for Windows 10 will not have any impact when run on previous versions of the Windows OS. You can also add this to your .rc file if you already have it defined.

    Adding the trustInfo isn’t essential, but it is highly recommended. This will allow your .exe to always get the correct version, no matter whether the OS is Windows 10 or Windows 8.1.



    Download 70,26 Kb.
    1   ...   6   7   8   9   10   11   12   13   ...   24




    Download 70,26 Kb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    This is what the app manifest would look like

    Download 70,26 Kb.