C# .NET - How to add .net Framework along with the Setup

Asked By KRISHNADAS
04-May-11 07:42 AM
Sir,

Please also tell me how to add the Framework Setup and Report Viewer Setup along with the Application 
Setup. The purpose is everything should be installed on a single click.

Thanking you

Regards


KRISHNADAS




  [ Kirtan ] replied to KRISHNADAS
04-May-11 07:45 AM
Untitled document
Step 1:
In visual Studio >> File >> new >>Project >> Other Project Types >> Setup and deployment >>Setup Project .
 
Step 2 :
Add the exe(s) and other files in Application Folder of SetupProject
 
Step 3:
Now in Solution Explorer Right Click your Project >> Properties
Click Prerequisites Button and Check the packages you want to automatically installed if not present on system .
 
Step 4 :
Build the Project .
 
Step 5 :
you will get Setup :) thats it :)
 
  Bala Marish replied to KRISHNADAS
04-May-11 07:45 AM
insert th vs 2005 or 2008 dvd on ur system drive and choose custome installation and select what u needed packages.and install it.
  Ravi S replied to KRISHNADAS
04-May-11 07:48 AM
HI

Hi

Right click on your setup project then select the properties.The select the prerequesies button,




Then select which framework you need and select the radio , button to "Download  prerequisite from the my same location " option to get framework file from the your computer.

  Vickey F replied to KRISHNADAS
04-May-11 07:50 AM
Follow these links, here you will get solution-

http://www.codeproject.com/KB/dotnet/Prerequisites_in_Setup.aspx?fid=404267&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=2784481


http://www.codeproject.com/KB/dotnet/Add_framework_in_setup.aspx
  KRISHNADAS replied to [ Kirtan ]
04-May-11 08:14 AM
Thank u for your Immediate reply

when taking the pre-requisites option it is giving 3 options

download pre-requisites from the component vendors website
do...........................................................  application folder
download from the link


we can not give download pre-requisites from the component vendors website as there will not be
internet connection at client's side. So If I have the full .net framework setup with me How can I
Include that setup in my setup project ?



KRISHNADAS



  [ Kirtan ] replied to KRISHNADAS
04-May-11 08:20 AM
if you select download option then it will download from the website when running application

Select Download Prerequesites from Same location as my setup will be better choice

will copy .net framework setup with your setup files automatically so if user will not have that it will install from there automatically

just build a setup and look at output you will understand every thing ;-)
  Reena Jain replied to KRISHNADAS
04-May-11 08:23 AM
hi,

When we develop an application using any platform, we should prepare our application to be deployed properly. Especially for .NET, the prerequisites of .NET Framework are a must. Here is a good link which is explaining how to add framework to be installed before our application installation process.

http://www.codeproject.com/KB/dotnet/Add_framework_in_setup.aspx

hope this will help you
  KRISHNADAS replied to [ Kirtan ]
04-May-11 08:29 AM
Hi

I am getting the following message at the time of compilation

Error 52 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x64\NetFX2.0-KB948609-v6001-x64.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\ImpexSetUp\ImpexSetUp\ImpexSetUp.vdproj ImpexSetUp

KRISHNADAS
  [ Kirtan ] replied to KRISHNADAS
04-May-11 08:51 AM
may be this is because you will not have 3.5 installed already else it will take automatically setup files of it and copy it near by Setup.exe file :)
  KRISHNADAS replied to [ Kirtan ]
04-May-11 08:56 AM
Hi

Without installing 3.5 setup how can I make the deployment project ????????

I have everything installed in my system. Is it necessary to copy the .net framework files in the Application folder of
setup project ?



But I am getting the following error messages when compiling the setup project

