Answer the question
In order to leave comments, you need to log in
Is it possible to compile code in Visual Studio 2015/2017 without creating a project?
Hello. In Visual Studio 2015/2017, sometimes you need to test a small piece of code - C# || C++. At the same time, I do not want to create a project for this, generate new files ... Is it possible how?
Answer the question
In order to leave comments, you need to log in
In VS since 2015 - View/Other windows/C# Interactive
Description of features here
It is in vizhla - no way. Because the project file just determines how and what to compile.
You can try via command line.
You can use an online compiler like
https://www.tutorialspoint.com/compile_csharp_onli...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question