Do you have code that writes to the registry when your program runs?When you click the "Play" button in VS to test your code does it write to the registry to do so?
I'm getting the feeling that there was some assumed knowledge in the OP of this thread. Either that or you really do have ESP.If you have a class library project that is marked "Register for COM Interop", and VS is run as administrator (elevated), then building it will add it to registry also. In such case if VS is run non-elevated then you will get error from VS saying that it cannot register it because of access denied to registry.
There were two previous threads about this recently, I presumed that was what OP meant here alsoI'm getting the feeling that there was some assumed knowledge in the OP of this thread. Either that or you really do have ESP.