Unable to install Windows Identity Foundation on windows 7 - windows-7

I have been trying to install Windows Identity Foundation for last 4 hours on Windows 7 and everything I tried did not result in successful installation. I tried searching in Google and nothing helped me so far. I had .NET 4.5 and uninstalling it did not help. Can somebody please help?

You don't have to install WIF anymore, it's included in the .NET 4.5 core by default, in the System.IdentityModel namespace.
The first version of Windows Identity Foundation (WIF) shipped as a standalone download and is known as WIF 3.5 because it was introduced in the .NET 3.5 SP1 timeframe. Starting with .NET 4.5, WIF is part of the .NET framework.
You can find the list of new namespaces here if you're migrating from .NET 3.5/4.0, just reference those and you're good to go!

Related

Cannot target .NET Framework 4.6.1

I try to load an existing project (not mine) that I get from TFS and I got an error telling me that I need .NET Framework 4.6.1 to load it.
So I downgraded it to 4.6, successfully load it, install .NET Framework 4.6.1 but I can't make my project target on 4.6.1.
The link where I get .NET framework
I'm on Windows 7 and I use Visual Studio Community 2017.
You may need to install the developer pack. It looks like you may have just installed the runtime. You can find the .NET Framework 4.6.1 developer pack here.

Unable to install .net framework 4.5 on Windows server 2008

I have Windows Server 2008 with Service Pack 2. In that .Net framework 3.5 already exist.
Now I am trying to install .Net framework 4.5 but I got some error and it did not installed properly.
Server has
Microsoft .Net Framework 4 Client Profile
Microsoft .Net Framework 4 Extended
can these framework cause installation problem as well?
Someone please let me know what could be the problem and how to solve this.

VS2010 project in VS2012 - different version of .net 4?

I have read that opening a vs2010 project in vs2012 is fine (as long as you are using VS2010 SP1) it will not update the project files and those on VS2010 SP1 will not have problems using it: http://visualstudiomagazine.com/articles/2012/03/01/more-power.aspx
However I have heard that the version of .net 4 is higher when using vs 2012 than with vs2010 (I don't mean .net 4.5 by the way). Is this correct and could it cause problems with a release on a development machine being tested against a different version of the .net 4 framework? It sounds a bit unlikely to me.
thanks
Adam
The answer is not simple. All the details can be found here
There are many different types of projects in VS, and some don't require upgrades, some are compatible but require upgrades, and some are simply not compatible. It depends on the project type.
Also, to answer your question about the .net versions, 4.5 is considered an "in place" upgrade. This means once you've installed 4.5, it replaces 4 completely. So, once you've installed 4.5 you use that any time you target 4.
Several bugs has been fixed with .NET 4.5, so suddenly you cannot reproduce bugs that people experience in live-environment (WinXP/Win2k3 - .NET 4.0), as your own machine that have VS2012 installed (.NET 4.5).
More Info If I target .net 4.0 but run on a machine that has .net 4.5 will .net 4.0 WPF bugs still be there?
More Info Make VS2012 not hide .NET 4.0 bugs when targeting .NET 4.0
More Info Support a .NET 4.0 Service Pack on Windows XP Supporting those .NET 4.0 Bugs Fixed in .NET 4.5

How to automatically install .NET Framework 2.0 (if missing) on a client computer with Visual Studio 2010 Installer project?

I'm trying to distribute a small windows application I made in Visual Studio 2010 and is targeted to .NET framework 2.0. I've made an installer project, but in the Prerequisites window I can't set .NET framework 2.0. I can only see 3.5 SP1 above. There is a whole list here: http://msdn.microsoft.com/en-us/library/7tx0bw8y(v=VS.100).aspx. I'd like to have earlier versions as well, as are shown here: http://msdn.microsoft.com/en-us/library/7tx0bw8y(v=VS.80).aspx. I can see that the .NET Framework 3.5 SP1 will install 2.0 as well, but I don't want to bother a user that already has 2.0, but not 3.0, 3.5 or 3.5 SP1.
I've also managed to set the Launch Condition to .NET Framework 2.0. I've tested this on a virtual machine that has no .NET Framework and it just asks a user to go to a website to download and install the framework manually. (Also the link actually goes to 4.0 Client Profile. I know where to change the link, but 2.0 has separate x86 and x64 downloads, but you can only enter 1 link.)
All I'm trying to do is for the installer to install the .NET Framework 2.0 automatically if the user doesn't have it and then install my application. It would be great if there was only 1 file, which I can then have people download from my website. So, how can I accomplish this?
You would have to install an old version of the Window SDK (version 6) on your machine to get the bootstrapper for .NET 2.0. Doing so makes little sense:
after you install it the user's machine will get updated to .NET 3.5 SP1 by Windows Update.
the 2.0 bootstrapper will blow up your installer size to over 50 megabytes, the .NET 3.5 SP1 bootstrapper is a megabyte or so, it selectively downloads what the user needs at install time.
you don't want to ship code that you haven't tested on 2.0.

.Net Framework 4.0 SDK

Does anyone know if there is an SDK for the .Net 4.0 framework, and if there is one, where does the installer put it on the hard drive? I've installed the Ultimate Edition of Visual Studio 2010, but can't find the SDK anywhere.
The last stand-alone version of the .NET SDK was 2.0. It got integrated with the Windows SDK after that. You already have the important bits on your machine, it is stored in c:\program files\microsoft sdks\windodws\v7.0a
It is a truncated version (thus the "a"), the full version is a separate download. Beware that this download is 7.1. There have been a fair number of critical problems with the version 7.0 SDK installer btw. The install failed on my machine, leaving a partial install that didn't rewind. I had to patch registry entries by hand to recover. I recommend you install this on a non-critical machine and just copy the folder. I had no trouble with the SDK 7.1 installer.
Microsoft Windows SDK for Windows 7 and .NET Framework 4 (ISO)
Microsoft Windows SDK for Windows 7 and .NET Framework 4 (Web)
These links point to the Version 7.1 of the SDK.
%ProgramFiles%\Microsoft SDKs\Windows\v7.0A

Resources