News for hackers. Stuff that matters.
Re:Visual Studio 2015 Update 2 by kpeel on Wednesday March 30, 2016 @02:12PM (#11391599)
I hope I'm not reading this wrong... But is the new "C# Interactive Window" a C# REPL? That would be amazing.
Re:Visual Studio 2015 Update 2 by daigoba66 on Wednesday March 30, 2016 @02:14PM (#11391612)
It's actually been there since Update 1.
Re:Visual Studio 2015 Update 2 by sea6ear on Wednesday March 30, 2016 @03:54PM (#11392408)
Thanks for this.

It was a welcome surprise to go to View->Other Windows and see this. I'll have to update soon to the new version to see the additional features it's gained.

Re:Visual Studio 2015 Update 2 by cmpb on Wednesday March 30, 2016 @03:07PM (#11392027)
Yes, but I've found it to be lacking usability-wise (e.g. it doesn't load the current project's dependencies, and it doesn't provide an easy way to load in dependencies from your project [someone please correct me if I'm wrong!]).
Re:Visual Studio 2015 Update 2 by daigoba66 on Wednesday March 30, 2016 @03:10PM (#11392058)
That's what Update 2 brings: "You can now initialize the C# Interactive Window with a project's context, allowing immediate access to types inside that project."
Re:Visual Studio 2015 Update 2 by cmpb on Wednesday March 30, 2016 @04:18PM (#11392627)
That is great news, thanks!
Re:Visual Studio 2015 Update 2 by smortaz on Wednesday March 30, 2016 @07:15PM (#11393754)
Yep! This started life as the PTVS (Python Tools for VS) REPL and now Python, Node.js, C#, R, ... are using it.
Re:Visual Studio 2015 Update 2 by dimgl on Wednesday March 30, 2016 @04:21PM (#11392654)
Is this any different from the Immediate Window in Visual Studio?
Re:Visual Studio 2015 Update 2 by MichaelGG on Wednesday March 30, 2016 @05:05PM (#11392998)
Immediate is AFAIK a limited subset available during debugging. C# Interactive is what F# has had for years (F# Interactive), and even Mono has had something like this for a while. You can enter snippets of C# and eval like a real REPL. Update 2 brings project context support so you can just open the REPL and do stuff like var x = new MyType().
Re:Visual Studio 2015 Update 2 by sunnya on Wednesday March 30, 2016 @05:23PM (#11393126)
You might want to check out a web based C# REPL: http://csharppad.com
Re:Visual Studio 2015 Update 2 by mike1o1 on Wednesday March 30, 2016 @08:17PM (#11394084)
scriptcs (http://scriptcs.net/) is another awesome REPL for C# that's built on top of Roslyn. I've found it to be extremely flexible and handy for writing quick tools.
Re:Visual Studio 2015 Update 2 by kelvin0 on Wednesday March 30, 2016 @02:52PM (#11391906)
Anyone have worked with Cordova? What are the uses cases where I could envision using it (pros, cons)? As I understand it's used to package a Web App into a Mobile specific bundle for deployment?
Re:Visual Studio 2015 Update 2 by polskibus on Wednesday March 30, 2016 @03:24PM (#11392183)
I used it to repackage an asp mvc angular app onto mobile. Fairly poor experience, like problems with starting up the emulators, etc. You end up writing a lot of gulp scripts to do the conversion - all manual work. I had to convert from old style csproj app onto Cordova that uses project.json scheme - quite tedious if you ask me.
Re:Visual Studio 2015 Update 2 by kelvin0 on Wednesday March 30, 2016 @03:26PM (#11392206)
How was the performance? Was it close to Native for your users?
Re:Visual Studio 2015 Update 2 by polskibus on Wednesday March 30, 2016 @04:26PM (#11392696)
The app was fairly simple, we had glitches but they were related to angular and not Visual Studio specific
Re:Visual Studio 2015 Update 2 by hbcondo714 on Wednesday March 30, 2016 @03:39PM (#11392302)
I've been using Visual Studio 2015 Update 1 for Phonegap and Ionic apps and working on files is noticeably slower than other project types such as asp.net mvc. I just end up using the cli to perform tasks but I'm hoping this update along with the git improvements make things better.
Re:Visual Studio 2015 Update 2 by dvcc on Wednesday March 30, 2016 @01:45PM (#11391332)
So it looks like they still won't be supporting ES6 module imports, which just screws everything up when trying to do anything with js. Sad to see.
Re:Visual Studio 2015 Update 2 by AaronFriel on Wednesday March 30, 2016 @02:14PM (#11391616)
It looks like they're working on it and it's supported in the latest Node Tools releases? https://github.com/Microsoft/nodejstools/issues/77#issuecomm...
Re:Visual Studio 2015 Update 2 by dsp1234 on Wednesday March 30, 2016 @02:25PM (#11391695)
Specifically:

"This feature is currently available if you switch on the new ES6 IntelliSense Preview mode, available in the latest NTVS release. "

Re:Visual Studio 2015 Update 2 by dvcc on Wednesday March 30, 2016 @02:28PM (#11391726)
I think that is just for the NTVS plugin but VS itself still does not: https://visualstudio.uservoice.com/forums/121579-visual-stud...
Re:Visual Studio 2015 Update 2 by WorldMaker on Thursday March 31, 2016 @03:13PM (#11399763)
The release notes point to a switch to "Salsa" for JS intellisense. Salsa is based on the TS intellisense service (it is run by the TS intellisense service) and the same one used these days by VS Code. At least what I've seen in VS Code, Salsa seems fine with ES2015 import syntax and intellisense. (That said, almost all of my code is TS, so I'm not sure I've hit any specific use cases you are particularly looking for support in.)
Re:Visual Studio 2015 Update 2 by dvcc on Thursday March 31, 2016 @03:41PM (#11399990)
Did the update today and gave it a try but it looks like it still complains on the imports, but JSX parsing did still improve at least!
Re:Visual Studio 2015 Update 2 by vetinari on Wednesday March 30, 2016 @01:39PM (#11391272)
Is an ISO for offline update available at all? Microsoft surely makes it hard to find.
Re:Visual Studio 2015 Update 2 by mmebane on Wednesday March 30, 2016 @02:41PM (#11391821)
They released an ISO for Update 1, so chances are there will be one for Update 2.

In the meantime, you can download the online installer [1] and run

    vs2015.2.exe /Layout
to launch the downloader, which should create a folder which contains everything that you would find on the update ISO. (EDIT: This seems to result in a 4.53 GiB download, so definitely smaller than the 6.95 GiB full install ISO.)

[1]: http://go.microsoft.com/fwlink/?LinkId=691129

Re:Visual Studio 2015 Update 2 by tonyedgecombe on Wednesday March 30, 2016 @02:10PM (#11391585)
You can reach it at https://www.visualstudio.com/downloads/download-visual-studi...

Use the menu on the left of the page and select ISO.

Re:Visual Studio 2015 Update 2 by vetinari on Wednesday March 30, 2016 @02:16PM (#11391632)
Oh, great, they updated the installation isos, thanks.
Re:Visual Studio 2015 Update 2 by vonzeppelin on Wednesday March 30, 2016 @01:48PM (#11391371)
There appears to be one available on the MSDN downloads page at least.
Re:Visual Studio 2015 Update 2 by vetinari on Wednesday March 30, 2016 @02:17PM (#11391635)
Thanks, but I don't have MSDN :(.
Re:Visual Studio 2015 Update 2 by wernercd on Wednesday March 30, 2016 @02:31PM (#11391754)
Oh... you silly peasants...

Then again... I only have an MSDN subscription because my previous job STILL hasn't removed me from their lists. Not that I expect them to with the clowns they replaced my previous company with.

Very nice perk to still have.

Re:Visual Studio 2015 Update 2 by artmageddon on Wednesday March 30, 2016 @03:13PM (#11392089)
Scoop up those ISOs while you still can! This happened to me too, but they'll get to yours eventually.
Re:Visual Studio 2015 Update 2 by Stratoscope on Wednesday March 30, 2016 @03:59PM (#11392458)
And even more importantly, claim your product keys! And then download those puppies with the Export to XML option in the My Product Keys page.

Note that you can only claim a limited number of keys per day. So don't get carried away claiming all five keys on one product, then all five on the next, etc. You will soon hit your daily limit. Spread your claims out among the products you think you might need until you run out, and then come back the next day to claim more.

Re:Visual Studio 2015 Update 2 by kelvin0 on Wednesday March 30, 2016 @02:51PM (#11391900)
I've always wondered what the subscription 'perks' were? All the docs are online, and there are a ton of tuts ... what am I missing?
Re:Visual Studio 2015 Update 2 by wernercd on Wednesday March 30, 2016 @03:15PM (#11392103)
* "Free" keys * ISO's * Azure allowance per month * Pluralsight videos (not all, 45 hours worth) * Microsoft E-Learning * MSDN Magazine

Other odds and ends...

Re:Visual Studio 2015 Update 2 by taspeotis on Wednesday March 30, 2016 @07:23PM (#11393791)
Visual Studio Enterprise
Re:Visual Studio 2015 Update 2 by uptownJimmy on Wednesday March 30, 2016 @09:19PM (#11394350)
So nice.
Re:Visual Studio 2015 Update 2 by nickysielicki on Wednesday March 30, 2016 @03:02PM (#11391995)
free keys for nearly every MS product
Re:Visual Studio 2015 Update 2 by Someone1234 on Wednesday March 30, 2016 @04:58PM (#11392951)
Free = $2,999 per year...
Re:Visual Studio 2015 Update 2 by vetinari on Wednesday March 30, 2016 @05:28PM (#11393180)
That's why we have Action Pack, which is 360 EUR/year.

Supposedly it should contain Visual Studio too, but I cannot see the isos on the download page. R Studio for Redhat and SuSE, on the other hand... ;)

Re:Visual Studio 2015 Update 2 by daxfohl on Wednesday March 30, 2016 @03:45PM (#11392343)
Have they fixed the bug that causes it to hang when updating a project file from outside of VS? (e.g. `git checkout x` from the command line)?
Re:Visual Studio 2015 Update 2 by ygra on Wednesday March 30, 2016 @05:45PM (#11393279)
Do you use ReSharper? Because in large solutions it's usually that which causes the hang on project changes for me.
Re:Visual Studio 2015 Update 2 by daxfohl on Wednesday March 30, 2016 @09:47PM (#11394469)
I don't, but here's the issue on connect, for whatever that's worth. Quite a number of repros: https://connect.microsoft.com/VisualStudio/Feedback/Details/...
Re:Visual Studio 2015 Update 2 by iimpact on Wednesday March 30, 2016 @06:27PM (#11393532)
Yeah, this happens to me as well. ReSharper caches a lot of stuff, and with the size of our solution, the memory consumption on VS is crazy. This usually leads to a forced restart so that VS acts normally again.
Re:Visual Studio 2015 Update 2 by louthy on Friday April 01, 2016 @12:24AM (#11402599)
They don't seem to have fixed much at all, it's still a total dog - massive memory hog, lots of random lock-ups and crashes. The classic is the pop-up telling you it's working on showing you a pop-up. And even introduced new issues (like including files from gitignore in the change-sets). I'm this close (holding fingers very close together) to just dumping the thing for a text editor. VS2015 has been a total car crash as far as I'm concerned.
Re:Visual Studio 2015 Update 2 by joshschreuder on Wednesday March 30, 2016 @06:45PM (#11393609)
I use Resharper and don't get this issue (didn't get it on Update 1 either) - if the project file is updated, VS will tell me that the project file is updated and ask me if I want to reload the project.
Re:Visual Studio 2015 Update 2 by nly on Wednesday March 30, 2016 @01:31PM (#11391159)
Takes an age to install for a mere 6 GB (minimal).
Re:Visual Studio 2015 Update 2 by grokys on Wednesday March 30, 2016 @02:16PM (#11391624)
This version actually installed a lot faster than the last update for me. Still kinda slow but not half-a-day slow.
Re:Visual Studio 2015 Update 2 by ChristianGeek on Wednesday March 30, 2016 @11:35PM (#11394811)
Just installed the VS15 Preview in 5 minutes...very nice!
Re:Visual Studio 2015 Update 2 by pcunite on Wednesday March 30, 2016 @02:53PM (#11391917)
Where you able to find the SHA1 for the ISO download?
Re:Visual Studio 2015 Update 2 by grokys on Wednesday March 30, 2016 @03:11PM (#11392071)
No, I just did the online update.
Re:Visual Studio 2015 Update 2 by ChristianGeek on Wednesday March 30, 2016 @11:39PM (#11394820)
Note that there's a bug with C++ projects that causes update 2 to crash repeatedly. Microsoft has acknowledged it and says they're working on a fix. It has something to do with accessing managed code.
Re:Visual Studio 2015 Update 2 by Pxtl on Thursday March 31, 2016 @01:08AM (#11395111)
I'm a little sad to read very little improvement in the raging dumpster-fire that is SQL Server Data Tools.
Re:Visual Studio 2015 Update 2 by johnhattan on Wednesday March 30, 2016 @01:28PM (#11391129)
Looks like the update is for both 2015 Enterprise and 2015 Community.
Re:Visual Studio 2015 Update 2 by pcunite on Wednesday March 30, 2016 @02:52PM (#11391905)
Excellent. Need to update the SHA1 values.
Re:Visual Studio 2015 Update 2 by joshka on Wednesday March 30, 2016 @11:36PM (#11394818)
SHA1 values from MSDN. I haven't checked these personally, but I imagine this is automated on there.

TFS Update 2: 520461A14118C744358A18662C49E08BD35EA0E8

VS Update 2: 269FA5FE823263718DA056D465BF8EB19C87ECD8

VS Pro with Update 2: 68FA2C4406D681FCBB0772D96233540FF194E938

VS Ent with Update 2: C966B61E4E35210C7C186D4EC1A0450B0A0FBF9C