views:

29

answers:

1

Problems in the deployment of VS 2010.

Microsoft .NET Framework 4 client profile x86 and 64 - check

Download prerequisites from the same location as application - check

But when I rebuild is such a mistake.

Error 2

The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX40Client\dotNetFx40LP_Client_x86_x64ru.exe' in item 'Microsoft .NET Framework 4 Client Profile (x86 and x64)' can not be located on disk. See Help for more information. C:\Users\User\Documents\Visual Studio 2010\Projects\TrainerRoomSetup\TrainerRoomSetup\TrainerRoomSetup.vdproj TrainerRoomSetup

Error 4

Unrecoverable build error C:\Users\User\Documents\Visual Studio 2010\Projects\TrainerRoomSetup\TrainerRoomSetup\TrainerRoomSetup.vdproj TrainerRoomSetup Error 3 General failure building bootstrapper C:\Users\User\Documents\Visual Studio 2010\Projects\TrainerRoomSetup\TrainerRoomSetup\TrainerRoomSetup.vdproj TrainerRoomSetup

+1  A: 

Looks like it is unable to locate the prerequisites redistributable packages that you have downloaded and included. And if I understand you right, you have the redistributable file placed in the wrong location.

You will have to copy your redistributable files along with product and package manifest files into a folder \Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages that VS has reserved for redistributables packages.

You can refer this to learn more about Adding Prerequisites.

Pavanred
I thought so. but the file is on the path Program Files \ Microsoft SDKs \ Windows \ v7.0A \ Bootstrapper \ Packages \ DotNetFX40Client
simply denis