c# - I get "The type initializer for 'Microsoft.Cct.CctProjectNode' threw an exception." when opening ccproj files after installing Azure SDK 2.9 -


i have solution azure cloud project in that's targeting 2.7 version of microsoft azure sdk open/build , deploy without problems. since visual studio nagging me update, went ahead , installed new azure sdk version of 2.9. after update, cannot open cloud project files, , visual studio (2015 community edition, updated latest of time i'm writing this) gives me error message:

mytest.ccproj : error : type initializer 'microsoft.cct.cctprojectnode' threw exception.

i able open project if manually edit ccproj file , change the

<productversion>2.7</productversion> 

value 2.9. however, can not use that, since other people working on project , still want remain on 2.7 version of azure sdk, deployed production.

is there way allow visual studio open older versions of cloud projects? have uninstall azure sdk updates?

thank all!

there issue sxs compatibility 2.9.5 , previous versions. discovered , looking fix next version, until have uninstall 2.9.

  1. uninstall “microsoft azure tools microsoft visual studio 2015 – v2.9” add/remove programs
  2. run msiexec /x {60473bf2-359b-43b3-af6c-12bac6c5bc3f}. (for vs 2013, use {438eed24-f35b-44e0-a2e2-675838273002}) should bring msi dialog uninstall “microsoft azure tools microsoft visual studio 2015 core”
  3. in add/remove programs, repair microsoft azure tools microsoft visual studio 2015 – v2.7 (or v2.8 people using version).

updating answer. common guids #2 :

  • {60473bf2-359b-43b3-af6c-12bac6c5bc3f}
  • {438eed24-f35b-44e0-a2e2-675838273002}

if error "this action valid products installed." try using {8664e001-704c-4efb-b68d-6a3def60bbee}.


the msft support forum on here

connect ticket here


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

mapreduce - Resource manager does not transit to active state from standby -

serialization - Convert Any type in scala to Array[Byte] and back -