Results 1 to 5 of 5

Thread: Where is Icon and Manifest in Visual Studio 2017?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2016
    Posts
    1,415

    Where is Icon and Manifest in Visual Studio 2017?

    Hi, I have lots of issues to deploy my application. So I was search the internet and for it seems one possible solution is to this problem:

    "Reference in the manifest does not match the identity of the downloaded assembly"

    Is to do this:

    To fix it, open your main executables project in Visual Studio. Bring up the properties and go to the Application tab. In the Resources box, select Icon and Manifest and for the Manifest setting, change it from "Embed manifest with default settings" to "Create application without a manifest". Rebuild your main executable and then rebuild and redeploy your ClickOnce manifests.

    If I go to properties and Application there is nowhere "Icon and Manifest" I looked everywhere, I can not find this setting.

    In VS2017 I want to Create application without a manifest

    How can I find this setting please?

    This is reference:

    http://www.clickoncemore.net/documen...ommon_problems

  2. #2
    Frenzied Member toecutter's Avatar
    Join Date
    Apr 2006
    Location
    Brisbane, Australia
    Posts
    1,160

    Re: Where is Icon and Manifest in Visual Studio 2017?

    same here, click once fails to install on other laptop.

    ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of C:\Users\mick\Desktop\GOODNA IMAGE REPORT\ImageReport.application resulted in exception. Following failure messages were detected:
    + Reference in the manifest does not match the identity of the downloaded assembly ImageReport.exe.

  3. #3
    Frenzied Member toecutter's Avatar
    Join Date
    Apr 2006
    Location
    Brisbane, Australia
    Posts
    1,160

    Re: Where is Icon and Manifest in Visual Studio 2017?

    mainfest file, maybe someone can see whats incorrect

    HTML Code:
    <?xml version="1.0" encoding="utf-8"?>
    <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
      <asmv1:assemblyIdentity name="ImageReport.exe" version="1.0.0.0" publicKeyToken="ecc2f56531117460" language="neutral" processorArchitecture="msil" type="win32" />
      <application />
      <entryPoint>
        <assemblyIdentity name="ImageReport" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
        <commandLine file="ImageReport.exe" parameters="" />
      </entryPoint>
      <trustInfo>
        <security>
          <applicationRequestMinimum>
            <PermissionSet Unrestricted="true" ID="Custom" SameSite="site" />
            <defaultAssemblyRequest permissionSetReference="Custom" />
          </applicationRequestMinimum>
          <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
            <!--
              UAC Manifest Options
              If you want to change the Windows User Account Control level replace the 
              requestedExecutionLevel node with one of the following.
    
            <requestedExecutionLevel  level="asInvoker" uiAccess="false" />
            <requestedExecutionLevel  level="requireAdministrator" uiAccess="false" />
            <requestedExecutionLevel  level="highestAvailable" uiAccess="false" />
    
             If you want to utilize File and Registry Virtualization for backward 
             compatibility then delete the requestedExecutionLevel node.
        -->
            <requestedExecutionLevel level="asInvoker" uiAccess="false" />
          </requestedPrivileges>
        </security>
      </trustInfo>
      <dependency>
        <dependentOS>
          <osVersionInfo>
            <os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" />
          </osVersionInfo>
        </dependentOS>
      </dependency>
      <dependency>
        <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
          <assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="4.0.30319.0" />
        </dependentAssembly>
      </dependency>
      <dependency>
        <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ImageReport.exe" size="925632">
          <assemblyIdentity name="ImageReport" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
          <hash>
            <dsig:Transforms>
              <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
            </dsig:Transforms>
            <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
            <dsig:DigestValue>2Mjeu3OyNe6hqJpeDF/znsNSAFTFdNFyQvog7rdgzaA=</dsig:DigestValue>
          </hash>
        </dependentAssembly>
      </dependency>
      <dependency>
        <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Microsoft.Web.WebView2.Core.dll" size="502232">
          <assemblyIdentity name="Microsoft.Web.WebView2.Core" version="1.0.2151.40" publicKeyToken="2A8AB48044D2601E" language="neutral" processorArchitecture="msil" />
          <hash>
            <dsig:Transforms>
              <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
            </dsig:Transforms>
            <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
            <dsig:DigestValue>QEXzPAzBlZUKqSkIurX5BPQfBPVMsiGcEd3d8CaOGk0=</dsig:DigestValue>
          </hash>
        </dependentAssembly>
      </dependency>
      <dependency>
        <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Microsoft.Web.WebView2.WinForms.dll" size="38376">
          <assemblyIdentity name="Microsoft.Web.WebView2.WinForms" version="1.0.2151.40" publicKeyToken="2A8AB48044D2601E" language="neutral" processorArchitecture="msil" />
          <hash>
            <dsig:Transforms>
              <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
            </dsig:Transforms>
            <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
            <dsig:DigestValue>taZn+3ECNB1fTv5G6ncuSlPRqiamdXMlbH3EK2VZzYA=</dsig:DigestValue>
          </hash>
        </dependentAssembly>
      </dependency>
      <dependency>
        <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Microsoft.Web.WebView2.Wpf.dll" size="45016">
          <assemblyIdentity name="Microsoft.Web.WebView2.Wpf" version="1.0.2151.40" publicKeyToken="2A8AB48044D2601E" language="neutral" processorArchitecture="msil" />
          <hash>
            <dsig:Transforms>
              <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
            </dsig:Transforms>
            <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
            <dsig:DigestValue>2yawinvxMZchtXyC/atA8ytJq0Rpe+denBy3kjwT3B8=</dsig:DigestValue>
          </hash>
        </dependentAssembly>
      </dependency>
      <file name="ImageReport.exe.config" size="188">
        <hash>
          <dsig:Transforms>
            <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
          </dsig:Transforms>
          <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
          <dsig:DigestValue>c922zfRb5ORzqEo8SDjt8Mx8lDMhGTWhqKcK/oileDM=</dsig:DigestValue>
        </hash>
      </file>
      <file name="ImageReport\comment items.txt" size="3">
        <hash>
          <dsig:Transforms>
            <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
          </dsig:Transforms>
          <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
          <dsig:DigestValue>8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=</dsig:DigestValue>
        </hash>
      </file>
      <file name="ImageReport\info\info.txt" size="510">
        <hash>
          <dsig:Transforms>
            <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
          </dsig:Transforms>
          <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
          <dsig:DigestValue>JPmBhMMAe4q9m740Z3S7s9XX5qvbv96YagFfgaI+wl8=</dsig:DigestValue>
        </hash>
      </file>
      <file name="runtimes\win-arm64\native\WebView2Loader.dll" size="137688">
        <hash>
          <dsig:Transforms>
            <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
          </dsig:Transforms>
          <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
          <dsig:DigestValue>ivea5fxkRlmCDJQ8qHHuRS3uvuOyEpGtBQiCt5WNROc=</dsig:DigestValue>
        </hash>
      </file>
      <file name="runtimes\win-x64\native\WebView2Loader.dll" size="162264">
        <hash>
          <dsig:Transforms>
            <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
          </dsig:Transforms>
          <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
          <dsig:DigestValue>KLiY5EMykclpzU87xGN3sZVSetkTjfL6VyQ862cXprk=</dsig:DigestValue>
        </hash>
      </file>
      <file name="runtimes\win-x86\native\WebView2Loader.dll" size="117208">
        <hash>
          <dsig:Transforms>
            <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
          </dsig:Transforms>
          <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
          <dsig:DigestValue>VlnLrp89QSZiUVZxpsha7+CO7hcRjD3hMwov7XTcQV8=</dsig:DigestValue>
        </hash>
      </file>
    <publisherIdentity name="CN=NEWDESKTOP\mcapp" issuerKeyHash="d8ac60d6d7bc1cc5caef6409cbfe4eec35d930e8" /><Signature Id="StrongNameSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /><DigestValue>CVe8P9unOf3Sjkx+mMz3B5GvKzYD8fZkxP+lm3klmhM=</DigestValue></Reference></SignedInfo><SignatureValue>Lv33qaZaiqT2/9TqedDLYPS1C6QSPs8atbZBseB/PhkmlyJ6phI2c9j4CBqEUnfQt8pA/poI4T0IubDydeMqWBLi/HKoxVmru+62VKDnTPagBo6K5vT219tfvN5UOEqHFkxWutK13e/rJt73Rn4yKqhObHvMQFEHd78PkXIybFM=</SignatureValue><KeyInfo Id="StrongNameKeyInfo"><KeyValue><RSAKeyValue><Modulus>sUXerYu9Ad36IsBrMGoMr5VPGEaRGpiD38LyZxIizm7dXX+PKLZw7s9GAYHpmvWLC/Ubhu9yPVO+5B2hbtlAkgAiVVNq88l3i3X1+adhjP8FEcOddKIo0EyOxFXlxs4FOg/0bkvo9oG8WzbS+RnPiojq94+pjBXLllYYEsC9l5U=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><msrel:RelData xmlns:msrel="http://schemas.microsoft.com/windows/rel/2005/reldata"><r:license xmlns:r="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:as="http://schemas.microsoft.com/windows/pki/2005/Authenticode"><r:grant><as:ManifestInformation Hash="139a25799ba5ffc464f6f103362baf9107f7cc987e4c8ed2fd39a7db3fbc5709" Description="" Url=""><as:assemblyIdentity name="ImageReport.exe" version="1.0.0.0" publicKeyToken="ecc2f56531117460" language="neutral" processorArchitecture="msil" type="win32" /></as:ManifestInformation><as:SignedBy /><as:AuthenticodePublisher><as:X509SubjectName>CN=NEWDESKTOP\mcapp</as:X509SubjectName></as:AuthenticodePublisher></r:grant><r:issuer><Signature Id="AuthenticodeSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /><DigestValue>KYuw/v1rFlAtQ36AEEYm4iYanCFS3C+4SQEHl/aUknA=</DigestValue></Reference></SignedInfo><SignatureValue>IZSD+KDaR46WaUIjQF2vy1PzpbHxJw2ovCgXQabmjYAkhV8IOINKr5IUCo1mhTiddIYdJ3rhIg76dm0EdVyfEr2rBMgZ0zcCYJTSieyXXnE54nVQt4MluIcZQt/0WsV8VKIycMZBUSheqJ5NrH8VYt/kng4ymLMVMAbZylQPvJw=</SignatureValue><KeyInfo><KeyValue><RSAKeyValue><Modulus>sUXerYu9Ad36IsBrMGoMr5VPGEaRGpiD38LyZxIizm7dXX+PKLZw7s9GAYHpmvWLC/Ubhu9yPVO+5B2hbtlAkgAiVVNq88l3i3X1+adhjP8FEcOddKIo0EyOxFXlxs4FOg/0bkvo9oG8WzbS+RnPiojq94+pjBXLllYYEsC9l5U=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><X509Data><X509Certificate>MIIB2TCCAUKgAwIBAgIQHuwvZY8pq4FIIml/+HF/mDANBgkqhkiG9w0BAQsFADArMSkwJwYDVQQDHiAATgBFAFcARABFAFMASwBUAE8AUABcAG0AYwBhAHAAcDAeFw0yMzExMTMwOTQ0NDVaFw0yNDExMTIxNTQ0NDVaMCsxKTAnBgNVBAMeIABOAEUAVwBEAEUAUwBLAFQATwBQAFwAbQBjAGEAcABwMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCxRd6ti70B3foiwGswagyvlU8YRpEamIPfwvJnEiLObt1df48otnDuz0YBgema9YsL9RuG73I9U77kHaFu2UCSACJVU2rzyXeLdfX5p2GM/wURw510oijQTI7EVeXGzgU6D/RuS+j2gbxbNtL5Gc+KiOr3j6mMFcuWVhgSwL2XlQIDAQABMA0GCSqGSIb3DQEBCwUAA4GBAHlOe+7nQ1yOj/X3EFYS30Cxr3x+R5s9dK1TPgYdLLs8TPMgxDaSsj2VtMvPiyWUp2A/FP3/IuMUEpDjwfVHQZb0yFQ93AQYHCI+VaqNsL4zQgVonLKztOBLhBb4snxmZGyk11TTgyxWQwT9febsJQ9c691Vd9C38QrOQpO9recn</X509Certificate></X509Data></KeyInfo></Signature></r:issuer></r:license></msrel:RelData></KeyInfo></Signature></asmv1:assembly>

  4. #4
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,834

    Re: Where is Icon and Manifest in Visual Studio 2017?

    I've never had that but this link seemed promising:

    https://stackoverflow.com/questions/...does-not-match
    Please remember next time...elections matter!

  5. #5
    Frenzied Member toecutter's Avatar
    Join Date
    Apr 2006
    Location
    Brisbane, Australia
    Posts
    1,160

    Re: Where is Icon and Manifest in Visual Studio 2017?

    I managed to get it to install on the laptop.

    As it turns out VS2017 doesn't appear to have the setting schoemr first posted about.

    What i did was set manifest file in Publish>Application Files to "exclude" and then tried to run the project but it failed to run so i went back and set the manifest file to "Include" and now it installs on laptop...

    I was thinking it may have been because i did actually change the projects name plus some files in the Solution previously.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width