What happens when you create a Visual Studio Project part 4
In previous blogs, I discussed the files that are generated when you create a Visual Studio Project, specifically a WPF Application
- https://blogs.msdn.com/b/devschool/archive/2011/07/14/what-happens-when-you-create-a-visual-studio-project-part-1.aspx
- https://blogs.msdn.com/b/devschool/archive/2011/07/15/what-happens-when-you-create-a-visual-studio-project-part-2-vshost-exe.aspx
- https://blogs.msdn.com/b/devschool/archive/2011/07/16/what-happens-when-you-create-a-visual-studio-project-part-3-manifest.aspx
What is the file located in
…Visual Studio 2010\Projects\WhatIsHappeningHere\WhatIsHappeningHere\obj\x86\Debug\TempPE/Properties.Resources.Designer.cs.dll
Good luck if you use MSDN to find out information, let me know if you know, because I could not get a lock on an exact explanation of what it is, so I am still working on this one. However, Kenny Spade explained it to me that it is used during compilation and that makes sense. It has nothing to do with the actually running of the compiled code and seems to work as an interim operator. This is indicated by the location of the tile in the TempPE folder which is included in the obj folder. If you think I am full of it and have a better explanation or any explanation let me know via comments. Or if you think I am full of it and don’t have an explanation you can also feel free to leave that comment as well. I would like to get a firm definition of what this DLL does.
Using the nifty .NET Reflector you can get a better feeling for what happens with the Properties.Resources.Designer.cs.dll, which, if you look at the bytes generated is generated by the build process as the number of bytes varies
Other files that are created:
-
- AssemblyInfo.cs
- Contains metadata about your application, since it is a C# file you open it and look at it. To make changes to it you usually use the tools contained in the IDE. This is where versioning is controlled, etc.
- https://msdn.microsoft.com/en-us/library/118w0kzy(v=VS.90).aspx
- AssemblyInfo.cs
Resources.Designer.cs
- Resources can be composed of a wide range of elements, including interface elements that provide information to the user (for example a bitmap, icon, or cursor); custom resources that contain data an application needs; version resources that are used by setup APIs; and menu and dialog box resources. (Seriously: You need to understand this class very well.)
- https://msdn.microsoft.com/en-us/library/zabda143(v=VS.100).aspx
- Settings.Designer.cs
- Auto-generated, don’t modify.
- What does it do? This class allows you to handle specific events on the settings class
- Settings.settings
These files are used for the localization, handling of the images, and how the application will appear in the IDE.
Legal requires that I add this endnote: I am an employee of Microsoft Corporation.
See my other blogs for today at:
https://blogs.msdn.com/b/socal-sam/archive/2011/07/18/free-sdk-from-microsoft-facebook-c-sdk.aspx |
https://blogs.msdn.com/b/silverlightgames/archive/2011/07/18/free-silverlight-html-5.aspx |
https://blogs.msdn.com/b/research/archive/2011/07/18/barrelfish-discussion-of-early-experience-with-barrelfish.aspx |