Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Where are my compile errors?

Where are my compile errors?

Scheduled Pinned Locked Moved ASP.NET
csharpquestionasp-netvisual-studiodebugging
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SanderSaares
    wrote on last edited by
    #1

    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

    P 1 Reply Last reply
    0
    • S SanderSaares

      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

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      Have you looked in the errors window?

      S 1 Reply Last reply
      0
      • P Paddy Boyd

        Have you looked in the errors window?

        S Offline
        S Offline
        SanderSaares
        wrote on last edited by
        #3

        Yes. There are no filenames or line numbers there, either.

        P 1 Reply Last reply
        0
        • S SanderSaares

          Yes. There are no filenames or line numbers there, either.

          P Offline
          P Offline
          Paddy Boyd
          wrote on last edited by
          #4

          It looks like you're missing a reference - have you checked those?

          S 1 Reply Last reply
          0
          • P Paddy Boyd

            It looks like you're missing a reference - have you checked those?

            S Offline
            S Offline
            SanderSaares
            wrote on last edited by
            #5

            I know what the error is but what I want is to see the filenames and line numbers on compile.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups