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/
Related
install the .NET Framework 4.5 on Windows Server 2008 and is not recognized by the IIS7, because not listed in the options appears only net framework 2.0 and 4.0, anything else I need to have, and I will some day with this. thanks
Using visual studio 2013 on a windows 8 machine I created a F# console application. The app runs fine on the dev machine. But when I build a debug release and export it to a windows 2003 server and attempt to run, I continually get the error: not a valid win32 application even though the build configuration is set to "any cpu". Does anyone know how to solve this error? Thanks.
You are probably using .NET Framework 4.5 wich is not compatible with Windows Server 2003.
If you are not using anything from .NET 4.5 you can change on Visual Studio the framework targeted by the application to 4 and then run it on Windows Server 2003.
Also, here is the list of requirements for .NET Framework 4.5
https://msdn.microsoft.com/en-us/library/8z6watww%28v=vs.110%29.aspx
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!)
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.
I have a Windows 7 machine and I see that Microsoft does not recommend Visual Studio 2003 on the computer (Windows 7). How can I develop an application for the .net framework 1.0 then? I currently have visual basic express 2010.
EDIT: 1.0 runs on older machines that require administrator to update.
VS 2010 will only let you target back to 2.0 Framework. You can either put XP on your development machine, or use a virtual machine with XP to put VS 2003 on it.
There seems to be a way to do it. It does not seem to be supported but you can give this a try.
Installing 1.X Framework on Win7