C
C#4mo ago
Cydo

✅ 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.
No description
14 Replies
Jimmacle
Jimmacle4mo ago
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?
Cydo
CydoOP4mo ago
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
Cydo
CydoOP4mo ago
Evil check box
No description
Cydo
CydoOP4mo ago
i wish i knew prior that, that option would cause so many issues lol
Jimmacle
Jimmacle4mo ago
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
Cydo
CydoOP4mo ago
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
Jimmacle
Jimmacle4mo ago
i typically have a file structure like
.sln
src
--project1
--project2
.sln
src
--project1
--project2
since projects inevitably have things in them that aren't C# projects
Cydo
CydoOP4mo ago
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?
Jimmacle
Jimmacle4mo ago
it shouldn't, nothing depends on the sln file itself besides your IDE
Cydo
CydoOP4mo ago
so git also doesnt care about it?
Jimmacle
Jimmacle4mo ago
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
Cydo
CydoOP4mo ago
alright sweet. thanks 😄
Jimmacle
Jimmacle4mo ago
$close
MODiX
MODiX4mo ago
If you have no further questions, please use /close to mark the forum thread as answered
Want results from more Discord servers?
Add your server