473,836 Members | 1,477 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1487
"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.borwr ote in
news:#w******** ******@TK2MSFTN GP03.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@makeDInt oDot_ctiusaDcom >
wrote:
"Rob Meade" <ku.shn.tsews.t ...@edaem.borwr ote innews:#w****** ********@TK2MSF TNGP03.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.goo glegroups.com:
>"Rob Meade" <ku.shn.tsews.t ...@edaem.borwr ote
innews:#w***** *********@TK2MS FTNGP03.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
1653
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 unmanaged C++ wrapper for legacy code and a managed C++ wrapper to allow C# to call this unmanaged wrapper 2) a C# Win application
7
7327
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 ArrayList SplitTiffImage(string outPutDirectory,EncoderValue format) { string fileStartString=outPutDirectory+"\\"+GetFileNameStartString(_ImageFileName); ArrayList splitedFileNames=new ArrayList(); try
0
1974
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 stating that you can not have a folder name repeated, even if a duplicate name folder is in a diffrent sub directory? e.g.
0
1256
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 version in VSS 2) Retrieves labelled version from VSS into separate build area 3) Uses devenv to rebuild the solution, including all sub-projects (*in the build area*) On step 3 i get the error "Unable to open web project ....the file
4
1520
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 automatically set the build order but I am still getting issues. On the first build every project builds in order and I recieve two error messages briefly at the end of the build which then vanish, the error messages are basically telling me that a value...
3
2561
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. There's a single test exe and a number of of# library classes. I needed to move two of the projects down one directory from their original position and did so my making the appropriate directory, copying the source to that directory, deleting the...
3
4418
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 really understand how this could be an issue. The assemblies that the system is complaining about are ones that we build here and we're not changing version numbers on anything. The errors come and go with no apparent rhyme or reason. We do not...
1
3662
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. The website runs fine on my local machine but when I upload files to the server, I get this error: Server Error in '/' Application. --------------------------------------------------------------------------------
4
3127
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 Build it. But the problem is that I can't specify the configuration. I presently have 3 different configuration for my project: Debug, Release and Simulation. Since the first configuration for the project is Debug, It is by default set to Debug. But...
0
9825
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10559
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10601
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10260
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9388
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7794
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5829
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4460
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4023
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.