r/programming • • May 10 '17

Visual Studio 2017 for Mac is Now Generally Available

https://www.thurrott.com/dev/115708/visual-studio-2017-mac-now-generally-available
608 Upvotes

203 comments sorted by

177

u/Dunge May 10 '17 edited May 10 '17

Sorry to be that guy, but the submission should point to the official site or today's release notes instead of some blog trying to get easy ad revenues.

0

u/[deleted] May 11 '17

[deleted]

46

u/Creshal May 11 '17

Nah, fuck it. "Journalism" can go and die if it doesn't add any value.

92

u/tjgrant May 10 '17

So I'm trying to install it, and it's defaulting to Japanese for no apparent reason.

Interesting launch bug, I guess?

43

u/doom_Oo7 May 10 '17

interestingly, I sometimes also have the Qt installer randomly default to Japanese on macOS. Maybe a deeper bug in the system ?

21

u/NoMoreNicksLeft May 11 '17

You're probably Japanese and never realized it. Go check in a mirror.

20

u/phughes May 11 '17

Funny. It's defaulting to German for me.

I have German setup as an alternate language in the Language & Region preference pane. I'd guess it's checking the installed languages and picking the first or last one, assuming the list is sorted in the wrong direction.

14

u/vplatt May 11 '17 edited May 11 '17

Wanna bet the code goes with element [1] or +1 instead of starting at [0]?

Words fail me...

Edit: No really. Words fail me. I don't speak German.

2

u/tms10000 May 12 '17

Ich bin ein Developer!

→ More replies (1)

77

u/IAMA_Cucumber_AMA May 10 '17

damn weeaboos

10

u/[deleted] May 11 '17

Sounds more like weeware

8

u/nangtoi May 11 '17

I got French for my install.. hopefully it doesn't indicate the quality of the software. So far I've been relying heavily on Google translate.

5

u/[deleted] May 10 '17

Best part is that the text is now too long for the box, and is overflowing past the border.

2

u/[deleted] May 11 '17

Mine defaulted to French. Is there a language file somewhere in the dmg? edit well I guess I'm gonna install this next week.

0

u/[deleted] May 10 '17

[deleted]

33

u/BrainlessBox May 10 '17

For the lazy.

According to Google translate: "Everyone seems to want a Japanese programming language"

50

u/kreekkrew May 11 '17

To be fair, that gives you a good 6000 one-character variable names.

→ More replies (3)

4

u/Creshal May 11 '17

…Ruby?

→ More replies (5)

3

u/[deleted] May 11 '17

We have one at my work ... sadly it's COBOL.

3

u/HomageToAShame May 11 '17

ルビーでしょうか?

4

u/mrkite77 May 11 '17

Heh, yeah, Ruby is a popular japanese programming language.

10

u/LeCrushinator May 10 '17

Can't find any license information. I'm not even sure if I could use this.

9

u/dimsedane May 10 '17

They said on stage that it follows Visual studio license. So if you are elligable for Community, you can use this for free, and if you are already paying for studio that covers this as well

7

u/negative_epsilon May 10 '17

Since clicking on the Visual Studio Community for Mac link brings you just to the regular VS Community page, I imagine the license is the same:

An unlimited number of users within an organization can use Visual Studio Community for the following scenarios: in a classroom learning environment, for academic research, or for contributing to open source projects.

For all other usage scenarios: In non-enterprise organizations, up to five users can use Visual Studio Community. In enterprise organizations (meaning those with >250 PCs or >$1 Million US Dollars in annual revenue), no use is permitted beyond the open source, academic research, and classroom learning environment scenarios described above.

5

u/LeCrushinator May 10 '17

no use is permitted beyond the open source, academic research, and classroom learning environment scenarios described above.

So most large companies wouldn't be able to use this? That seems odd.

15

u/negative_epsilon May 10 '17

I mean... large companies will use the professional or enterprise versions.

→ More replies (3)

6

u/Matthew94 May 10 '17

So most large companies wouldn't be able to use this? That seems odd.

Because they have the money to afford it. How do you expect MS to make money?

→ More replies (2)

1

u/NickBR May 10 '17

So... is there an enterprise license available then?

3

u/negative_epsilon May 10 '17

Yeah, it looks like they offer Professional and Enterprise versions, the same as Windows. https://www.visualstudio.com/vs/visual-studio-mac/

5

u/LeCrushinator May 10 '17

Here's the enterprise link: https://www.visualstudio.com/vs/enterprise/

$3000 per user per year. I guess I'll just stick with MonoDevelop or VSCode for now.

2

u/frundock May 11 '17

Professionnal licence is a one time 500$. Then there is a whole bunch of different packages available depending on what you do. The biggest most bloated package was already mentioned at 3000$/yr

1

u/Archerofyail May 10 '17

Individual devs can use it for paid or free apps, companies can you is for academic or open source purposes

54

u/pure_x01 May 10 '17

There is also project Rider which is cross platform Linux, OSX and it also supports Windows ;-).

10

u/ThunderBluff0 May 10 '17

I tried it but the lack of a package manager console meant it was too much extra work learning to do everything from various CLIs so I gave up on it. Hoping they improve it.

0

u/[deleted] May 11 '17

[deleted]

4

u/-ZeroStatic- May 11 '17

I've used Rider recently and it did have debugging? Used it to fix some bugs in a public C# project.

1

u/makkynz May 11 '17

It doesn't have debugging? Why would anyone realistically use it?

8

u/imma_reposter May 11 '17

It had but MS withdrew the debugging package from nuget, breaking rider. They're in the process of writing their own. It still has debugging on windows currently.

→ More replies (3)

5

u/Sejsel May 11 '17

It does have debugging. The missing debugging was for Linux/Mac with .NET Core.

3

u/[deleted] May 11 '17

It does though. It's even better than visual studio's debugger

7

u/[deleted] May 11 '17

Hope they don't leave Linux in the dust.

6

u/imma_reposter May 11 '17

There's always project rider.

→ More replies (1)

-9

u/OneWingedShark May 11 '17

I hope they do.

5

u/[deleted] May 11 '17

Why would you say that?

3

u/OneWingedShark May 11 '17

Why would you say that?

