Hi,@兰树豪 . Welcome Microsoft Q&A.
The .g.i.<lang-specific extension.>
are used internally to provide various Visual Studio features including intellisense. The files don't appear in the obj directory because they are generated in memory.
The g.i.cs-Files are only visible in the Solution Explorer, select "Show all Files" and browse to the obj\Debug-Folder.
You cannot debug *.g.i.cs file. (Of course, unless you have reflector plug-in integrated in your Visual Studio)
When App.xaml is built, MSBuild generates the actual code that represents what was declared in App.xaml, storing the code in App.g.i.cs.
If the response is helpful, please click "Accept Answer" and upvote it.
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.