Error 1 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\aspnet.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 2 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\aspnet_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 3 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\clr.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 4 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\clr_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 5 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\crt.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 6 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\crt_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 7 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\dw.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 8 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\dw_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 9 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\netfx20a_x64.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 10 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\netfx20a_x86.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 11 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\netfx_ca.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 12 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\netfx_core.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 13 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\netfx_core_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 14 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\netfx_other.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 15 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\netfx_other_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 16 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\prexp.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 17 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\winforms.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 18 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\winforms_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 19 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\x86\msxml6.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 20 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\x64\msxml6.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 21 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\NetFX30a_x64.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 22 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\NetFX30a_x86.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 23 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\RGB9RAST_x64.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 24 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\RGB9RAST_x86.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 25 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WCF.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 26 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WCF_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 27 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WCS.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 28 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WCS_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 29 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WF.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 30 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WF_32.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 31 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WF_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 32 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WIC_x64_enu.exe' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 33 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WIC_x86_enu.exe' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 34 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF1.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 35 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF1_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 36 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF2.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 37 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF2_32.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 38 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF2_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 39 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF_Other.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 40 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF_Other_32.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 41 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF_Other_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 42 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\XPS.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 43 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\XPSEPSC-x86-en-US.exe' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 44 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\XPSEPSC-amd64-en-US.exe' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 45 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX35\x86\netfx35_x86.exe' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 46 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX35\x64\netfx35_x64.exe' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 47 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x86\NetFX2.0-KB936704-v6000-x86_RTM_en.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 48 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x86\NetFX2.0-KB948609-v6001-x86.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 49 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x86\NetFX3.0-KB936705-v6000-x86_RTM_en.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 50 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x86\NetFX3.0-KB948610-v6001-x86.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 51 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x64\NetFX2.0-KB936704-v6000-x64_RTM_en.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 52 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x64\NetFX2.0-KB948609-v6001-x64.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 53 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x64\NetFX3.0-KB936705-v6000-x64_RTM_en.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 54 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x64\NetFX3.0-KB948610-v6001-x64.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 55 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFx35setup.exe' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 56 General failure building bootstrapper H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 57 Unrecoverable build error H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP





KRISHNADAS

  [ Kirtan ] replied to KRISHNADAS
04-May-11 09:01 AM
you dont have to copy manually .net framework setup file visual studio will do it automatically if you have selected that option as i said before .. its working fine with my laptop :)
  KRISHNADAS replied to [ Kirtan ]
04-May-11 09:11 AM
Hi

In the application folder I included the exe and the necessary dlls.  Selected windows Installer 3.1 and .net framework sp1
from the prerequisite option. Selected download pre-requisites from the same location as my application and
at the time of compilation getting the following error messages. Pls help me how to solve this problem



Error 1 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\aspnet.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 2 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\aspnet_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 3 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\clr.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 4 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\clr_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 5 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\crt.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 6 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\crt_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 7 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\dw.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 8 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\dw_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 9 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\netfx20a_x64.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 10 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\netfx20a_x86.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 11 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\netfx_ca.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 12 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\netfx_core.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 13 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\netfx_core_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

Error 14 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\netfx_other.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 15 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\netfx_other_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 16 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\prexp.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 17 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\winforms.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 18 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\winforms_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 19 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\x86\msxml6.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 20 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\x64\msxml6.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 21 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\NetFX30a_x64.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 22 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\NetFX30a_x86.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 23 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\RGB9RAST_x64.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 24 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\RGB9RAST_x86.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 25 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WCF.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 26 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WCF_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 27 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WCS.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 28 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WCS_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 29 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WF.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 30 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WF_32.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 31 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WF_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 32 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WIC_x64_enu.exe' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 33 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WIC_x86_enu.exe' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 34 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF1.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 35 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF1_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 36 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF2.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 37 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF2_32.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 38 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF2_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 39 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF_Other.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 40 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF_Other_32.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 41 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF_Other_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 42 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\XPS.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 43 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\XPSEPSC-x86-en-US.exe' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 44 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\XPSEPSC-amd64-en-US.exe' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 45 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX35\x86\netfx35_x86.exe' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 46 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX35\x64\netfx35_x64.exe' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 47 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x86\NetFX2.0-KB936704-v6000-x86_RTM_en.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 48 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x86\NetFX2.0-KB948609-v6001-x86.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 49 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x86\NetFX3.0-KB936705-v6000-x86_RTM_en.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 50 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x86\NetFX3.0-KB948610-v6001-x86.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 51 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x64\NetFX2.0-KB936704-v6000-x64_RTM_en.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 52 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x64\NetFX2.0-KB948609-v6001-x64.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 53 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x64\NetFX3.0-KB936705-v6000-x64_RTM_en.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 54 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x64\NetFX3.0-KB948610-v6001-x64.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 55 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFx35setup.exe' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 56 General failure building bootstrapper H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP
Error 57 Unrecoverable build error H:\SOURCES\IMPEX SETUP\IMPEXSETUP\IMPEXSETUP.vdproj IMPEXSETUP

  [ Kirtan ] replied to KRISHNADAS
04-May-11 09:41 AM
there is some issue with your .net fx check this page

http://social.msdn.microsoft.com/Forums/en/vssetup/thread/d3c1991a-9353-43f0-be82-2dacedc1ceba
  Nikhil Mahajan replied to KRISHNADAS
04-May-11 11:52 PM

Basically when you select the project properties and hit the prerequisites button you will find a list of installer components that are software prerequisite for your app. And we can deploy this prerequisites In the same installer if we select the download prerequisites from the same location as my application option.

If we select to include .NET Framework 3.0 as a prerequisite and compile your setup project you will find the following errors:

error.png

