Skip to content

How can the source code generator generate code immediately when inputting instead of waiting until compilation? #7663

Closed Answered by sgf
sgf asked this question in Q&A
Discussion options

You must be logged in to vote

i have soloved,
I have solved the problem. In fact, the source code generator + VS can detect code changes in near real-time. The reason why it does not work is simply because you need to compile the source code generator and then restart VS. Then wait for the project to be completely loaded, and then Switch to the corresponding code page, and then the debugger [Debugger.Launch();] will take effect.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@333fred
Comment options

Answer selected by sgf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants