c# - Error Cannot register assembly ClassA.Dll -


i have 2 class libraries classa , classb. classb referenced on classa. built cliassa take dll bin register on gac using gacutil.exe , runs fine. have changes classa make changes try built classa again compiler error.

error cannot register assembly classa.dll. not load file or assembly 'classb, version=1.0.0.0, culture=neutral, publickeytoken="" or 1 of dependencies. system cannot find file specified.

both class libraries stronglynamed different .snk both lib have com visible true both on .net 4.5 c#

things tried , didn't work:

  • unregister classa gac using gacutil.exe /u
  • unload both libraries reload , re built.
  • restart vs, run under admin.
  • restart system.

the thing tht works create new class library classc, copy on code classa classc , remove classa. can built 1 time ..if try rebuilt again same error.

i can continue doing copy paste every single line of code change.

i tried tht conceptually wrong wat doing unable figure out.

surely version issue no clue on how resolve this..already wasted day on this, info of great @ point.


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 -