Skip to main content

All Questions

3 votes
1 answer
1k views

httprepl : Cannot start the REPL when output is being redirected

I created new api project in Visual Studio then i put command httprepl and cath error .imgur.com/T1SmT.png i totaly new in httprepl and does not understand why i get that error i have tried ...
Ros97's user avatar
  • 61
1 vote
1 answer
1k views

Can I call a C# function from the Immediate Window without compiling my whole project?

Back in my VB6 days, I could use the Immediate Window to run a quick sanity test on a function, even if the rest of my code was in a broken state: It was handy for quick and dirty REPL debugging. ...
rkagerer's user avatar
  • 4,294
4 votes
1 answer
758 views

Is it possible to use Immutable.Collections on C# Interactive?

I am using the C# Interactive window (i.e. the REPL) on Visual Studio 2019, with latest updates. I want to use immutable collections but can't get them to work. (I have no problem using them in a ...
Richard Pawson's user avatar
0 votes
1 answer
70 views

Console application prints differently than online compiler

I am writing a program for connect 4 that works very well. Only problem is that in visual studio the method public static void Display(char[,] board) { Console.Clear(); for (...
Algo's user avatar
  • 198
4 votes
0 answers
232 views

Can C# Interactive show timing information?

In F# Interactive, I can get timing information by using the #time directive: > #time;; --> Timing now on > [1..1000_000] |> List.rev |> List.head;; Real: 00:00:00.159, CPU: 00:00:00....
Mark Seemann's user avatar
3 votes
2 answers
467 views

Do you know any nice interface for C# Interactive standalone?

You can open the C# Interactive window in Visual Studio to use C# as a scripting an shell language. Unfortunately, this requires you to have Visual Studio open all the time. I know I can run csi.exe ...
KnorxThieus's user avatar
7 votes
4 answers
5k views

C# Interactive in Visual Studio Community on Mac

I'm trying to do some treehouse tutorials on C#. Unfortunately, the instructor is teaching this course in an windows machine with a windows version of VS Community while I follow along VS Community ...
Jose De La O's user avatar
12 votes
2 answers
3k views

Is it possible to use the c# "interactive window" instead of the immediate window in VS2017

The C# "interactive window" is more fully featured than the "immediate window". Is it possible to load the debug context into it during a debug session?
bradgonesurfing's user avatar
0 votes
2 answers
123 views

C# Interactive as VisualStudio/ReSharper plug-in

I'd like to do some "structural meta-programming" in C# (like in other languages as Smalltalk). For doing so I'd like to script, using a REPL-like tool that should run "inside" VisualStudio. Doing ...
Hernan's user avatar
  • 71
0 votes
1 answer
71 views

Is it bad practice to let Node.js talk to a REPL child process?

I have a Node.js process that spawns a child REPL process. This child process speaks C# and is able to load DLL files dynamically. I send input to the REPL using either methods or sometimes using a ...
Jochem Stoel's user avatar
  • 1,381
4 votes
3 answers
2k views

How to run Visual Studio C# Interactive scripts in windows?

How do you run the C# Interactive thing in Visual Studio as a stand-alone script host in windows? It seems a bit of a waste to only have the amazing possibilities of C# Script inside VS, it should be ...
NoOneSpecial's user avatar
9 votes
3 answers
14k views

VS2015 C# interactive: error CS7069: Reference to type 'Object' claims it is defined in 'System.Runtime', but it could not be found

I just updated to VS2015 Update 2, and started playing around with the C# interactive window. I wanted to use a static method in a static class in one of my .NET 4.0 targeted library projects, so I ...
Jeff's user avatar
  • 2,281
0 votes
1 answer
133 views

C# REPL Entity Framework .edmx

How to load entity framework in C# REPL in VS2015? I am trying to do it like this: var db = new Container("connectionstring"); db.Contacts.First(); I took connection string from web.config of my MVC ...
Andrey Biryulin's user avatar
26 votes
3 answers
8k views

Is it possible to automatically output value in C# Interactive (REPL) like Immediate does?

I started using C# Interactive and like the fact that I can browse and explore some API functionalities like I do with Immediate without the need to run and debug my program. The problem is that it ...
Vitor Canova's user avatar
  • 3,976
2 votes
1 answer
3k views

assembly loading problems using c# interactive

I have an assembly that i want to explore using c# interactive. The assembly has dependencies to other assemblies and assembly redirection is used in a config file. The other assemblies use data from ...
Mr Balanikas's user avatar
  • 1,681

15 30 50 per page