W
W
worldown2017-09-19 09:59:18
C++ / C#
worldown, 2017-09-19 09:59:18

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

4 answer(s)
M
Max Maximov, 2017-09-19
@maximka19

https://dotnetfiddle.net
LINQPad

P
Peter, 2017-09-19
@petermzg

In VS since 2015 - View/Other windows/C# Interactive
Description of features here

G
GavriKos, 2017-09-19
@GavriKos

It is in vizhla - no way. Because the project file just determines how and what to compile.
You can try via command line.

A
Alexey Pavlov, 2017-09-19
@lexxpavlov

You can use an online compiler like
https://www.tutorialspoint.com/compile_csharp_onli...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question