C# interactive window in Visual Studio 2015 CTP 6 - c#

How I can get the C# interactive window? I have Visual Studio 2015 CTP 6 installed.
And I installed Roslyn, according to these instructions.
According to blog post Using the C# Interactive Window that comes with Roslyn, now I should see C# interactive at
View -> Other Windows -> C# Interactive Window
but it's absent.
Did I miss something?

Now you can have C# interactive in VS 2015!! After waiting it for 3 years!
http://blogs.msdn.com/b/visualstudio/archive/2015/10/08/visual-studio-2015-update-1-ctp.aspx
Wish you happy interactive coding!

Update (Nov 2016): It appears that the C# Interactive tool window has been reintroduced. I am using VS 2015 Update 3, which has it; but it has possibly been reintroduced with VS 2015 Update 1 already.
You missed the fact that the blog articles you link to were posted back in 2011, where VS 2015 was not even on the horizon yet. These articles applied to VS 2010 and (I assume) a very early version of Roslyn.
By the way, CTPs are preview versions of a product. As long as a Microsoft product is in the CTP stage, it is subject to the possibility of rapid and even short-term feature changes. So even if these articles did apply to VS 2015, they would have to be about the exact same version of the product that you are using; otherwise you would have no guarantee that they contained up-to-date information.
See also:
C# REPL feature request for VS 2015 on Microsoft's Visual Studio User Voice site
It appears the C# Interactive window worked for VS 2010 and VS 2012, but was no longer supported in some later versions of VS.

Visual Studio 2015 Update 1 was released, so the Visual Studio interactive window is back for C#.
UPDATE:
Visual Studio 2015 Update 2 has released recently.

According to the talks at Microsoft Build Conference 2015, C# interactive won't be shipped with VS 2015 RTM - But the code is available on GitHub which you can pull, build and install it yourself.

Yes, it is possible now.
In Visual Studio 2015, just go to View, Other Windows, Interactive C# and have fun.
Also, you can check the blog post Interactive C#.

It's available in Visual Studio 2015 update 2.

Related

visual studio c# extensions missing

I've search the web and found questions from 3-9 years ago.
My problem is that I can't find anywhere the .NET standard or Windows Console Application or Windows Desktop Application or class Library for C#.
When I had Visual Studio 2015 - it was there by default.
Today I have Visual Studio 2017 and window 10 and I can't get my things together.
Are they canceled?
What is the other option?
When I look at my New project library -> Online -> Visual C#
There are many different applications but non of them seems to come from Microsoft.
Meanwhile I've got a .NET Core API Solution template but it has a lot of errors.
Please help
visual studio c# extensions missing
Just like Joe said, you should use Visual Studio installer to install the modules you need. Visual Studio 2017 use the a new way to install Visual Studio! In the newest version, MS have made it easier for you to select and install just the features you need. MS have also reduced the minimum footprint of Visual Studio so that it installs more quickly and with less system impact than ever before.
After the installer is installed, you can use it to customize your installation by selecting the feature sets—or workloads—that you want.
For the .NET core API project, you need install module .NET Core cross-platform development.
Check the document Install Visual Studio 2017 for some more details.
Hope this helps.

Why does Blend need to change a project created in VS?

