Do I have to be logged in for C++ realtime code build?

I was offline and tried to build a code in Visual, when editor is open then the build fails,
but if I close and recompile then it works.
Please HELP!!!

Thanks in advance…

I believe that I could compile in real time…

Edit: I don’t understand the part about being logged in. I think that has nothing to do with it.

You can not always compile code from Visual Studio if the Editor is running. If you want to add new classes or new functions you must close the Editor. If you only want to make changes within functions that are allready compiled before your Editor was open then you should be able to compile with it open.

Edit: I’m not stating this well.

Is compiling from Visual Studio with the Editor Open, but running off the Visual Studio build is the question?

You do not have to close the editor to add new code.

Thanks a lot it make sense, mikepurvis!!!