VISUAL STUDIO is TOTALLY LOVELY and I DON'T HATE IT AT ALL

Coders forum. Discuss techniques, swap code snippets, ask for help etc. relating to all forms of software development.
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

VISUAL STUDIO is TOTALLY LOVELY and I DON'T HATE IT AT ALL

Post by Kamineko »

I'm looking for gainful employment, and have been successful at getting to the stage in my application where I need to complete a coding task. The hiring manager says I should be using Visual Studio 2015, 2017 or 2019 for this task, so I set about installing it in a VM.

BOY.

First task, downloading it. They don't make it easy. You can download the 2019 Community version from the site, but not the others. Those other ones are Secret, and You Can't Have Them, unless you sign in. So I sign in, since when I try to download the 2019 version it downloads the online installer rather than the offline installer. The thing that lets you pick what you want to download is very confusing, there's way too many steps to it. Eventually I got a couple of different DVDs, one of which is 7 GB big so it would have to go on a super r@re DL.

I try to run the offline installer. It works! No, it doesn't. Every so often it'll say it can't find a package, which I think it very strange behaviour for an offline installer. It's all Azure stuff so I let it pass. It takes a while, but it eventually completes. I try to make a new project... it has installed C# and VB, but it hasn't installed C++. The compiler is there but none of the includes or anything. I can't compile a simple return 0; console program that does nothing since the precompiled headers refer to things that don't exist. I go in the menu to try to install them. It takes ages. It doesn't work.

I uninstall VS 2015 Community. It doesn't work. My Programs & Features in my Windows 7 now has thirty additional entries of I don't even know what.

I decide to run the online installer. First, I need to install a virus checker and firewall. The offline installer for COMODO IS doesn't work offline any more. I have to install the offline installer from three years ago and slowly update it. Now I run the VS installer.

It doesn't work. It refuses to start. It sometimes starts. It downloads the same 70 megabyte file six or seven times then claims it can't download it after all. The official help says I need to do something with certificates - but first I can help the online installer out by running the online installer on a different computer and tell it to make a 'layout', which is apparently a bunch of packages predownloaded. I try doing that. It doesn't work. But it gives me some certificates which I can copy into the VM and install as admin to get it to accept whatever it was it was trying to download there. It says it's working now!

Except the window suddenly disappears. I'm not the only one that this has happened to. For years, people have had trouble with VS installers where it would appear to install successfully, but before the dark window which leads you through the packages appears, the installer will simply vanish at some point.

I try deleting temp files. Doesn't work. I've been rebooting the computer between each step. Doesn't work. Go into the registry and remove references to Visual Studio. Doesn't work.

It's been twelve hours straight working on this and I have nothing to show for this except utter bafflement.

No wonder Giles is swearing all the time.
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27259
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: VISUAL STUDIO is TOTALLY LOVELY and I DON'T HATE IT AT A

Post by gilesgoat »

Just seen this ..

As far as I know "Community" ( which is the only one I use so far ) is THE ONLY ONE FREE, all the others you have to pay quite a bit for it, they are not free as far as I know.

Before that the latest version we paid for can't remember which one was but was a good number of hundreds per copy we paid for.

Yeah I think "by default" CPP is not in, is more C# and something else BUT .. but beware DO NOT go for "default installation" and just be very careful about what you choose to put in.

