visual studio 2010 - Azure Publish giving "The Type or Namespace {x} cannot be resolved" error -
i have mvc 4 web project have been working on year. published , running on azure in production, , has been working there year. dev machine malfunctioned , had replace it. after setting dev environment , retrieving codebase repository, made minor change 1 of pages (i corrected typo, changing "teh" "the" in text of 1 of .cshtml pages. downloaded , imported azure publish profile settings from:
https://windows.azure.com/download/publishprofile.aspx?wa=wsignin1.0
which seemed correctly populate publish dialog , attempted publish correction staging. however, when builds prior publish, output window starts show series of "the type or namespace {x} cannot resolved" errors. accumulates 72 such errors various referenced assemblies, , exits "build failed".
a few seconds later errors disappear , if rebuild solution, not give me errors, appear on pre-publish build. can run project in testing environment , works fine there.
i have tried can think of. has ran before?
after week of frustration, figured out happening. had email library, rebex, had purchased project used. installed on original development machine, application publishing correctly. .dll file rebex library incorporated source code when new dev machine configured , source code restored, .dll file present, , worked in development mode.
however, not publish production until installation file re-downloaded , rebex assemblies registered vs2012 , gac.
if else has issue, check see if have purchased or licensed libraries need registered.
msd
Comments
Post a Comment