shanselman / SmallestDotNet

SmallestDotNet - SmallestDotNet.com is a single page site that does one thing. It tells you the smallest, easiest download you'd need to get the .NET Framework on your system.
MIT License
130 stars 64 forks source link

.NET 4.5 not detected #29

Closed benjaminperdomo closed 11 years ago

benjaminperdomo commented 12 years ago

I get "You have .NET 4.0, this is a recent version of .NET. Download an installer for the newest version .NET 4.5.". But I have installed 4.5, and VS 2012.

msarchet commented 12 years ago

Can you paste your user agent here? .NET 4.5 isn't sent in the User-Agent, currently we are only 'detecting' it for Windows 8.

shanselman commented 12 years ago

The next step of course, would be to add a link to run my little application with the URL added...

Scott Hanselman

On Oct 16, 2012, at 7:49 AM, Michael Sarchet notifications@github.com wrote:

Can you paste your user agent here? .NET 4.5 isn't sent in the User-Agent, currently we are only 'detecting' it for Windows 8.

— Reply to this email directly or view it on GitHub.

benjaminperdomo commented 12 years ago

Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) Didn't read the you guys are not "detecting" it for Win7, that explains it. Thank you

tohidazizi commented 12 years ago

@bep 's reported bug is confirmed. I have the same situation. Windows 7 / IE 9 / .NET 4.5 Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)

msarchet commented 12 years ago

@shanselman planning on adding that in this week. Maybe we can get it down to just a powershell script instead of an app (or in conjunction with an app).

shanselman commented 11 years ago

Added 4.5 detection if they are Win8, otherwise they have to run the helper