[I asked this question in MSDN in June and have had no replies as yet so I am hoping that I can get an answer here. A stackoverflow search for "uwp blend" yielded exactly 100 results, none of which are for the same issue as here.]
I created a brand new WIndows Template Studio solution - called "AppName" - with VS 15.7.3 and added a .NET Standard 2.0 class library project - called "ConversionService" - to the solution.
When I tried to open the solution in VS Blend 15.7.3 (same version number as VS) I got the following - rather scary - message:
One-way upgrade
Visual Studio will automatically make functional changes to the following projects in order to open them. You will not be able to open these projects in the version of Visual Studio in which they were originally created.
- ConversionService, "[location redacted]ConversionService.csproj"
Non-functional changes required
Visual Studio will automatically make non-functional changes to the following projects in order to enable them to open in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1. Project behavior will not be impacted.
- AppName, "[location redacted]\AppName.sln"
No changes required
These projects can be opened in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
- , ""
What does the above message mean? (I redacted the actual file locations.)
It seems to say that I won't be able to go back into VS to edit the ConversionService project, which is definitely something I want to be able to do.
Why does VS Blend 15.7.3 seemingly not like projects created in VS 15.7.3?
(I previously had the same issue with another completely separate solution containing UWP and NET Standard projects but I didn't need Blend for that.)

Enable C# 7 support in VSTS

It appears that VSTS does not support C# 7, as I'm getting a build error which would would indicate the C# 6 compiler is being used. How do I enable C# 7, or what am I doing wrong? I'm using Visual Studio 2017, targeting .NET 4.6.1.
I would rather not have to revert C# 7 changes I've added if possible. As can be seen in the screenshot of Visual Studio and the console in VSTS, there is a difference in the version of C# in use.
OK so it turns out that it was a simple fix, it was a counter-intuitive option in the UI. There's actually 2 places that configure the version of Visual Studio being used in VSTS. It needs to be set to Visual Studio 2017 or Latest and Hosted VS2017. Why there are 2 options is not very clear.

CefSharp.MinimalExample.WinForms display blank page when running on C# Visual Studio 2015

I really don't know what is wrong but since so many hours I just want to run the sample application but after downloading the .zip file and launch the project from the file CefSharp.MinimalExample.WinForms it seem to be built well after a while the the form display...loading the google page.... then the Windows keep showing the BLANK PAGE (See the image attached to my post) forever...As I did not change anything in the code of the sample application then I don't understand what is wrong at all. My working environment is:
Microsoft Visual Studio Community 2015
version 14.0.25431.01 Update 3
Microsoft .NET Framework
version 4.6.01055
Microsoft Visual C# 2015
Windows 10 OS
Notice also that I'm a beginner to C# and I use Nuget to manager the package.
Thank in advanced

GIT integration to show method history in Visual Studio

We use GitHub for our source code repository and Visual Studio for our development (C#). I downgraded from Visual Studio Professional (Trial) to Community Edition and somehow lost the GIT method history I had above each method signature. I've since reinstalled Pro version and still can't see it. This method history was very useful and looked something like:
Last Update 8/1/2015, 3 authors.
Void DoSomething() {}
Clicking on the status line would bring up things like "compare to previous version", history etc.
I'm not sure if it was a feature of Visual Studio Professional (doubtful) or one of the git extensions I possibly installed (see Tools->Extensions and Updates) or something else. I'm new to using GIT/GitHub, especially with Visual Studio and would appreciate some help. My specific questions
1. How do I get history/last author/etc for each method (not file)? Does it work under Professional and Community
2. What are some good Git Tools to install in Visual Studio to see changes/history, etc.? I'm using the command line to commit/push etc., but am not opposed to doing this from Visual Studio if it makes sense.
Thanks,
Dave
What you initially refer to is a feature of Visual Studio called CodeLens. It's available in the Professional and Enterprise editions of Visual Studio 2015, but not available in the Community edition.
To try and resolve this not working, I would:
Make sure you are actually running Visual Studio 2015 Professional edition, and not the Community edition.
Make sure you have Git for Windows installed.
In addition to the excellent answer by Steve (which I'm marking as answer), I'll note that I had additional problems (after installing Git for Windows).
I got errors at startup and didn't see the method info. The errors were:
The 'GitCollaborationPackage' package did not load correctly.
The 'FileIndicatorPackage' package did not load correctly.
The fix was to rename the componentmodelcache directory under C:\Users\cshar\AppData\Local\Microsoft\VisualStudio\14.0
See:
Packages not loading after installing visual studio 2015 RTM
or
http://kuebiko.blogspot.ru/2013/07/setsite-failed-for-package.html

Categories