Is required for the Net Framework 3.5 SP1 system. The clickonce release prompt shows a solution for missing files.

Source: Internet
Author: User

Clickonce release, checked in system essentials. net Framework 3.5 SP1, and select "Download system essential components from the same location as my application", execute the release, the system will prompt that many files are missing, the answer is below.

First, we need the Framework 3.5 _ SP1 installation package, which can be downloaded at the address below

Http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe

Decompress the package and navigate to the Framework 3.5 _ SP1 \ WCU \ dotnetframework \ folder, copy the dotnetfx20, dotnetfx30, dotnetfx35, and dotnetmsp folders and file volumes to the % ProgramFiles % \ microsoft sdks \ windows \ v7.0a \ bootstrapper \ packages \ dotnetfx35sp1 directory. For x64 operating systems, the path is located under % ProgramFiles (x86) %.

When the release is executed, the following error is prompted:

The installation location of required system components is not set to "component supplier's website", and the item "cannot be found on disk. file "dotnetfx35sp1 \ dotnetfx35 \ x64 \ dotnetfx35langpack_x64zh-CHS.exe" in Net Framework 3.5 SP1 ". For more information, see help.

Follow the prompts to download the desired file:

Http://www.microsoft.com/downloads/details.aspx? Familyid = 8489ed13-b831-4855-96f7-dd35e4c02a20 & displaylang = ZH-CN

Here we only need to download the dotnetfx35langpack_x64zh-CHS.exe and dotnetfx35langpack_x86zh-CHS.exe, because the release only prompts that the two files are missing.

======= If you are eager to publish, you can ignore this section ========
After the download is complete, put them in % ProgramFiles % \ microsoft sdks \ windows \ v7.0a \ bootstrapper \ packages \ dotnetfx35sp1 \ dotnetfx35 \ packages to x64, dotnetfx35langpack_x86zh-chs.exe to x86.

I thought everything was normal. I still reported an error when executing the release. What is the problem? Google for a long time, found a solution in this post (http://blog.csdn.net/hhxshhxs88/archive/2009/07/25/4379621.aspx), the following is the specific operation, unlike this post, I did not create the ZH-CHS folder.
========================================================== =

Navigate to the % ProgramFiles % \ microsoft sdks \ windows \ v7.0a \ bootstrapper \ packages \ dotnetfx35sp1 \ ZH-Hans directory and create a folder named dotnetfx35, create two subfolders in the dotnetfx35 folder, named x86 and x64 respectively, and copy the downloaded file to the corresponding subdirectory.

Release again. There should be no errors this time.

* ******* The following content is for your reference only ********
However, there are two warnings, similar to the following:

". The value of the "publickey" feature in Net Framework 3.5 SP1 and the file "C: this feature value for \ Program Files \ microsoft sdks \ windows \ v7.0a \ bootstrapper \ packages \ dotnetfx35sp1 \ dotnetfx30 \ XPSEPSC-x86-en-US.exe does not match.

This is because the publickey of the XPSEPSC-x86-en-US.exe is different from the publickey marked in the % ProgramFiles % \ microsoft sdks \ windows \ v7.0a \ bootstrapper \ packages \ dotnetfx35sp1 \ product. xml file. To eliminate the warning, we need to manually match it.

First, locate the error prompt file, right-click the file, and choose Properties> digital signature ,:

In the "signature list", select a signature and click "details". The window is displayed:

Click "view Certificate" in the window, select the "details" card in the pop-up window, and select "Public Key" in the list below ",:

Then copy the encoding corresponding to the public key to notepad and replace the spaces in it. Finally, we open the product. xml file, look for the XPSEPSC-x86-en-US.exe, replace its corresponding publickey with the string you just processed, and then OK.
**************************************** *

Appendix

When ". net Framework 3.5 SP1 client profile "is a required system. When published, the system will prompt that dotnetfx35clientsetup.exe cannot be found. You can download it from the address below, copy the file to the % ProgramFiles % \ microsoft sdks \ windows \ v7.0a \ bootstrapper \ packages \ dotnetfx35client directory to publish the file.

Http://www.microsoft.com/downloads/details.aspx? Familyid = 8cea6cd1-15bc-4664-b27d-8ceba808b28b & displaylang = ZH-CN

Note: dotnetfx35clientsetup.exe is a Web-based installation program of the client profile. It must be downloaded and installed over the Internet.

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.