.net - What is function of each file in a simple C# project? -
i want ask files found in folder of simple c# project . (.pdb file , .vshost file , .manifest file ) in bin folder ( .csproj.filelistabsolute.txt file , .pdb file ) in debug folder (assemblyinfo.cs ) in properties folder
what function of each file of them ?
and of them in msil , if there no file of them in language how can file in msil ?
another question : specific part converts c# code msil ?? , c# compiler ? there specific name ?
technically, pdb, vshost, , manifest file are not part of c# project, part of output generated when build project.
the pdb file contains symbol information used debugger associate code within assembly sources files. allows debugger identify line of source code corresponds set of instruction in msil of assembly.
the vshost.exe file hosting process visual studio generates helps accelerate debugging of application. caches app domain process reduce startup time debugger.
the manifest file contains information assemblies in project , common metadata them. contents varies project type.
the csproj file xml-based representation of code , resources project. it's file visual studio uses figure out code , resuorces compile assembly. file contains project settings , options control how compiler (and other tools) process assets of project.
none of these files contains msil. msil part of .exe , .dll files generated when build project. these files encoded using microsoft pe (portable executable) format, , contain resources, data, , msil code.
the exe , dll, , pdb files generated c# compiler - csc.exe. other files (iirc) generated other tools invoked msbuild process controls entire build cycle.
Comments
Post a Comment