Solution to the dotNetFx40LP_Client_x86_x64cs.exe problem cannot be found on the disk during ClickOnce deployment

Source: Internet
Author: User
Tags visual studio 2010

When we use Visual Studio 2010 in the simplified Chinese or Traditional Chinese version to publish an application, if you select the "Download system essential components from the same location as my application" option in the "system essential" dialog box, and select any of the following components as the system essential components, generation error may be displayed:

 

1. Microsoft. NET Framework 4 (x86 and x64)

2. Microsoft. NET Framework 4 Client Profile (x86 and x64)

3. Microsoft Visual F # running time for. NET 2.0

4. Microsoft Visual F # running time for. NET 4.0

 

The following generation error may be displayed for "Microsoft. NET Framework 4 Client Profile (x86 and x64:

 

"MSB3152: the required installation location is not set to 'component vendor's website' and cannot be found on the disk. NET Framework 4 Client Profile (x86 and x64) 'file 'dotnetfx40client/dotNetFx40LP_Client_x86_x64cs.exe '. For more information, see 'help '."

 

This is a ClickOnce release failure because the positions of the reusable Language Pack are incorrect or missing.

 

The following uses "Microsoft. NET Framework 4 client profile (x86 and x64)" as an example. In addition, if you select Microsoft. NET framework 4 (x86 and x64), you do not need to check Microsoft. NET framework 4 client profile (x86 and x64), they should be the relationship between the whole and part.

 

1. navigate to the folder "% ProgramFiles %/Microsoft sdks/Windows/v7.0a/bootstrapper/packages/dotnetfx40client ". For x64 operating systems, the path is located under % ProgramFiles (x86) %. 2. If you use the simplified vs2010, create a new folder named ZH-CHS. If it is traditional, the new folder named ZH-CHT. 3. If you use the simplified vs2010, copy the files in the ZH-Hans folder to the ZH-CHS folder. If it is traditional, copy the contents of the ZH-HANT folder to ZH-CHT. 4. Open package. XML in administrator mode. 5. if you use the simplified vs2010, find <string name = "culture"> ZH-Hans </string> and change ZH-Hans to ZH-CHS. If it is traditional, replace ZH-HANT with ZH-CHT.

 

After completing the preceding modification, release the program. OK? You are lucky!

 

The error message "C:/program files/Microsoft sdks/Windows/v7.0a/bootstrapper/packages/dotnetfx40client/CS/dotnetfx40lp_client_x86_x64cs.exe" is not found ".

Congratulations, we are lucky to be with you because there are solutions below. If it's not a similar mistake, you have to be prepared. Good luck! Bye.

 

Back to the beginning, you may have noticed that there are many folders in the Microsoft SDKs/Windows/v7.0A/Bootstrapper/Packages/DotNetFX40Client folder, most of which are named by a few simple letters, in fact, they correspond to language packs from different countries. The article lists Common Country names and abbreviations. cs refers to the Czech Republic, the above error is actually caused by the lack of the Czech language pack (1 do not understand why the simplified and traditional program needs the Czech language pack ).

 

Next we open the Package. xml file in the cs folder, find the dotnetfx40client?agepackbootstrapper element, its value is http://go.microsoft.com/fwlink? Linkid = 164196 & amp; clcid = 0x405. This is the address for downloading the Czech language pack. If you don't have to try it, you can't download it. Microsoft has done it, the Language Pack of the country where the requester is located will be automatically downloaded. (If you do not understand the language pack, why do you need to provide different addresses ).

 

Let's continue. Don't worry about language packs anymore. Releasing simple Chinese programs doesn't require languages from other countries. VS 2010 is required, so let's give it a false picture, copy the Chinese Language Pack in the zh-chs folder to the cs folder and rename it dotNetFx40LP_Client_x86_x64cs.exe. If you are an "upright person" and are not familiar with false or false, you can download the genuine Czech language pack here. Now, it's okay to release the program. It's not a problem to post it again.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.