This is ease to fix. The problem describes that in order to compile our setup project and include the prerequisites definition and files for the .NET Framework 3.0 we need to have located in our local disk the correspondent re distribuible files. So the problem is that we don’t have the .NET Framework 3.0 installers in a special folder that Visual Studio use for copying to the setup project.

Go to C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\NETFX30 folder and you will find the following structure:

deploy02.JPG

The installer will search the .NET Framework 3.0 msi files and make a copy to your setup project but the problem is that we don’t have those files and that’s the reason we have the previous error messages. And also will select from the product.xml file all the custom conditions and installer requirement we need. By default we use the “en” folder, will find another xml file called package.xml. This file contains the url address for getting the installer from the Microsoft download center.

The solutions is just download the .NET Framework 3.0 http://go.microsoft.com/fwlink/?LinkId=70848 and http://go.microsoft.com/fwlink/?LinkId=70849 msi installers and copy to C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\NETFX30.

deploy03.JPG

Now compile your setup project, the error messages goes away and you will find the following folder structure in you debug folder:

This means that you have a copy of the .NET Framewok 2.0 and 3.0 installers inside your deployment output. The setup file will launch the prerequisites installer before the your app will install.

That’s it, hope it helps.

Create New Account
help
Problem with the Manifest Tool executable? .NET Framework error PRJ0002 : Error result -1073741819 returned from 'C: \ Program Files \ Microsoft Visual Studio 8 \ VC \ bin \ mt.exe'. The above error occurs when I attempt to build the Release configuration of my VC++2005 Win 32 DLL. The DEBUG release compiles and builds without any errors. This error appears in the IDE window pursuant to a dialog box that says : mt.exe has encountered a problem and needs to close. We are sorry for the inconvenience. (The associated error report is posted in full at the end of this post.) I have researched this error on-line and have been able to find scant information. The only posts I have
with an applications consisting of mixed native and managed code writted in C++ / CLI in Visual Studio 2005. The application runs fine in "Debug mode", however when I compile the application in around a native class. I can also see the following in the output window of Visual Studio 2008: '3DWorkbench.exe' (Managed): Loaded 'c: \ svn \ auto3d \ 3dworkbench \ release \ GcpsDotNetApi.dll', Symbols loaded. First symbol define "_ _DllMainCRTStartup@12" to enable running of some CRT initialization code. This made the error go away. I do not know if the problem that I experience now might be Measurement Systems and Data Analysis SINTEF ICT [http: / / www.sintef.com / omd] VC Language Discussions Visual Studio 2008 (1) Visual Studio 2005 (1) DllMainCRTStartup (1) RtlpNtMakeTemporaryKey (1) RtlInitializeSListHead (1) CrtIsValidHeapPointer (1) VB (1) GcpsDotNetApi (1
Microsoft Visual Studio - -- -- -- -- -- -- -- -- -- -- -- -- -- Error connecting t Microsoft Visual Studio - -- -- -- -- -- -- -- -- -- -- -- -- -- Error connecting to undo manager of source made some designing changes in page and started gettin this error Hello, A simpler two-step fix is to: 1) Right-click the designer file and app is running in debug. Hope this will helpful ! Thanks Create New Account keywords: Microsoft, Visual, Studio, - -- -- -- -- -- -- -- -- -- -- -- -- --, Error, connecting, t description: Microsoft Visual Studio - -- -- -- -- -- -- -- -- -- -- -- -- -- Error connecting to undo manager of source
mfc project not compile in visual studio 2008 C++ / VB I made a mfc project using wizard in visual studio 2008 and it didn`t compile, . i didn`t add anything, just made it as didn`t help. For more informations i have win xp sp2 and freshly installed microsoft visual studio 2008 in a default way. errors: 1> stdafx.cpp 1> c: \ program files \ microsoft visual studio 9.0 \ vc \ atlmfc \ include \ winnt.h(3019) : error C2146: syntax error : missing ';' before identifier
my own string.h C++ / VB Hi, I'm having a weird problem when using Visual Studio. I'm creating a small library with different utility classes. Thing is that everything compiles the following errors: * ** \ microsoft platform sdk for windows server 2003 r2 \ include \ guiddef.h(161) : error C3861: 'memcmp': identifier not found \ microsoft platform sdk for windows server 2003 r2 \ include \ stralign.h(101) : error C3861: 'wcscpy': identifier not found * ** Also, if I used std::string internally in my string far more errors (please note that 100+ errors are displayed) * ** 1> c: \ program files \ microsoft visual studio 8 \ vc \ include \ cstring(18) : error C2039: 'memchr' : is not a member of '`global namespace'' 1> c: \ program files \ microsoft visual studio 8 \ vc \ include \ cstring(18) : error C2873: 'memchr' : symbol cannot be used in a