"The source file is different from the file generated by the module" solution

Source: Internet
Author: User

questions:


When doing the BS project, the problem is that the code in the server after we have modified, when using the client side through the WCF service to call the service side, there is a problem is: "Source files and modules generated when the file is different." In fact, I think the problem is very simple, that is, we have modified the service side of the code, the client side did not update, it calls the Serivce file has not been modified, the following error occurs.


Call, I changed the server-side code, and the client was not updated in a timely manner. Let's take a closer look at this question:



method One:


The quickest way I use it is in the C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP. NET Files\vs\39f299e2\e5e2d867\assembly\ dl3\062f62f1\66fadec8_f180d001 "folder, we can update the file ITOO.UINonQueryProperties.BLL.dll file.


Of course, the path of this file is generated temporarily, only you run the client side of the time, it will appear, so when you run the client, the file will be automatically destroyed, I am here to make a coincidence, is in the file directory it prompts to find this folder, You will find three files in this folder: The Aemply file, a DLL file, and a PDB file, the first file we don't need to move, We will find the newly generated DLL and PDB files under the Debug directory under the service side of the BLL layer bin file, and copy the old files to the prompt file directory.


Method Two:


In fact there is another way, we can turn off the client side of the program, so at the end of the program, this folder will be automatically destroyed, we can re-run the client side, so that the resulting file will be new.

"The source file is different from the file generated by the module" solution

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.