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. Visual Studio
  4. Strange things happening in the IDE

Strange things happening in the IDE

Scheduled Pinned Locked Moved Visual Studio
csharpvisual-studiowinformshelptutorial
1 Posts 1 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.
  • D Offline
    D Offline
    Dy
    wrote on last edited by
    #1

    I'm working on a C# WinForms app in VS 2003. I have a user control, VUPeakMeter, which does nothing (it did do stuff, but because of this problem I've stripped it down, it now does nothing at all). I can include this user control on a form, the IDE doesn't seem to mind that. However, I have another user control, AudioPlayer, which uses VUPeakMeter. This control seems to be fine. In code, I can create an AudioPlayer in a form, and it runs and does what I'm after. If I view the form in the IDE the AudioPlayer disappears from the form and the IDE removes all the code related to it from my CS file, with the following message placed in the task list: An exception occurred while trying to create an instance of AudioPlayer.AudioPlayer. The exception was "File or assembly name VUPeakMeter, or one of its dependencies, was not found.". I get exactly the same message, except in a message box, when I try to drag an AudioPlayer from the toolbox to the form. FYI: I have checked the references are all okay. So I can use the control in code, but not in the form designer (which I could kinda do with!). Has anyone seen this problem, or can anyone give me a clue as to how to find out which dependencies it could be going on about? Maybe related: sometimes I can't compile the VUPeakMeter as the VUPeakMeter.dll and VUPeakMeter.pdb files are not accessable. I can't delete them either until a restart the IDE (it's using them I guess). What I do to get round that is rename the files and then the IDE can produce them.


    - Dy

    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