Hi,@fatih uyanık. Welcome to Microsoft Q&A.
Cause:
When the project references the Microsoft.VisualStudio.Web.CodeGeneration.Design library, cs, es, tr and other files will be generated in its output directory.
Solution:
First delete this file, then click in the project and reference the following code
<SatelliteResourceLanguages>XXX</SatelliteResourceLanguages>
If you need to keep a certain file (for example, a cs file), you could replace XXX with cs. If you need to delete all files, you could randomly choose a non-existent file name, for example, XXX.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.