Then "for many windows projects" it MAY BE that you'll also need the "Windows Plattform SDK" which is another can't remember how maybe GBytes of things to download, then you also need to be careful at the "toolkit/toolsets" versions you may need if you - HOPE NOT - have to support/create SW that runs on Win7/Win8 THAT IS A FRAKING NIGHTMARE then also check about those "NuGet packages" because I had to ( and can't even rememeber what/how I done it was complicated ) to support audio on Win7.

Fundamentally Win7/8 SHOULD *DIE* and only Win 10 ( 64 bits of course ) should exist, WIN7 is ACTUALLY DEAD, so WIN 8, they both are "out of life/support".

To be honest I never even bothered with other versions that are NOT the "Community", unless you really have "weird enterprise requirements" there's no point, all still works perfectly fine.

Visual Studio 2015 I would NOT reccomend it, it's really old, actually I just checked I am not sure, maybe I am not using the "community" I am using anyway Visual Studio 2017 Pro 15.something, I THINK IIRC when we *BOUGHT* ( and paid quite some money ) the SDKs for XBox One they gave us one VS PRO license each ( at least something good for the price ).

But 2017 goes as a charm, you may have SOME hoops and loops converting really OLD projects into 2017 but normally all works OK.

But to be honest I AM *NOT* ( and I REFUSE ) to work with/for Windows 7 now, the problem is that MS really DITCHED it and it's a PITA to make things work for it, get a Windows 10 PC and use that !!!

Ok now picture this, you have those problems "just" installing Visual Studio ( that strangely enough almost never gave any problem to me ) .. multiply all that by a factor of 10 to install and make it work Android Studio.

Then you say "visual studio" .. well even just installing and configuring the Vulkan SDK it's not trivial there are a few things ...

Then .. imagine also installing the PS4 SDK .. that's FUN .. REAL FUN .. when things starts to go a bit strange .. ( not to mention all the "activations" and "logins" and "verify it's really you" things ).

The thing I had nearly "a mental breakdown" was to install the XBox One SDK ... well installing "ok" .. CONFIGURING and make it work .. I already forgot how it was done !

In this moment I have Visual studio with *ALL IN THE SAME PLACE* :

- the PS4 sdk
- the Vulkan sdk
- the Oculus sdk
- other things sdk

Android studio with

- the NDK
- the Quest SDK
- the Qualcomm/Adreno SDK ( that does not work that well )

And I am "cross compiling/jumping/sharing sources/projects" among all things.

This morning I was on Quest/VLM4, this afternoon I was on PC/Quest/OpenGL/Moose Life.

You see why I get nuts ...
Giles the billy goat
"Baa"
User avatar
Whiteball
Baaaaa!
Baaaaa!
Posts: 1812
Joined: Sat Nov 24, 2007 12:39 pm 0
Location: At the computer

Re: VISUAL STUDIO is TOTALLY LOVELY and I DON'T HATE IT AT A

Post by Whiteball »

Never had a problem with any version of VS to be honest. Always found the in/un-install process to work well.
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: VISUAL STUDIO is TOTALLY LOVELY and I DON'T HATE IT AT A

Post by Kamineko »

As far as I know "Community" ( which is the only one I use so far ) is THE ONLY ONE FREE, all the others you have to pay quite a bit for it, they are not free as far as I know.
When I said the others were not available without signing in, I meant to say that VS 2015 Community and VS 2017 Community specifically since they're free but you have to sign in.
User avatar
noodles
Baaaaaa!
Baaaaaa!
Posts: 2053
Joined: Wed May 15, 2002 1:04 pm 0
Location: France

Re: VISUAL STUDIO is TOTALLY LOVELY and I DON'T HATE IT AT A

Post by noodles »

Let me guess... the version with C++ is the one which is NOT free ?
User avatar
gravy
Sheepie Whore
Sheepie Whore
Posts: 19572
Joined: Wed May 01, 2002 1:28 pm 0
Location: The Other Place

Re: VISUAL STUDIO is TOTALLY LOVELY and I DON'T HATE IT AT A

Post by gravy »

No, it's free
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27259
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: VISUAL STUDIO is TOTALLY LOVELY and I DON'T HATE IT AT A

Post by gilesgoat »

noodles wrote:Let me guess... the version with C++ is the one which is NOT free ?
As Gaz said it IS free and honesty "unless you need enterprise stuff" there are not many reasons I think to move from "Community" to any other edition, everything still works. In the past used to be that the "non-pro editions" were missing fundamental stuff like the "remote debugger" and such that made them impossible to work/be used with things like the PS4 or "remote devices".

"Community" is all free but IIRC the C++ option is not selected by default you have to go in "install options" and select it, IIRC the deafault is more "web apps oriented" and would selects - CRAP - like C# and the like.

NOTE : I did manage, EXPERIMENTALLY, to install that "Corba" or the fuck is called to develop on Andorid via VS .. I even manage to "re-create" a Quest project under VS and compile it, but, "something totally fails" when I try to actually make it work, it gets the point it installs the PKG on the Quest device but something goes banana when it tries to launch it.

Unfortunatelly "ADB/remote driver" seems NOT to work very well with VS so there's not much debug output ( actually none at all ) that I can see and understand what's going on :(

I suspect some Java shit it's trying to launch the wrong class or crap like that.
Giles the billy goat
"Baa"
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27259
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: VISUAL STUDIO is TOTALLY LOVELY and I DON'T HATE IT AT A

Post by gilesgoat »

Kamineko wrote:
As far as I know "Community" ( which is the only one I use so far ) is THE ONLY ONE FREE, all the others you have to pay quite a bit for it, they are not free as far as I know.
When I said the others were not available without signing in, I meant to say that VS 2015 Community and VS 2017 Community specifically since they're free but you have to sign in.
Begin a Windows 10 user, I think it "automatically" signs in with my Windows Account, in fact a minor nuisance that VS seems to experience every now and then it's it "looses" your login so it may ask you to re-login again with your credentials.


THE NEW NUISANCE OF VS IS THAT IT ASKS YOU FOR FEEDBACK AND SOMETIME TRIES TO PUT ADS FOR MS PRODUCTS !!!
Giles the billy goat
"Baa"
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27259
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: VISUAL STUDIO is TOTALLY LOVELY and I DON'T HATE IT AT A

Post by gilesgoat »

Also to say a thing, I found out - as it's kinda expected - that Android Studio, the latest version at least IF ( AND ONLY IF ) you install it in a TOTALLY EMPTY MACHINE that DOES NOT HAVE *ANY* PREVIOUS VERSIONS OF IT .. at least "install" goes quite smooth.

I mean you will get to a point "you launch it, it appears to run it".

You'll still have quite some faffle to install/configure all the various bits you need for the NDK / etc.

HOWEVER even when you will get there IT IS NOT GUARANTEED AT ALL, actually it's almost guaranteed the contrary, that "older projects made with previous versions of it will still compile".

Quite possibly it will complain about this and that and the other shit and you'll have to spend time re-fixing things that will refuse to work, it may be faster to re-create a whole project from scratch by re-adding all files in and re-doing all the Android.mk

If you do "a true upgrade" from "version X to version X+n" with all still installed .. .. welcome to HELL .. .. quite possibly "all will go shit", it will do the "upgrade" and then NOTHING MORE WILL EVER WORK, nor the old stuff, nor the NEW one...

BEWARE also that "uninstall" of Android Studio acutally "uninstalls almost nothing" ...
Giles the billy goat
"Baa"
User avatar
Whiteball
Baaaaa!
Baaaaa!
Posts: 1812
Joined: Sat Nov 24, 2007 12:39 pm 0
Location: At the computer

Re: VISUAL STUDIO is TOTALLY LOVELY and I DON'T HATE IT AT A

Post by Whiteball »

gilesgoat wrote:
Kamineko wrote:
As far as I know "Community" ( which is the only one I use so far ) is THE ONLY ONE FREE, all the others you have to pay quite a bit for it, they are not free as far as I know.
When I said the others were not available without signing in, I meant to say that VS 2015 Community and VS 2017 Community specifically since they're free but you have to sign in.
Begin a Windows 10 user, I think it "automatically" signs in with my Windows Account, in fact a minor nuisance that VS seems to experience every now and then it's it "looses" your login so it may ask you to re-login again with your credentials.


THE NEW NUISANCE OF VS IS THAT IT ASKS YOU FOR FEEDBACK AND SOMETIME TRIES TO PUT ADS FOR MS PRODUCTS !!!
I do have a Microsoft account but I don't use it to log into Windows 10. I have a local account for that.

I didn't need to log in to Microsoft in order to get the community edition a couple of months ago, has that changed?

Remember the community edition is not supposed to be used for commercial things so the version you should be using is probably going to be driven by that more than any other reason as otherwise community edition has eveything you need..
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27259
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: VISUAL STUDIO is TOTALLY LOVELY and I DON'T HATE IT AT A

Post by gilesgoat »

Whiteball wrote:
gilesgoat wrote:
Kamineko wrote:
As far as I know "Community" ( which is the only one I use so far ) is THE ONLY ONE FREE, all the others you have to pay quite a bit for it, they are not free as far as I know.
When I said the others were not available without signing in, I meant to say that VS 2015 Community and VS 2017 Community specifically since they're free but you have to sign in.
Begin a Windows 10 user, I think it "automatically" signs in with my Windows Account, in fact a minor nuisance that VS seems to experience every now and then it's it "looses" your login so it may ask you to re-login again with your credentials.


THE NEW NUISANCE OF VS IS THAT IT ASKS YOU FOR FEEDBACK AND SOMETIME TRIES TO PUT ADS FOR MS PRODUCTS !!!
I do have a Microsoft account but I don't use it to log into Windows 10. I have a local account for that.

I didn't need to log in to Microsoft in order to get the community edition a couple of months ago, has that changed?

Remember the community edition is not supposed to be used for commercial things so the version you should be using is probably going to be driven by that more than any other reason as otherwise community edition has eveything you need..
As I said I just checked I think I am using the PRO actually NOT the community one given the fact I actually had two "PRO" keys ( yeah double checked I am using "PRO" not "Community" ).

However that's "just MS bollocks" I mean I would swear the Community works as well as the PRO, that you are "not allowed to use it for commercial purposes" it's a bit of a "MS marketing thing" rather than a technical one.

Said that .. the reason we mainly switched to 2017 was because at some point Sony PS4 SDK was no longer supported by the previous compiler version.

Now this really "opens quite a bit of a hurdle" for "really small developers with not much money, now actually it seems - HELL I HOPE NOT - that VS is "only cloud available" for $45/month ??!!!

This for 2 perons would mean $90/month is $1008 PER YEAR 8O 8O 8O 8O :!: :!: :!: :!:

Even if it's be $900 PER YEAR that's UNSustainable for a company like us !! That's INSANE, it's like ONE NEW PC PER YEAR !!!

Oh dear .. tell me it's not like that .. tell me I can still buy ONE CD/DVD/DOWNLOAD and install it locally !!

[edit] - after quite some search "they really don't want it to" .. you CAN get a STANDALONE LICENSE .. for $499 a copy :!:

I think that's similar to what we paid before .. you still end up in paying around $1000 per 2 people ...

[edit2] - I HAVE TO SAY HERE "because it gets a bit on my nerves" .. that I know "quite a number of people working in companies that has fuckload more money than us" that DO NOT GIVE A SHIT and use "proper pirated copies" of <WHATEVER> .. then you try to do "the right things" and you get hit with prices like those ... :evil:

NOT HERE , on this thread/place but elsewhere I know and in Italy don't even make me laugh nobody knows what "legit SW" is there ...
Giles the billy goat
"Baa"
User avatar
Whiteball
Baaaaa!
Baaaaa!
Posts: 1812
Joined: Sat Nov 24, 2007 12:39 pm 0
Location: At the computer

Re: VISUAL STUDIO is TOTALLY LOVELY and I DON'T HATE IT AT A

Post by Whiteball »

Sure, the only difference is probably the license itself, the software is largely the same, maybe even identical these days.
Just the words on a piece of paper or more common now I suppose in a dialog box, that distinguish 'different' versions.

Never been asked for feedback or seen any ads though...
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27259
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: VISUAL STUDIO is TOTALLY LOVELY and I DON'T HATE IT AT A

Post by gilesgoat »

Whiteball wrote:Sure, the only difference is probably the license itself, the software is largely the same, maybe even identical these days.
Just the words on a piece of paper or more common now I suppose in a dialog box, that distinguish 'different' versions.

Never been asked for feedback or seen any ads though...
Next time it happens I'll take a screenshot, it does, it asks you every now and then for feedback about "the VS experience".
Giles the billy goat
"Baa"
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27259
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: VISUAL STUDIO is TOTALLY LOVELY and I DON'T HATE IT AT A

Post by gilesgoat »

To start this is because I forgot more than 5 mins the browser open on the VS page ...
We'd Love Your Feedback
Help us improve your experience by taking our short survey. This won't take more than 5 minutes.
Trust me if I say every now and then Visual studio opens a window something like this trying to redirect to some feedback survey ... ( not very frequently but I've seen it doing it ) .
Giles the billy goat
"Baa"
User avatar
Little stoned kiwi
Baaaaaa!
Baaaaaa!
Posts: 4598
Joined: Mon Oct 27, 2003 6:05 am 0
Location: Christchurch

Re: VISUAL STUDIO is TOTALLY LOVELY and I DON'T HATE IT AT A

Post by Little stoned kiwi »

You think that's bad, a large part of my job is working out why Office apps aren't working.
If they think you're crude, go technical; if they think you're technical, go crude. I'm a very technical boy.
Post Reply