Because the *nix-mindset is so utterly consumed/infatuated by two items that are hindering more useful tools (now, it's actually true that a lot of programmers have this mindset, regardless of the system they use... but *nix-users are particularly illustrative); these items are:

  • plain text, and

  • file-systems (to include the POSIX-mandated structures).

Let me explain how they hold back better tooling.

First, I'll use file-systems.
The dependence on certain file-system structures is fragile, easily broken when someone customizes it away from the 'standard' structure. -- Besides this, the reliance on FS-structure is easily messed up in respect to the source-files of the program (some could have been moved or deleted, some could have been partially edited and left in an inconsistent state or renamed and not had those sources depending on it updated)... oh and using the FS timestamp to determine what needs recompiled is so broken that there's a utility dedicated to working around the problem (touch) -- In short, using the FS as we are (as an underpowered database) is a poor way to go about things.

Secondly, [plain-]text.
Text is a terrible medium for the "natural representation" of a program -- there's no way to ensure that the source is consistent save running it through lexing and parsing (and maybe semantic analysis), and you have to keep doing it again and again... moreover, the lack of structure in the text-file forces our tools to be inefficient, both with respect to calculations and the processes used. (Diff is a good example here, a 'dumb' diff is going to flag all the irrelevant changes [like converting from spaces to tabs for indentation], a 'smart' diff is going to run through the lexer [and maybe parser] to determine which whitespace changes are irrelevant and filter those out.)

So, combined with the anemic "database" functionality of the file-system, [unstructured-]text-files are really a terrible way to represent/store the data that is the program. -- The proper way to represent the program is with a meaningful structure, mapping to correct code; the proper way to store this structure would be in a real database.

In fact, such a setup could eliminate so-called "continuous integration" by how it is constructed. Imagine a database, hierarchically [tree] structured, so that the parent-node is only updated when all its children are consistent (ie compilable)... thus, the root node is only updated when the entire program is consistent/compilable. (Add journalling/rollback to the root and you also immediately have a record of every time the program was compilable; add a test-suit which must pass before merging upward and you have [a form of] regression-testing.)

So, yeah, I want to see Linux left in the dust -- because if they are they just might decide to do things better than the competition... though, of course, they could always simply ape the competition, always playing catch-up.

→ More replies (2)

6

u/mattkenefick May 11 '17

I installed the beta and it's actually quite nice

17

u/GoTheFuckToBed May 10 '17

Mobile first, cloud first.

42

u/jgalar May 10 '17

Marketing apparently faced a very hard dilemma.

7

u/iconoclaus May 11 '17

everything comes first, but somethings come first more than others

4

u/jack104 May 11 '17

What does "generally available" mean?

2

u/[deleted] May 11 '17

Out of preview? Maybe?

2

u/Sanders0492 May 11 '17

The availability is general. ¯_(ツ)_/¯

3

u/jack104 May 11 '17

Definitely general over admiral.

16

u/twiggy99999 May 10 '17

Linux next maybe?

3

u/amgaera May 11 '17

If you'd like to see a version of Visual Studio for Linux, you can vote/leave feedback here: https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/18433768-visual-studio-for-linux-os

10

u/fwork May 10 '17

There's always Visual Studio Code.

But yeah. Having the Visual Studio C++ compiler on Linux would solve about half the problems I deal with at my job.

14

u/kukiric May 10 '17

Sadly, it seems they haven't even ported the C++ compiler to Mac, so it's just C# and other CLR languages, and only for .NET Core and Mono/Xamarin targets (no .NET Framework).

13

u/enzlbtyn May 11 '17

Why do they even need to port the C++ compiler? Why not use clang on MacOS, which is the default compiler on the operating system?

1

u/Solon1 May 11 '17

I think if MS used clang, they have to realize they spent millions of person hours on their compiler, but clang is better.

12

u/Sarcastinator May 11 '17

Clang is supported as a compiler front end.

5

u/[deleted] May 11 '17

I thought that Clang was actually already partially supported on the Windows VS?

→ More replies (1)

1

u/Fazer2 May 10 '17

What problems would it solve for you?

13

u/fwork May 10 '17

My company's product is primarily GCC based, but we build on clang and Visual Studio in order to find bugs only those compilers catch.

We're primarily a linux organization, so having windows machines in a largely linux-based continuous integration system is a bit of a rough point. Everything else we do can be done over SSH or in a docker container on a headless server, but windows is different enough that we have someone who pretty much handles their unique problems full time (that would be me)

Being able to just kick off a Visual Studio build in linux would be so much easier.

1

u/PM_ME_OS_DESIGN May 12 '17

There's always Visual Studio Code.

Not visual studio, despite the name. Damn Microsoft bullshit naming schemes.

→ More replies (1)

1

u/Follpvosten May 11 '17

Since (according to the other comments) this is just an upgraded version of the Xamarin fork of MonoDevelop, it's already there. The only thing really missing are the Xamarin plug-ins, which annoys the hell out of me because it means i have to keep using a Windows VM for Xamarin development.

1

u/Prince_Panda May 10 '17

if only they did that.

→ More replies (3)

11

u/terserterseness May 10 '17

I don't understand this. I use the latest updated version of the Preview edition all day every day and it is awful. Just like Xamarin studio it is instable and generally buggy. How is this 'generally available'?

10

u/gulbanana May 11 '17

well, it's available to the general public

12

u/Tom_Cian May 10 '17

You know we live in strange times when Microsoft is more developer friendly on MacOS than Apple.

3

u/BonzaiThePenguin May 11 '17 edited May 11 '17

What makes them more developer friendly? Apple has developer tools too and Xaramin isn't exactly fantastic. Edit: and their licensing is far more restrictive, and it only really supports C# (no .NET or C++), and Windows 10 S is a thing, and...

10

u/_zenith May 11 '17

Because you can't get Xcode for Windows or Linux... or compile for Mac from those targets

4

u/BonzaiThePenguin May 11 '17

The assertion is that Microsoft is more developer friendly on macOS than Apple is on their own operating system, not that they are more developer friendly on Linux.

4

u/_zenith May 11 '17

Oops, I'd also meant to say that Xcode does not allow you to target other OSes (technically, you can I guess, but with much greater difficulty)

→ More replies (3)

1

u/[deleted] May 11 '17

Good news for Apple, the more choices the better, although I think xCode with Swift will still offer a superior experience. But I guess for those who want to be cross platform with Windows, this could be interesting.

1

u/whozurdaddy May 11 '17

Thats where I dont understand the immediate hate. Microsoft is first and foremost a software company. Despite common belief, they have no allegiance to the PC platform, nor should they. Anything thta brings more software to the mac, especially cross platform, ought to be welcome. Im a developer who doesnt care to learn new languages like Swift or Objective-C, but would like to bring apps to Mac users. And if people dont like that, then someone needs to tell Java.

1

u/bumblebritches57 May 11 '17

But we already have Xcode? what's the point?

1

u/whozurdaddy May 11 '17

bring more developers (and software) to the Mac.

1

u/bumblebritches57 May 11 '17

Yeah, that's not really a problem, hasn't been since the iPhone came out.

1

u/giorgosn93 Jul 14 '17

anyone got any decent reviews about the visual studio 2017 for Mac ? I installed it and tried to import an MVC .NET Core project from github but two main namespaces are not recognized:

-System.Device.Location -Web.Entity

Any recommendations or solutions or reviews ?

1

u/giorgosn93 Jul 20 '17

I have created a subreddit for VS Mac developers: https://www.reddit.com/r/VisualStudioForMac/

-7

u/icantthinkofone May 11 '17

This is great. Now Mac users can be just as good as Microsoft coders. And it helps run Microsoft code on Macs. Now Mac users and programmers can be just as good as Microsoft coders and users. None of that Apple crap that no Apple user would want. Or anyone else for that matter.

We can only hope this moves Microsoft further into the Linux world so Linux users and programmers, too, can become as good as Microsoft users and coders cause we all know how great Microsoft programs are. The best!

Long live Microsoft and may they further move into the Mac and Linux world and reign supreme!

1

u/[deleted] May 11 '17

No thanks, why would I use C# when I already have Swift, ton of libraries and two good IDEs to choose from xCode and AppCode.

Mac users want their apps to look at behave native. You are never going to get this with this emulation layer on top.

Also I can only imagine how kludgy and akward it would be to hook together a GUI in a completely static language like C#. Okay Swift is static as well but at least it has support for selector objects.

1

u/whozurdaddy May 11 '17 edited May 11 '17

No thanks, why would I use C# when I already have

Microsoft doesnt want you to switch to VS. They want Windows developers to bring C# apps to Macs. Your platform gets more software, and Microsoft gets more VS users and C# developers. No one really loses here.

→ More replies (4)

0

u/[deleted] May 10 '17

[deleted]

141

u/throwawayco111 May 10 '17

Blame MS for that. That's the name they decided to use.

58

u/nemec May 10 '17

Visual Studio for Mac is an updated version of what used to be Xamarin Studio for Mac

I suppose it kind of makes sense now that Xamarin is owned by Microsoft, but yeah very misleading when placed next to Windows' VS.

17

u/iskin May 11 '17

It reminds me of when Microsoft gave One Drive For Business (with unlimited storage) away with except it was basically SharePoint. Then it started overwriting files with blank data which was a previous SharePoint problem.

36

u/Luolong May 11 '17

See. Feature parity!

8

u/funguyshroom May 11 '17

And they renamed Lync to Skype For Business when Skype and Lync are very different.

6

u/Oceanswave May 11 '17

MS is awful with naming -- how about groove music, previously Xbox music previously Zune music, not to be confused with Microsoft Office Groove, renamed to SharePoint Workspace, now incarnated as OneDrive for Business

4

u/TwistedPurpose May 11 '17

... oh. :( so that's what they meant today

0

u/[deleted] May 11 '17

[deleted]

23

u/chucker23n May 11 '17

As Scott Hanselman pointed out (he actually explicitly said this) Visual Studio on Mac is not just a renamed Xamarin Studio.

But it is. As far as I can tell, it's .NET-only (unlike VS/Win), i.e. no native apps, no Qt apps, etc. It doesn't support WPF or Windows Forms, unlike VS/Win. It doesn't have stuff like IntelliTrace. It has no tooling for SQL Server — no Management Studio, no Data Tools, etc.

They may aspire for it to become something broader, but name one major thing VS/Mac does right now that XS didn't?

I'm actually torn on the branding. I can see myself having branded it VS/Mac, too, but I also see many people confused about what this is and isn't. And that's entirely their own fault.

→ More replies (2)

64

u/topher_r May 10 '17

Oh I do. I think they do it intentionally for this kind of coverage.

18

u/Phrodo_00 May 10 '17

Not the first time microsoft does this. I think I recall Outlook for mac is also a rebranded acquisition.

8

u/chucker23n May 11 '17

No, you're thinking of Outlook for iOS, which used to be Acompli.

Outlook for Mac was preceded by Claris Emailer/Outlook Express/Entourage. I'm not sure to what extent the current Outlook still uses that codebase, though.

2

u/vplatt May 11 '17

Does it work?

15

u/ggtsu_00 May 10 '17

Yeah again with the bad Microsoft branding again. This is just a reskinning and rebranding of Xaramin Studio, and has nothing really to do with the actual core visual studio itself except in name only. Same thing with Visual Studio Code.

1

u/[deleted] May 11 '17

Reading a comment at Hacker news by a Microsoft employee, they are in fact adding Visual Studio plugins and code to Xamarin Studio, so this is a lot more than just a rebranding.

1

u/[deleted] May 11 '17

Xamarin studio had been using Roslyn for a while now so it's the same code base for .NET development as VS on PC.

13

u/Kavec May 10 '17

Can I ask what are the main differences? I can't find the info in the linked article.

33

u/Evervision May 10 '17

From the article:

Visual Studio for Mac is an “evolution” of Xamarin Studio. This makes sense, since Xamarin already had a Mac version of its development environment.

The UX is “inspired” by Visual Studio for Windows. Visual Studio for Mac is “a counterpart of the Windows version of Visual Studio at its heart,” Microsoft says, and it has a familiar workspace with a tabbed source code editor, Solution and Toolbox views, and more. But it also looks like a “native citizen of macOS.”

So not Visual Studio but for Mac, but Visual Studio 'inspired' version of Xamarin Studio.

It’s focused on C#. While Visual Studio for Windows supports multiple languages out of the box and is extensible to support many others, Visual Studio for Mac focuses on God’s perfect language, C#. (OK, it also supports F# too.) In fact, Visual Studio for Mac is written entirely in C# itself.

Doesn't support all the languages Visual Studio for Windows does.

3

u/RedditorFor8Years May 10 '17

So, no support for Javascript / Node.JS ?

18

u/Evervision May 10 '17

Doesn't look like it. They probably suggest Visual Studio Code for that.

3

u/RedditorFor8Years May 10 '17

Damn, I got really excited for a minute there...

11

u/luxtabula May 10 '17

Vscode is really good and worth a try. I highly recommend it as well as atom and sublime

14

u/lambdaexpress May 11 '17

Recommending Atom on Reddit? Is that a shotgun I hear being loaded in the background?

5

u/LeCyberDucky May 11 '17

I'm a bit out of the loop here. Can you tell me why Reddit dislikes atom?

→ More replies (20)
→ More replies (1)
→ More replies (1)

76

u/topher_r May 10 '17

This isn't just differences, this is MonoDevelop rebranded. It's totally different software with the same name.

10

u/theblang May 10 '17

Wow, no wonder I was confused the other day when I wanted to try out .NET Core development on my Mac.

13

u/Dunge May 10 '17

Try Visual Studio Code for this. It lacks some more advanced features of Visual Studio, but just to try core and web development on Mac I believe it's the best choice.

14

u/geodel May 10 '17

Yeah, but these days webapp wrappers are called native applications. One should be thankful that MS Access or something is not called SQL Server for Mac.

6

u/EntroperZero May 10 '17

Yeah, last time I used MonoDevelop, it was anything but a seamless transition.

-32

u/Megacherv May 10 '17

Wait... Wut? It's 'Visual Studio for Mac', what's misleading?

25

u/HeimrArnadalr May 10 '17

It's based off of the Mac edition of Xamarin Studio.

-32

u/Megacherv May 10 '17

Which is 'Visual Studio for Mac', which is what they announced.

33

u/HeimrArnadalr May 10 '17

I believe the contention here is that it's not a port of the Windows Visual Studio's codebase, but rather a rebranding of a different product.

-40

u/Megacherv May 10 '17

Well, yeah, but that doesn't mean it's 'very misleading'. This is what was announced...erm...whenever it was...

19

u/ImSoCabbage May 10 '17

I said steamed hams. That's what I call hamburgers.
You call hamburgers steamed hams?
Yes. It's a regional dialect.

6

u/TheWix May 10 '17

Mmmm, steamed hams. Connecticut?

→ More replies (2)

-5

u/Megacherv May 10 '17

... What? The name of the product isn't 'Visual Studio' , it's literally called 'Visual Studio for Mac', which is what is in the title.

20

u/kieranvs May 10 '17

Are you trolling us, or do you really not acknowledge that the name "Visual Studio for Mac" implies that it's the Visual Studio software ported to work on Mac?

20

u/mickeyknoxnbk May 10 '17

It's like Porsche selling their 911, where everyone knows what a 911 is. And then them re-branding a volkswagen beetle as "911 for Mac" and you asking what would be wrong with that.

→ More replies (7)
→ More replies (1)

-7

u/Saiing May 11 '17

This is not the proper Visual Studio.

What is the proper Visual Studio? The one on Windows?

Get with the times dude. Visual Studio Code already exists and is undoubtedly one of the better js code editors out there. Visual Studio is more of a family of products now than a single IDE.

Hanselman and Miguel de Icaza have been consistently on record as saying this is not and was never intended to be a clone of VS Windows. Microsoft have never tried to pretend this is the case. It's intended to target Mac workflows, but now also has support for ASP.NET, Unity, .NET Core etc.

There are people in this thread saying "It will confuse people." Really? Literally 30 seconds of reading the first 10 lines of pretty much any page you happen to google on the topic will tell you everything you need to know. If people are really that confused they're way too stupid to be writing code anyway.

5

u/topher_r May 11 '17

I think you've forgotten how many C++ programmers there are.

-3

u/Saiing May 11 '17

Why would I have forgotten that? I've pointed out that the products aren't meant to be identical, and all you've done is repeat a feature that isn't identical in both and downvoted me.

What a brilliant contribution to the discussion. The industry clearly needs more amazing insights from people like you.

6

u/topher_r May 11 '17

You have a serious attitude problem.

6

u/Saiing May 11 '17

Sorry. Bad day at work. My response was uncalled for and I apologize.

2

u/surlysmiles May 12 '17

It's cool to apologize 😉

-67

u/MalevolentAsshole May 10 '17

A Mac is not a proper computer so it's ok.

-4

u/f1del1us May 10 '17

What about a mac with a native windows os on the drive?

-20

u/MalevolentAsshole May 11 '17

Still shit, no decent programmer would buy a Mac except those who make iOS apps or hipster web-design fags.

10

u/f1del1us May 11 '17

Are you a programmer?

1

u/MalevolentAsshole May 11 '17

More than 25 years already, why?

→ More replies (3)
→ More replies (2)

0

u/[deleted] May 11 '17

[deleted]

5

u/tambry May 11 '17

copy and paste code from actual VS

Sounds like a disaster waiting to happen if they do that.

1

u/wookin_pa_nub2 May 12 '17

Would you expect any different from Miguel de Icaza?

0

u/[deleted] May 10 '17

[deleted]

8

u/ummmyeahright May 11 '17

.NET core 2.0 and Entity framework is incompatible

Incompatible with Enity Framework 6, but compatible with Entity Framework Core (aka Entity Framework 7), no?

0

u/[deleted] May 11 '17

[deleted]

6

u/ummmyeahright May 11 '17

It's Microsoft.EntityFrameworkCore, however it's not a perfect superset. Some features were still downright missing from 6 with no easy workarounds last time I checked, although they just released the 2.0 preview on nuget, hopefully it's more complete.

0

u/[deleted] May 10 '17

[deleted]

7

u/cheesepuff07 May 10 '17

Funny as this is what it says in the About box:

Visual Studio Community 2017 for Mac

Version 7.0 (build 3146)

5

u/Dunge May 10 '17

https://www.visualstudio.com/en-us/news/releasenotes/vs2017-mac-relnotes . Sure it's not the same Visual Studio, but yes they named it 2017.