I've made an application that uses .NET framework 3.5 SP1 and SQL Server 2008 Express. Application is fine and now i'm going to to make a setup project for this.
When I first build my setup it was fine as all the prerequisites were not included in setup.
But I want my setup to install .NET 3.5 SP1 and SQL SERVER 2008 Express also. So for this I've changed the options in setup project's properties from "Download prerequisites from following location" to "Download prerequisites from the same location as my application". In addition to that I've also checked the options above like .NET 3.5 SP1 and SQL Server 2008 Express etc.
After doing all this I build my project again. This time I'm Getting 57 Errors.
As the question will become too large so I'm just pasting 3 errors but there are totally 57 errors.
Thanks in advance
Tools > Options > Projects and Solutions > Build and RunThe selection in the second dropdown “On Run, when build or deployment errors occur”, even if the code has the error during the run, project runs with the last successful build.
You have two options here in windows 8.0 or 8.1 go to run and type'devenv' and then the Visual studio opens up for you. Else search using the app name and select 'Microsoft Visual studio' from the list of apps installed, right click on the app and select the option 'pin to the start' or 'pin to the task bar'.
Please remove the folder: C:\Program Files (x86)\Microsoft Visual Studio\Installer. Then, re-download the bootstrapper file from the following Microsoft Site and run it as administrator.
A quick search suggests you might want to take a look at this: http://social.msdn.microsoft.com/forums/en-US/vssetup/thread/d3c1991a-9353-43f0-be82-2dacedc1ceba/
Pertinent Info from section 2.3.1.1 of the VS2008SP1Readme.htm:
If the .NET Framework 3.5 SP1 bootstrapper package is selected in the Prerequisite dialog box for a Setup project or in ClickOnce publishing, and also the "Download prerequisites from the same location as my application" option is selected, the following build error is shown:
The install location for prerequisites has not been set to 'component vendor's web site' and the file 'dotNetFx35setup.exe' in item 'Microsoft.Net.Framework.3.5.SP1' cannot be located on disk.
To resolve this issue:
Update the Package Data
<PackageFile Name="TOOLS\clwireg.exe"/>
<PackageFile Name="TOOLS\clwireg_x64.exe"/>
<PackageFile Name="TOOLS\clwireg_ia64.exe"/>
Download and Extract the Core Installation Files
dotNetFx35.exe /x:
. This will extract the Framework files to a folder named “WCU” in the current directory.Copy the contents of the WCU\dotNetFramework folder and paste them
in the %Program Files%\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35SP1
folder
(%ProgramFiles(x86)%\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35SP1
on x64
operating systems). Note: Do not copy the WCU\dotNetFramework folder
itself.
There should be 5 folders under the WCU folder, and each of these should now appear in the DotNetFx35SP1 folder. The folder structure should resemble the following:
You may now delete the files and folders you downloaded and extracted in steps 2 and 4.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With