I'm perplexed as to what the AppDesignerFolder element is used for in a csproj file.
There appears to be almost no documentation at MSDN, and the most insightful answer I've found is just not very satisfactory.
So my question is, just what exactly does this attribute control...?
A CSPROJ file is a C# (C Sharp) programming project file created by Microsoft Visual Studio. It contains XML-formatted text that lists a project's included files and compilation options. Developers compile CSPROJ files using MSBuild (the Microsoft Build Engine).
Basically the . csproj file contains the list of files in your project, plus the references to system assemblies etc. There are a whole bunch of settings - Visual Studio version, project type, Assembly name, Application Icon, Target Culture, Installation Url,... Everything you need to build your project.
What is a CSProj file? Files with CSPROJ extension represent a C# project file that contains the list of files included in a project along with the references to system assemblies.
The AppDesignerFolder element specifies which folder under the project is the "Properties" folder. This is a normal folder under the project directory, but it's displayed specially in Solution Explorer.
The IDE always sets this element to "Properties", which corresponds to the Properties folder it creates for every new project (the folder containing AssemblyInfo.cs). You can change it by editing the .csproj file manually, if you want your "Properties" folder to have some different name. The only reason I've ever seen anyone change it is when there were multiple .csproj files in a single directory (so it didn't make sense for them all to share the same "Properties" folder), but that was a very oddball scenario.
As far as I know, this only affects the way the folder displays in Solution Explorer. It doesn't affect the build process at all.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With