c# - ClickOnce deployment with Roslyn assemblies: manifest version mismatch -


i'm trying deploy clickonce application refercences roselyn assemblies through nuget packages.

the roslyn nuget packages have version 1.2.20906.2 but:

  1. when @ dll properties in packages folder see the dlls have version 1.2.20906.1
  2. when @ references properties in vs2012 solution explorer, shows version 1.2.0.0 (the path points nuget package dll)

local copy set true specific version roslyn references.

when publish clickonce, the dll included , deployed have version 1.2.20906.1 clickonce manifest states:

<dependency>     <dependentassembly dependencytype="install" allowdelayedbinding="true" codebase="roslyn.services.dll" size="1345672">         <assemblyidentity name="roslyn.services" version="1.2.0.0" publickeytoken="31bf3856ad364e35" language="neutral" processorarchitecture="msil" /> ... 

so version in manifest 1.2.0.0.

when try install clickonce on client, error message (translated french): reference in manifest not match identity of downloaded assembly roslyn.services.dll

the client machine windows 7 x86.

i tried target anycpu , x86 in vs project without success.

when deploy via xcopy on target machine, app runs fine.

any appreciated.

where reference in vs point to? point packages folder? if not, should, since that's assembly want deploy. should delete reference , re-add it, pointing 1 version want deploy. might accessing old version in gac , publishing new version, won't work. clickonce specific, , versions must match.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -