Where are my compile errors?
-
When I compile my ASP.NET website in Visual Studio, it does not give me any file/line information for the errors. Thanks to this, I cannot know where these errors even are. How can I make it show error locations?
------ Build started: Project: C:\...\Veebileht\, Configuration: Debug .NET ------
Validating Web Site(0,0): error CS0103: The name 'KasutajaõigusteSüsteemiKonfiguratsioon' does not exist in the current context
(0,0): error CS0103: The name 'KasutajaõigusteSüsteemiKonfiguratsioon' does not exist in the current context
(0,0): error CS0103: The name 'KasutajaõigusteSüsteemiKonfiguratsioon' does not exist in the current context
(0,0): error CS0103: The name 'KasutajaõigusteSüsteemiKonfiguratsioon' does not exist in the current context
(0,0): error CS0246: The type or namespace name 'StruktuuriElement' could not be found (are you missing a using directive or an assembly reference?)
(0,0): error CS0103: The name 'StruktuuriElement' does not exist in the current context
Validation Complete -
When I compile my ASP.NET website in Visual Studio, it does not give me any file/line information for the errors. Thanks to this, I cannot know where these errors even are. How can I make it show error locations?
------ Build started: Project: C:\...\Veebileht\, Configuration: Debug .NET ------
Validating Web Site(0,0): error CS0103: The name 'KasutajaõigusteSüsteemiKonfiguratsioon' does not exist in the current context
(0,0): error CS0103: The name 'KasutajaõigusteSüsteemiKonfiguratsioon' does not exist in the current context
(0,0): error CS0103: The name 'KasutajaõigusteSüsteemiKonfiguratsioon' does not exist in the current context
(0,0): error CS0103: The name 'KasutajaõigusteSüsteemiKonfiguratsioon' does not exist in the current context
(0,0): error CS0246: The type or namespace name 'StruktuuriElement' could not be found (are you missing a using directive or an assembly reference?)
(0,0): error CS0103: The name 'StruktuuriElement' does not exist in the current context
Validation CompleteHave you looked in the errors window?
-
Have you looked in the errors window?
Yes. There are no filenames or line numbers there, either.
-
Yes. There are no filenames or line numbers there, either.
It looks like you're missing a reference - have you checked those?
-
It looks like you're missing a reference - have you checked those?
I know what the error is but what I want is to see the filenames and line numbers on compile.