I use:
- Visual Studio 2010 on an x64 machine.
- Building a Windows application
- Orientation of the .NET Framework 4 and x86 client profile.
- I am using ClickOnce.
- I installed the "Microsoft Windows SDK for Windows 7 (7.1)".
Here is my problem:
In the old project, in the project properties, the tab "Publish", "Prerequisites ...", I open this dialog box . All of these prerequisites have a yellow triangular warning, which indicates that "a precondition cannot be found for bootstrap." The effect is that ClickOnce setup.exe cannot correctly establish the prerequisites for users.
If I create a new empty project from scratch, the Prerequisites field is empty.
Here is information about the various folders:
C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages contains all boot packages.
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages contains all boot packages.
C:\Program Files\Microsoft SDKs\Windows\v7.1It did not have a Bootstrapper folder.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\SDK, in which there is nothing but an empty folder v3.5.
Environment WindowsSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\
Registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\GenericBootstrapper\4.0\Path=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages
Here is what I tried:
Bootstrapper C:\Program Files\Microsoft SDKs\Windows\v7.0A\ C:\Program Files\Microsoft SDKs\Windows\v7.1, .
Bootstrapper C:\Program Files\Microsoft SDKs\Windows\v7.0A\ C:\Program Files (x86)\Microsoft Visual Studio 10.0\SDK\v4.0. .
?