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
Is your feature request related to a problem? Please describe.
We are trying to update a solution file for a given path such that every ProjectReference inside the .csproj file in that folder is recursively iterated and added to the solution.
Describe the solution you'd like
We'd like to run a dotnet cli command that will perform this action.
Description:
.NET modify solution file command that recursively traverses the C# project dependency tree in the directory
where the solution file is located to update the solution file to contain all projects in the dependency tree
Usage:
dotnet sln sync <SLN_FILE><CSPROJ_FILE> [options]
Arguments:
<SLN_FILE> The solution file to operate on. If not specified, the command will search the current directory for one.
<CSPROJ_FILE> The csproj file to start operating on. If not specified, the command will search the directory of the SLN_FILE for one.
Options:
-?, -h, --help Show command line help.
Additional context
Happy to contribute support for this
The text was updated successfully, but these errors were encountered:
slngen is somewhat similar but AFAIK it cannot add to an existing solution file.
We ended up using this solution. It is able to append entries into an existing solution file, but we just dropped solution files entirely and now build them on the fly with slngen
Is your feature request related to a problem? Please describe.
We are trying to update a solution file for a given path such that every
ProjectReference
inside the.csproj
file in that folder is recursively iterated and added to the solution.Describe the solution you'd like
We'd like to run a dotnet cli command that will perform this action.
Additional context
Happy to contribute support for this
The text was updated successfully, but these errors were encountered: