Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removal of project/solution configurations... #54

Closed
davidcorbin-atmosera opened this issue Aug 24, 2022 · 2 comments
Closed

Removal of project/solution configurations... #54

davidcorbin-atmosera opened this issue Aug 24, 2022 · 2 comments

Comments

@davidcorbin-atmosera
Copy link

Over time, project/solutions get lots of build configurations added. I have successfully iterated and found a list and now want to purge...

Going manually into Visual Studio and deleting is not an option (I am looking at nearly 10K kills!!!!)... nut I am also not seeing a way to modify the collections and re-write the respective project (including .vcxproj, and vcsproj) files...

Am I missing something? Are heir any recommendations? Do I have to start writing raw tooling?

Thanks in Advance

@3F
Copy link
Owner

3F commented Aug 24, 2022 via email

@3F
Copy link
Owner

3F commented Apr 29, 2024

I close the issue because I don't see the problem.

All collections exist at runtime. You will be able to prepare everything you may need in your case even if something is locked for modifications in a final result (as I mentioned earlier); after, configure handlers and save the result. That's all.

Note, 2.7 provides new additional ways to prepare the default handlers in a few steps like:

LhDataHelper hdata = new();
hdata.SetProjects(projects)
        .SetProjectConfigs(prjConfs)
        .SetSolutionConfigs(slnConf);

using SlnWriter w = new(solutionFile, hdata);
await w.WriteAsync(sln.Result.Map);

Feel free to open an issue again if the problem still exists.

@3F 3F closed this as completed Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants