How to edit a sln file in visual studio 2022
can't believe that i have to ask this question.... guess it comes to show another example of microsoft f***king up... but how do i simply open a sln file to edit it within visual studio 2022? i tried double clicking / triple clicking / rapid fire clicking.... no dice..... can't believe that something that used to be so easy before has now become a mystery.... tried googling but you know,,,, it get's confused with opening a sln file with visual studio.... i'm talking about EDITING IT in actual TEXT!
thanks... to anyone who has the patience to answer this stupid and frustrating question....
31 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Open it with Notepad++ or something
That, and instead you could spend a few seconds to google
visual studio edit sln
Unload/close the solution, edit it (I think VS won't let you edit it, so use something external), load/open itUnknown User•3y ago
Message Not Public
Sign In & Join Server To View
(I wish
.sln
files were at least somewhat human-readable... for how much MS loves XML, the weird format of .sln
s really is an outlier)I like to think it was written by an intern in the mid 1990s and nobody ever wanted to attempt to touch it to make it more sane.
I would never hand-edit a sln file. I just generate them on the fly using SlnGen most of the time.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I'm not familiar with that. WAY back Microsoft used a source control system called Source Link Manager (SLM), pronounced "SLIME", that was extremely rudimentary and did all sorts of horrible things (like one developer holding a lock on a file would prevent anyone else from being able to work...)
That was used in Windows. I don't know know what DevDiv used way back in the day.
I only attempted to use SLM once. I somehow managed to corrupt the state for everyone (it was all centrally stored on a file share, behind the scenes) and it had to be restored from backup. I was too terrified to ever attempt to use it again.
i'm not angry!! i'm just passionate xD!!
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
it comes with the passion xD. they have been messing up a lot. in almost every industry. i'm coming more from Rider but my team doesn't use rider cuz of the licenses. we are suppose to get it soon, but until then i have to deal with this crappy IDE which feels like it's been maintained by a bunch of crackheads. probably because the HQ is in seattle xD.
What's not to love?
lol
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
That's normal
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
You probably know it's a version
mtreit#6470
REPL Result: Success
Console Output
Compile: 506.589ms | Execution: 19.480ms | React with ❌ to remove this embed.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
That part of a UUID is not random. It's the version specifier
.NET GUIDs are v4 UUIDs
But seriously, I would not recommend manually editing a SLN file at all.
Either use
dotnet sln
or VSUnknown User•3y ago
Message Not Public
Sign In & Join Server To View
New sln file format when
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Oh, ok, cool, no problem
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Compound?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Hmm. Sounds slightly useful
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View