c# - Wrong version of System.Runtime being packaged -


we have written service deployed azure. consists of dll "worker role" class, , azure cloud service project, shown below: enter image description here

the build steps are:

  1. build ccproj in "release" configuration.
  2. run nuget "spec", "pack" .nupkg file
  3. deploy .nupkg file azure cloud service

this has been working fine while, until upgraded .net 4.6.2 , upgraded several other references, including system.runtime (now v4.3.1). now, despite fact have (probably unnecessarily) added nuget reference every single project in solution, pointing system.runtime 4.3.1, version of system.runtime.dll gets deployed older version, resulting in dll hell on service, fails run. if manually copy on correct version of system.runtime.dll, works again.

where incorrect version of system.runtime coming from? , how convince offending software/hardware use correct version?

update: trail getting warmer. on development machine, bin folder of eventworker project contains correct version of system.runtime.dll. but... eventprocessor\obj\debug\eventworker folder contains old version! deleted obj folder , recompiled project - , old version of dll appears again.

where coming from, , how fix?

you have right idea in terms of hunting down offending dll. have dependent dll's using wrong version? also, when run locally give dll conflict warning in errors window, allowing identify where? take @ config file , see if have reference dll version in redirects section, update or create new 1 point @ latest version.


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -