473,407 Members | 2,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Why does VS not show build error filenames in ASP.NET 2.0 projects?

I have some class files in App_Code (eg MyClass.cs) but if there is an
error during compilation, the error list doesn't say what file the error is
in. It just shows something like "(0,0): error CS0246: blah blah blah".
Am I missing something obvious?? Because searching all of my classes for
where the error might be really sucks.

-mdb
Mar 15 '07 #1
5 1468
"Michael Bray" wrote ...
Am I missing something obvious?? Because searching all of my classes for
where the error might be really sucks.
Are unable to click on the "Error List" tab and then double click the actual
error itself? For me, when I do this it opens the file in question..

Rob
Mar 15 '07 #2
"Rob Meade" <ku***************@edaem.borwrote in
news:#w**************@TK2MSFTNGP03.phx.gbl:
>Am I missing something obvious?? Because searching all of my classes
for where the error might be really sucks.

Are unable to click on the "Error List" tab and then double click the
actual error itself? For me, when I do this it opens the file in
question..
Nope... the error list is just as useless. It lists the error, but no
file, line number, or position number - they are all blank. Double
clicking on them does nothing.

-mdb
Mar 16 '07 #3
On Mar 16, 2:07 pm, Michael Bray <mbray@makeDIntoDot_ctiusaDcom>
wrote:
"Rob Meade" <ku.shn.tsews.t...@edaem.borwrote innews:#w**************@TK2MSFTNGP03.phx.gbl:
Am I missing something obvious?? Because searching all of my classes
for where the error might be really sucks.
Are unable to click on the "Error List" tab and then double click the
actual error itself? For me, when I do this it opens the file in
question..

Nope... the error list is just as useless. It lists the error, but no
file, line number, or position number - they are all blank. Double
clicking on them does nothing.

-mdb
The Error List has a File column, do you mean it's empty in your
case?
There are: Line, Column and Project name as well...

CS0246 means the following:
http://msdn2.microsoft.com/en-us/lib...xs(vs.80).aspx

Mar 16 '07 #4
"Alexey Smirnov" <al************@gmail.comwrote in
news:11**********************@l75g2000hse.googlegr oups.com:
>"Rob Meade" <ku.shn.tsews.t...@edaem.borwrote
innews:#w**************@TK2MSFTNGP03.phx.gbl:
>Am I missing something obvious?? Because searching all of my
classes for where the error might be really sucks.
Are unable to click on the "Error List" tab and then double click
the actual error itself? For me, when I do this it opens the file
in question..

Nope... the error list is just as useless. It lists the error, but
no file, line number, or position number - they are all blank.
Double clicking on them does nothing.

-mdb

The Error List has a File column, do you mean it's empty in your
case?
There are: Line, Column and Project name as well...

CS0246 means the following:
http://msdn2.microsoft.com/en-us/lib...xs(vs.80).aspx
Yes... the File column is empty for ALL of the errors that are generated,
so I can't click on them (as is the line and column values). The CS0246
that I mentioned was just an example - I don't need help on what that error
means. I'm trying to figure out why the file, line, and column values
aren't being reported, because this prevents me from being able to double-
click on them to go to the error. I have to manually search through my
entire code (without even knowing which file to look in) to figure out
where the error is.

-mdb
Mar 16 '07 #5
I am having the same problem and it is quite annoying. My old project worked fine (showing error file, line, etc...), but I copied the project and am working an a new version of the code and the file and line numbers aren't showing up anymore. I am not sure what is different between the projects. I am trying to delete things until it works again, but I haven't had any luck yet.

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
Mar 19 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Droopy Toon | last post by:
Hi, I think it is a FAQ but I found no answer to my problem. I created a C# program that called some C++ legacy code. I created 2 projects : 1) a DLL (IPRCommWrapper.dll) including an...
7
by: Philip Wagenaar | last post by:
I use a class to manage tiff's (written by someone else) to splitt multipage tiffs. However, when I run it, it fails, for other people it seems work ok. The method in the class is :public...
0
by: George Harig | last post by:
While building my deployment project I receive the following error Unable to build folder named "FOLDER_NAME". My projects compiles fine, the deployment project dose not. Are there any rules...
0
by: Rob | last post by:
Hope you can help me on this one. The scenario is this - i have integrated VS.NET with VSS and am now trying to set-up an automated build script which does the following: 1) Labels most recent...
4
by: Nick | last post by:
Hi there, I have a solution which consists of 2 class libraries and 2 executables which both consume these class libraries. I've set the correct dependencies in order for the VS to...
3
by: Richard Lewis Haggard | last post by:
I'm getting an error that should be easy but I don't understand the info structure well enough to know what's going wrong. I've been slowly adding classes and projects to a solution for a while....
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
1
by: brett | last post by:
When I build my project, the DLL goes into C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\102006\30f01177\e8169329\assembly\dl3\72d6e433\58abb7ce_4ff4c601\mywebsite.DLL. ...
4
by: slalande50 | last post by:
Hello, I am new at Python, approximately 2 weeks of experience, could someone help me please. I am trying to Automate build in Code Composer c5000 version 2.21. I am able to open a project and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.