How to remove unnecessary orphaned files that cause build to fail

  • 2 September 2007
  • 2 replies
  • 0 views

Badge +9

Occasionally when a process is attempted to be deployed, the compile will fail with numerous errors regarding not being able to find namespaces or seemingly non-existent files within the project (see below).


 


Error   1       The name 'SucceedingRuleHelper' does not exist


in the current context  c:Documents and


Settings estMy DocumentsVisual Studio 2005ProjectsK2TestK2TestExtenderProjectsCSWinWF-ee8ec9b959484649b799a8048163894cEventSucceedingRule_661f601ddafa4d46a88505ecefe0e803.xoml.cs


47      26     


Error   2       The name 'SucceedingRuleHelper' does not exist


in the current context  c:Documents and


Settings estMy DocumentsVisual Studio 2005ProjectsK2TestK2TestExtenderProjectsCSWinWF-ee8ec9b959484649b799a8048163894cSucceedingRule_330e3a4b7f4a4c368b72b7385f69db40.xoml.cs


47      26     


Error   3


'ExtenderProject_ee8ec9b959484649b799a8048163894c.DestinationRule_bba9c79450d44294a7c17b581cde11bb'


does not contain a definition for


'DestinationRule_ExecuteCode'   c:Documents and


Settings estMy DocumentsVisual Studio 2005ProjectsK2TestK2TestExtenderProjectsCSWinWF-ee8ec9b959484649b799a8048163894cDestinationRule_bba9c79450d44294a7c17b581cde11bb.xoml


3       78     


Error   4


'ExtenderProject_ee8ec9b959484649b799a8048163894c.DestinationRule_bc5fcb6ee3784e55a5e65e82f70e0597'


does not contain a definition for


'DestinationRule_ExecuteCode'   c:Documents and


Settings estMy DocumentsVisual Studio 2005ProjectsK2TestK2TestExtenderProjectsCSWinWF-ee8ec9b959484649b799a8048163894cDestinationRule_bc5fcb6ee3784e55a5e65e82f70e0597.xoml


 


The files that are causing the build failure are no longer required in the process, so they can be excluded from the project.  Attached are the steps to do so.


2 replies

Badge

I get the same exact problem and trying to follow the instruction on how to exclude the offending file.


However, 0807 version does not have a “Show Extender Projects”  button.


Do you have any suggestions on how to get rid of this type of error in 0807 version?


 Thanks,


Alex

Badge +11
I think that post was several versions back and is no longer applicable.  I've had good results doing what I do for any type of Visual Studiol project that gets errors like that:  right-click on the project and choose "Clean", then rebuild.

Reply