2016-08-30 4 views
1

설치 프로그램을 다시 작성하지 않고 ClickOnce * .application 구성 파일에서 deploymentPorvider 코드베이스 위치를 변경할 수 있습니까?다시 작성하지 않고 ClickOnce 응용 프로그램에서 배포 공급자 코드베이스 변경

현재 나는 다음과 같은 예외가 점점 오전 :

System.Deployment.Application.InvalidDeploymentException (SignatureValidation) 
    - Manifest XML signature is not valid. 
    - Source: System.Deployment 
    - Stack trace: 
     at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s) 
     at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri) 
    --- Inner Exception --- 
    System.Security.Cryptography.CryptographicException 
    - The digital signature of the object did not verify. 

    - Source: System.Deployment 
    - Stack trace: 
     at System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags) 
     at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s) 

답변

1

예, 가능합니다! MageUI.exe 또는 Mage.exe (cmd 줄 도구)를 사용하여 해당 파일을 수정할 수 있습니다. mage를 사용하는 경우, mage는 모든 파일이 일관된 상태에 있는지 확인하기 위해 많은 세부 사항을 처리 할 수 ​​있습니다. general link on mage이고 여기에 another link that talks about the deployment provider specifically이 있습니다 (배포 공급자 설정 및 변경 참조)