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. General Programming
  3. C#
  4. .Net Bug, Anyone else have this problem...

.Net Bug, Anyone else have this problem...

Scheduled Pinned Locked Moved C#
helpcsharpvisual-studiowinforms
4 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.
  • T Offline
    T Offline
    T Jenniges
    wrote on last edited by
    #1

    .Net Bug: Myself and 4 other developers using .Net (C#) in the development of new software applications have the same problem with .Net. We are all working on different products seperately and have all seen the same bug. Bug: The user develops user controls (UserControl) and stores them in a common project. User adds this project to his main application project. User adds these controls to his forms in his project. User goes a few weeks to months designing his GUI. One day user opens his project to find controls and/or code missing from his forms. The damn generated code just disappears along with the controls on the form. This first happended to me 3 months ago and just reappeared again. I am one of these users. I use Source Safe, other people have used StarTeam with the same results. Retrieving previously saved versions from SourceSafe doesn't help because the .Net IDE has a mind of it's own and removes these controls once again. If anyone has any idea of what can be causing this or have experienced the same, please let me know. This is my first post here so if this has been a common topic before please excuse me. Thanks, TonyJ

    S 1 Reply Last reply
    0
    • T T Jenniges

      .Net Bug: Myself and 4 other developers using .Net (C#) in the development of new software applications have the same problem with .Net. We are all working on different products seperately and have all seen the same bug. Bug: The user develops user controls (UserControl) and stores them in a common project. User adds this project to his main application project. User adds these controls to his forms in his project. User goes a few weeks to months designing his GUI. One day user opens his project to find controls and/or code missing from his forms. The damn generated code just disappears along with the controls on the form. This first happended to me 3 months ago and just reappeared again. I am one of these users. I use Source Safe, other people have used StarTeam with the same results. Retrieving previously saved versions from SourceSafe doesn't help because the .Net IDE has a mind of it's own and removes these controls once again. If anyone has any idea of what can be causing this or have experienced the same, please let me know. This is my first post here so if this has been a common topic before please excuse me. Thanks, TonyJ

      S Offline
      S Offline
      Stephane Rodriguez
      wrote on last edited by
      #2

      Yes, that's known and easy to reproduce. To avoid it, read this[^].


      How low can you go ?
      (MS rant)

      T 1 Reply Last reply
      0
      • S Stephane Rodriguez

        Yes, that's known and easy to reproduce. To avoid it, read this[^].


        How low can you go ?
        (MS rant)

        T Offline
        T Offline
        T Jenniges
        wrote on last edited by
        #3

        .S.Rod., I am using fully qualified names for my controls. For example, private [namespace name].ControlName m_Control After I did this my code was actually stable for about 3 months and it just reappeared again last week. It reappeared after the library failed to build. I fixed the library bug that I introduced and now .Net has a mind of it's own. On my simplest form I readded my controls, closed and saved them, then reopened them to find the controls missing again. .Net IDE even removed some event handling code.

        S 1 Reply Last reply
        0
        • T T Jenniges

          .S.Rod., I am using fully qualified names for my controls. For example, private [namespace name].ControlName m_Control After I did this my code was actually stable for about 3 months and it just reappeared again last week. It reappeared after the library failed to build. I fixed the library bug that I introduced and now .Net has a mind of it's own. On my simplest form I readded my controls, closed and saved them, then reopened them to find the controls missing again. .Net IDE even removed some event handling code.

          S Offline
          S Offline
          Stephane Rodriguez
          wrote on last edited by
          #4

          Yes, I know. Make sure to use fully qualified using xxx; statement as well.


          How low can you go ?
          (MS rant)

          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