Enabling preloading from the same location as my application

I currently have a winforms application that deploys using Clickonce deployment. When I try to deploy it from 1 machine, it causes the following error:

To enable “Download prerequisites from the same location as my application” in the Prerequisites dialog box, you must download the file 'DotNetFX40 \ dotNetFx40LP_Full_x86_x64es.exe' for the item 'Microsoft.NET Framework 4 (x86 and x64)' to your local computer For more information see http://go.microsoft.com/fwlink/?LinkId=239883 .

The application I'm trying to deploy has Spanish as its publishing language, so it tries to download the language pack (dotNetFx40LP_Full_x86_x64es.exe)

I have uploaded the files needed as a link in the tooltip, but the problem persists. I added the files, as shown in the error link, to the% ProgramFiles% \ Microsoft SDKs \ Windows \ v7.0A \ Bootstrapper \ Packages folder (for Visual Studio 2010). I also tried adding them to% ProgramFiles% \ Microsoft SDK \ Windows \ v8.0A \ Bootstrapper \ Packages (for Visual Studio 2012)

This problem started when I installed Visual Studio 2012 on my machine. Now I have Visual Studio 2010 and 2012 installed side-by-side on Windows 7 Professional (64-bit). It used to work well. It also works great on another machine on which Visual Studio 2012 is not installed.

I tried to publish the application with Visual Studio 2010 and 2012 and no one is working. In addition, if I change the language to English, it is published perfectly.

Uninstalling Visual Studio 2012 and publishing in English are not allowed.

Any ideas are welcome.

+7
source share
4 answers

After some digging, I found this thread in which some similar problem is attacked. It has nothing to do with VS 2010 and 2012 side by side installation. I had to add the installer of the language file to the appropriate language folder, and not to the root folder, as other links show.

+2
source

Vs 2013 target dot net 4.5 64 bit will be here

the path in the registry is HKLM \ Software \ Wow6432Node \ Microsoft \ GenericBootstrapper \ 11.0 for Vs 2013, oriented to the net 4.5 point.

the value will be Program Files\Microsoft SDKs\Windows\v8.0A\Bootstrapper\Packages

+3
source

The right ways are these,

C: \ Program Files \ Microsoft Visual Studio 14.0 \ SDK \ Bootstrapper \ Packages on a 32-bit system

C: \ Program Files (x86) \ Microsoft Visual Studio 14.0 \ SDK \ Bootstrapper \ Packages on a 64-bit system.

Others suggested did not help me.

+3
source

Here the alternative is in Spanish, but it may very well serve as it is perfectly clear.

+1
source

All Articles