|
You ever try to determine which version of .NET is installed on a machine?
It's almost funny.
How to: Determine Which .NET Framework Versions Are Installed[^]
I was able to use LINQPad and add all the scripts from that article to test the machine I needed to know about.
You might think there is a Microsoft Utility to do this?
In the .NET SDK maybe? no.
Installed with Visual Studio maybe? No.
An interesting gap.
I guess we just figure the user will keep on downloading .NET Redistributables until the app works?
EDIT
Here's what the script lists on my machine -- which seems to be correct:
v2.0.50727 2.0.50727.4927 SP2
v3.0 3.0.30729.4926 SP2
v3.5 3.5.30729.4926 SP1
v4
Client 4.6.01586
Full 4.6.01586
v4.0
Client 4.0.0.0
.NET Framework Version: 4.6.2
modified 31-May-17 11:48am.
|
|
|
|
|
|
|
|
Not sure what that is. - can't see .cc links: summary?
EDIT
I was able to view it via my text browser (DragonSharq). Oh, that guy provides a tool that he wrote, right?
I'd rather just stick with the LINQpad running the scripts, but thanks.
But, my point is that Microsoft points out entire scripts that you can use to determine which versions of .NET are on your machine but provide no such tool in VStudio or in the .NET SDK.
Just thought that was interesting.
|
|
|
|
|
I needed this just now (for this first time in years) and remembered your message.
What are the odds?
|
|
|
|
|
Wow, serendipity.
Glad that worked out.
|
|
|
|
|
The article mentions the clrver.exe utility, but I suppose that's only for listing the runtimes, not frameworks...
Have you asked Cortana?
Mark
Just another cog in the wheel
|
|
|
|
|
Mark Starr wrote: the clrver.exe utility
That is an entirely different rabbit hole to fall down. Seriously.
Because, even if you use that tool -- which you have to install the .NET SDK separately to get -- you will find that you also need to determine if the .NET assembly is targeted for a x64 or not. If you run the x32 clrver you won't see the apps running as x64 and vice versa.
This stuff gets crazy.
and you are correct, that is related to the .NET CLR version. In my case i needed to know which versions of the .NET Redistributable the user had installed.
Again, the easiest way was to use LINQPad and add the C# code Microsoft provides in the article.
Of course you can create a simple console app with that code too. That's why I was wondering why Microsoft didn't just do that for us and throw it in the .NET SDK or in VSTudio.
|
|
|
|
|
|
If you draw quadruple dolphins, is that four illustrative porpoises only?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Would need to sea it to fully understand
Sin tack
the any key okay
|
|
|
|
|
Don't mean to brush you off, but I think you can easely draw your own conclusions.
/ravi
|
|
|
|
|
I've got a fin if you'll put your nose back in the bottle.
Software Zen: delete this;
|
|
|
|
|
Shamu'n you for whaling on us with these jokes.
|
|
|
|
|
Your thoughts need a tuna-up.
|
|
|
|
|
|
covfefe!
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Is that despite the constant press coverage?
This space for rent
|
|
|
|
|
No, just despite the constant negative press.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Eddy Vluggen wrote: covfefe!
Fake news! Fake news! ADS!
98.4% of statistics are made up on the spot.
|
|
|
|
|
This is unpresidented!
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Are you programming in lolcat[^] again?
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
|
Yes.. that was a few weeks ago.
She was diagnosed last Autumn and the cancer progressed quickly.
|
|
|
|