In .NET, there are SUO, SLN, Proj files for every solution/project. Whilst I know what these files are, is it wise to edit them by hand? Do they ever even need to be edited? If so, what is the best way?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can edit many of the files available. There are even instructions for doing it in the documentation http://msdn.microsoft.com/en-us/library/ms171487(v=VS.90).aspx
Solution files are NOT in XML format and you can find information on the content of .SLN files here:
https://msdn.microsoft.com/en-us/library/bb165951(v=vs.140).aspx
Project files are MSBuild scripts so they are frequently edited (either with a tool or manually) to include items that modify the build configuration to meet your needs. Here is a link to the MSBuild reference that may help:
http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx
.SUO files are your user options and shouldn’t be edited directly. I have personally used the binary editor and edited it just to see if it can be done with success but you do so at your own risk.