fsprojects-archive / zzarchive-generator-fsharp

[ARCHIVED] Yeoman F# generator
Apache License 2.0
62 stars 27 forks source link

"Add new project to solution" doesn't edit sln file #21

Open ghost opened 8 years ago

ghost commented 8 years ago

I've created an empty solution, then, I used the "Add new project to solution" option, but doesn't edit the sln file. I mean, this option doesn't add the project and projectconfiguration sections. I found this question but can't find a way to re-template the .sln file once it have been created.

Krzysztof-Cieslak commented 8 years ago

It was already discussed in #18.

ghost commented 8 years ago

Hi, oh, so sorry for opening a new issue on this.

You're right, the sln file is an VS's concern. But thinking about how to solve it I had an idea, using a file watcher on the editors that modify the sln (and also the fsproj) content when new file/folder is added. At least on Electron based editors there is a pathwatcher. So, in Atom and VSCode (using ionide), we can stop editing that files manually on xplat development. And also use FAKE Build without run into issues like this (when compile files separately). The only issue would be the order, that Move up Move down on VS Solution Explorer :confused: