I currently have a winforms app that is deployed via clickonce deployment. When I try to deploy it from 1 machine it throws the following error:
To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'DotNetFX40\dotNetFx40LP_Full_x86_x64es.exe' for item 'Microsoft .NET Framework 4 (x86 and x64)' to your local machine. For more information, see http://go.microsoft.com/fwlink/?LinkId=239883.
The applicacion I'm trying to deploy has Spanish as its Publish Language, therefore it tries to download the language pack (dotNetFx40LP_Full_x86_x64es.exe)
I did download the files necessary as the link in the error suggest but the problem persists. I added the files as suggested in the error link to the folder %ProgramFiles%\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages (for Visual Studio 2010). I also tried to add them to %ProgramFiles%\Microsoft SDKs\Windows\v8.0A\Bootstrapper\Packages (for Visual Studio 2012)
This problem started when I installed Visual Studio 2012 on my machine. I now have Visual Studio 2010 and 2012 installed side by side on Windows 7 Professional (64-bit). It was working fine before. It's also working fine on another machine that doesn't have Visual Studio 2012 installed.
I tried to publish the app with Visual Studio 2010 and 2012 and none work. Also, if I change the language to English, it publishes fine.
Uninstalling Visual Studio 2012 and publishing in English are not valid options.
Any insights are welcome.