✅ Rider Not Creating a New Project in an existing solution correctly?
When I go to add a project to my existing solution, it creates a directory in the existing project, and also a separate project of the same name, what am I doing wrong?? This breaks everything, and deleting the folder causes even more issues.
14 Replies
what are the exact steps you're following to make this happen? i have never seen this and i use rider daily
it sounds like you're actually creating the project in the directory of the existing project, which is something the UI would allow you to do
when you created the first project, did you tell it to put the .sln and the project in the same folder?
This was the issue the entire time
I jsut spent this entire time making a new project and movign all the files manually into the new solution
Evil check box
i wish i knew prior that, that option would cause so many issues lol
yeah, that really only works if you only ever have one project
for future reference you can move the project and then edit the .sln in a text editor to point it to the new location
yeah before I started .NET i didnt even know you could put multiple projs in a same solution, but nothing else ive ever done had solution files lol
i typically have a file structure like
since projects inevitably have things in them that aren't C# projects
oh this prob would of saved me alot of time, i had to delete my git repo, remake a repo, move the files manually to the new solution/proj and then commit it all lol
can I name a solution or will that break everything on me again?
it shouldn't, nothing depends on the sln file itself besides your IDE
so git also doesnt care about it?
all git cares about is what files you've checked in and the changes you've made, it doesn't care about the meaning of the contents
alright sweet. thanks 😄
$close
If you have no further questions, please use /close to mark the forum thread as answered