• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 217
  • Last Modified:

Strange build errors in Visual Studio

Hi there,

I was working on my project (which is fairly large), and didn't build for a while.

I eventually built, and the compiler is showing 256 errors (after zero 30 minutes previously)

I'm guessing I'm made a mess of something somewhere, but it's now impossible to find out where it is,.

Has anybody experienced this before, and is there a way to locate the culprit page in my code?

Thanks

NIck
0
nkewney
Asked:
nkewney
1 Solution
 
JimBrandleyCommented:
Without seeing the errors, it is difficult to point to anything. Are they all the same?
0
 
jpaulinoCommented:
Goto MyProject -> Compile and ensure that you have Implicit conversion, Late binding & and Implicit type & set to none and the others set to warning.
0
 
nkewneyAuthor Commented:
Just hundreds of errors like this...

Error      44      Name 'FormatDatabaseEntry' is not declared.      D:\Projects\GLApp\App\activities\ActivityDetail.aspx      1      1      GLApp
Error      45      Name 'GetPriorityURL' is not declared.      D:\Projects\GLApp\components\GridViews\AnnouncementGrid.ascx      16      21      GLApp
Error      46      Name 'GetCreatorLink' is not declared.      D:\Projects\GLApp\components\GridViews\AnnouncementGrid.ascx      26      140      GLApp
Error      47      Name 'EncProcess' is not declared.      D:\Projects\GLApp\components\GridViews\UserGrid.ascx      144      185      GLApp
Error      48      Name 'GetJobTitles' is not declared.      D:\Projects\GLApp\components\DetailsViews\UserProfile.ascx      34      67      GLApp
Error      49      Name 'GetJobTitles' is not declared.      D:\Projects\GLApp\components\DetailsViews\UserProfile.ascx      143      43      GLApp
Error      50      Name 'GetFieldSetSize' is not declared.      D:\Projects\GLApp\components\GridViews\CallGrid.ascx      111      107      GLApp
Error      51      Name 'IsDeleteEnabled' is not declared.      D:\Projects\GLApp\components\GridViews\CallGrid.ascx      111      107      GLApp
Error      52      Name 'DeleteEnabled' is not declared.      D:\Projects\GLApp\components\GridViews\CallGrid.ascx      111      107      GLApp
Error      53      Name 'IsDeleteEnabled' is not declared.      D:\Projects\GLApp\components\GridViews\CallGrid.ascx      111      107      GLApp
Error      54      Name 'GetDirective' is not declared.      D:\Projects\GLApp\components\GridViews\CallGrid.ascx      126      153      GLApp
Error      55      Name 'EncProcess' is not declared.      D:\Projects\GLApp\components\GridViews\CallGrid.ascx      126      153      GLApp
Error      56      Name 'GetGridWidth' is not declared.      D:\Projects\GLApp\components\GridViews\CallGrid.ascx      126      235      GLApp
Error      57      Name 'GetFieldSetSize' is not declared.      D:\Projects\GLApp\components\GridViews\CallGrid_Reporting.ascx      110      107      GLApp
Error      58      Name 'IsDeleteEnabled' is not declared.      D:\Projects\GLApp\components\GridViews\CallGrid_Reporting.ascx      110      107      GLApp
Error      59      Name 'DeleteEnabled' is not declared.      D:\Projects\GLApp\components\GridViews\CallGrid_Reporting.ascx      110      107      GLApp
Error      60      Name 'IsDeleteEnabled' is not declared.      D:\Projects\GLApp\components\GridViews\CallGrid_Reporting.ascx      110      107      GLApp
Error      61      Name 'GetDirective' is not declared.      D:\Projects\GLApp\components\GridViews\CallGrid_Reporting.ascx      125      153      GLApp
Error      62      Name 'EncProcess' is not declared.      D:\Projects\GLApp\components\GridViews\CallGrid_Reporting.ascx      125      153      GLApp
Error      63      Name 'GetGridWidth' is not declared.      D:\Projects\GLApp\components\GridViews\CallGrid_Reporting.ascx      125      235      GLApp
Error      64      'AnnouncementGrid' is ambiguous in the namespace 'GLApp'.      D:\Projects\GLApp\App\Default.aspx.designer.vb      202      47      GLApp
Error      65      'Chart_Previous_Frontpage' is ambiguous in the namespace 'GLApp'.      D:\Projects\GLApp\App\Default.aspx.designer.vb      229      55      GLApp
Error      209      Element 'ColouredButton' is not a known element. This can occur if there is a compilation error in the Web site.      D:\Projects\GLApp\components\DetailsViews\ContactProfile.ascx      108      14      GLApp
Error      216      Element 'ColouredButton' is not a known element. This can occur if there is a compilation error in the Web site.      D:\Projects\GLApp\components\DetailsViews\ContactProfile.ascx      388      42      GLApp
Error      217      Validation (XHTML 1.0 Transitional): This name contains uppercase characters, which is not allowed.      D:\Projects\GLApp\components\GridViews\CallGrid.ascx      26      16      GLApp
Error      219      Validation (XHTML 1.0 Transitional): Element 'img' is missing required attribute 'alt'.      D:\Projects\GLApp\components\GridViews\CallGrid.ascx      97      20      GLApp

0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
sabeeshCommented:
You are missing some dll reference. check you dll references
0
 
nkewneyAuthor Commented:
sabeesh.

Good suggestion, but everything i need is in there...

Nick
0
 
sabeeshCommented:
I strongly belive in the missing of any assembly references. This is the only one reason i can point out.
0
 
sabeeshCommented:
Did you changed any namespace of any of your assembly project
0
 
nkewneyAuthor Commented:
I was changing some stuff over several pages, and the error appears. Didn't change any namespaces.
0
 
sabeeshCommented:
Are you using any third party dll references in your project
0
 
nkewneyAuthor Commented:
Nope - most stuff is in GLAPP (The main application)

There are references to GLBusiness and GLUtilities, but that's all.

THey are both referenced also..

Nick
0
 
sabeeshCommented:
Try like this, delete your bin folder and build your project as per the order. i mean first all classLibrary project, then your main solution. Hope this will work
0
 
nkewneyAuthor Commented:
Sadly, I'm getting exactly the same when I do that.

This is a very strange one - I have never experienced before.

Nick
0
 
sabeeshCommented:
Is your class compilations(GLBusiness and GLUtilities) are successfull or what?
0
 
nkewneyAuthor Commented:
Yes these are both good.
0
 
sabeeshCommented:
Sorry i am helpless, i could have do some thing if i have a glace to ur project.
0
 
sabeeshCommented:
Last try, Go to your asembly reference property and set copylocal is set to true.
0
 
nkewneyAuthor Commented:
Wow - strange one. This fixed it.

Thanks for your help!!

Nick
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now