I already have installed Microsoft Visual Studio 2008 SP1 and VS 2010 SP1. I'm using Windows 7.
Then, I noticed in my Installed Programs in Control Panel that only the following were the installed .NET Frameworks:
Microsoft .NET Compact Framework 2.0 SP2
Microsoft .NET Compact Framework 3.5
Microsoft .NET Framework 4 Client Profile
Microsoft .NET Framework 4 Extended.
For some reasons, when I was installing PowerCommands for Visual Studio 2008, it says that I need to install .NET Framework 3.5.
When I tried to use dotnetfx35.exe, it just unpacks the installer, but doesn't proceed with the setup process.
Is this just because I'm using Windows 7? Or is there a proper way of setting up .NET Framework 3.5?
Thanks!
Newer operating systems (Windows 7+ afaik) do not (cannot) use installation files for the .NET 3.5 framework. Also, the 3.5 framework does not necessarily show in add/remove programs. Instead, you "turn on" the feature. Another detail is that .NET 3.5 includes 3.0 and 2.0 frameworks. In other words, .NET framework 3.0 and 2.0 do not require separate installs.
To "add"/verify installation of .NET 3.5 in Windows Server 2008 R2:
Go to Control Panel > Programs > Turn Windows Features on or off >
Roles > Add Role Service (little button off to the right) > Ensure
".NET Framework 3.5.1" is checked > Click "next" until you can click
"install".
The process should be similar in Windows 7.
Even though You have installed DOTNET 4.0 version for some applications you need 3.5 .net framework.
Just download and install DOT NET 3.5 SP1 (not just 3.5) from here 1 here
(Note: Refer Stack Overflow - .dot net framework for more details!)
Related
I will create a new Project with .NET Core 2.2.
But I can select only .NET Framework Versions.
I installed .NET Core 2.2 and restart the Visual Studio.
Still .NET Core is not available.
I installed the 64bit 2.2.107 version.
When I want to install again I get ask if I want to repair, what is telling me that the installation was successful.
Why I cant choose .NET Core instead of Framework?
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.
On windows 7 if i install Microsoft Windows SDK for Windows 7 and .NET Framework 4 (ISO) is that enough to work with vs 2008 or should i install also 3.5 sdk ?
Quote from the Windows SDK for Windows 7 and .NET Framework 4 release notes:
.NET Framework: Create applications that target the .NET
Framework versions 2.0 (SP2) , 3.0
(SP2) , 3.5 (SP1), 4.
Visual Studio: Use the resources in this SDK with Visual Studio
versions 2005, 2008, and 2010,
including Express editions (not all
features work with all versions of
Visual Studio).
Thus yes, includes backwards compatibility into the lines described in the release notes.
When you install VS it will install the .NET framework it needs
In Visual Studio 2010 prerequisites window these are checked
-Microsoft .net framework 4 (x86 and x64)
-Microsoft .net framework 4 client profile (x86 and x64)
-SQL server 2008 express
-SQL server compact 3.5 sp2
-Windows Installer 3.1
-Windows installer 4.5
They seem repetitive (installer 3.1, compact server, client profile). How do i know that which components are really necessary for my application to run and which of them are useless.
You should know what version of the .NET Framework you are targeting, and specify only that one as a prerequisite. You don't need both of these. The version you are targeting is set in the Application tab (assuming C#).
If you're using SQL2008 Express, then check the box. If you're not, then don't.
Same for SQLCE, although if using that in a ClickOnce application, I would deploy it locally as described here:
http://robindotnet.wordpress.com/2010/02/28/how-to-deploy-the-sqlserver-compact-edition-software-locally/
First of all, The Winform application is based on .Net Framework 1.1. I have 1.1 SDK installed but 1.1 is not listed in the Target Framework(VS 2010 Beta 2) so I cannot choose the same, the minimal available is 2.0. Am I supposed to install an add-on or something for building 1.1 apps in VS 2010 beta2. Further more, I am using a Clickonce deployment publish method. I am not sure if 1.1 supports ClickOnce deployment. Please advise on both these fronts. Thanks a Lot
.NET 1.x is not supported by VS2010 (or any future versions). You'll have to use VS2002 or VS2003 for that.
ClickOnce is only supported for .NET 2.0 or later.
.Net 1.1 isn't supported on VS 2010. I don't even thing it was supported on VS 2005 or 2008. I've always had a VS 2003 install in a VM for 1.1 maintenance stuff.
Here you can find a way to create your project in .net 1.1 with VS 2008. And I think this is last version of the VS you can use to create your projects in .net 1.1
If you have an application that uses e.g. an app pool using .Net 1.1, compiling for .Net 2.0 simply isn't an option.
You should just build your code with .NET 2.0, assuming there's some reason why you can't build it with .NET 3.5.