I have issues with prerequisites while trying to publish my Windows .NET 3.5 application using ClickOnce.
I want my application to work offline as well as online, so I want to include the prerequisites in the installation and not make the client download them via the internet.
My prerequisites are:
- .NET Framework Client Profile
- SQL Server Compact 3.5
I have downloaded the .NET Framework Client Profile Offline Installer. I installed it and put the DotNetFx35Client.exe in this location:
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35Client
Under the Project - Publish Tab, I have checked the "Download prerequisites from the following location" and entered \MachineName\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35Client
Following https://stackguides.com/questions/1046370?tab=oldest#tab-top
I, however, still the error:
The install location for prerequisites has not been set to 'component vendor's website' file, Dotnetfx35client\Dotnetfx35clientSteup.exe'. In item .NET framework client profile can not be located on disk.