0

I need a command to only produce the source code with the roslyn source generator without starting a whole build.

Thanks in advance!

2
  • 2
    Try dotnet msbuild -t:compile or msbuild -t:compile. Commented Dec 19, 2022 at 16:30
  • @PauloMorgado Sorry for my late answer - thanks thats it! You can write it as an answer and I will tick it as solution. Commented Jan 4, 2023 at 12:07

1 Answer 1

1

No, there is no command to do this.

Sign up to request clarification or add additional context in comments.

1 Comment

@PauloMorgado 's comment solved it!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.