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