c# - Website --> Add Reference also creates files with pdb extensions -
Any assemblies stored in the Q1 bin directory will automatically be referenced by the web application . We can add assembly references by copying DLL into the website -> add context or just in the bin folder. But I noticed that when we add references to website -> add context , then that additional file The PDB is placed inside the bin with the extension, even if these files are also required, the reference still works, even if we just put the referenced DLL in the bin, but the PDB file is not
Question 2 It seems that if you add a new item to a web project, this category will be automatically added to the project list and we can refer it to all the pages of this project. Are.
Are all such files added automatically to the project referencing?
Edit:
I do not have much information about the assemblies, but I accept the reason that the items added in the project (class) It is a simple fact that all the classes in the web project are compiled in a single assembly for the projects and for the fact that the public classes contained in the same assembly are always showing each other. To?
Highly appreciated
- PDB is used to give you line numbers in stack trace. It is always optional
- No you need to specifically reference each project.
Comments
Post a Comment