You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to organize the projects in my solution with solution folders and I notice that AddProject<> has a solutionFolder parameter in it. I added a name to it and generated the solution and nothing changed.
Am I doing this wrong?
Thanks for your help!
The text was updated successfully, but these errors were encountered:
You're not doing it wrong, it's a known bug. The fix was merged upstream a few weeks ago but hasn't made it into the public repo yet. I'll see if I can do something about that at work, but in the meantime you have some options:
If your projects are only in one solution (or they're in the same folder regardless of solution), you can set the Project.Configuration.SolutionFolder property during the configuration stage.
If one or more projects have folders that must be set per-solution, you can fix the bug on your end. It's a pretty simple one, and most of the relevant code to change is here.
Basically, the problem is that Sharpmake doesn't recognize that the value passed to AddProject takes precedence over the value set on Project.Configuration.SolutionFolder, sees that the two are different, and blanks out the result. If you can prevent that code from erasing the folder, you should be all set until the official fix rolls in.
Hi!!
I'm trying to organize the projects in my solution with solution folders and I notice that AddProject<> has a solutionFolder parameter in it. I added a name to it and generated the solution and nothing changed.
Am I doing this wrong?
Thanks for your help!
The text was updated successfully, but these errors were encountered: