We have several legacy solutions with the following folder structure:
- root-folder
- Solutions
- Solution 1
- BuildOutput
- Sulution 1.sln
- ...
- Solution 2
- BuildOutput
- Sulution 2.sln
- ...
- Solution 3
- BuildOutput
- Sulution 3.sln
- ...
- Solution 1
- Software
- DotNet
- Projects
- Project 1
- Project 1.csproj
- ...
- Project 2
- Project 2.csproj
- ...
- Project 3
- Project 3.csproj
- ...
- Tests
- Test Project 1
- Test Project 1.csproj
- ...
- Test Project 2
- Test Project 2.csproj
- ...
- Test Project 1
- WPF Projects
- Wpf Project 1
- Wpf Project 1.csproj
- ...
- Wpf Project 2
- Wpf Project 2.csproj
- ...
- Wpf Project 1
- Project 1
- Projects
- DotNet
- Solutions
All solutions have some common projects with other solutions.
Now we use nuget as package manager. Is it possible to use paket instead with this folder structure? And if yes, how. I tried the convert-from-nuget, but this doesn't work.
The team of Paket answered the question very well on github (https://github.com/fsprojects/Paket/issues/965).
I have to run
convert-from-nugetfrom therootfolder, not thesolutionfolder.Then I have to restrict / correct the
paket.dependeciesdefinition if needed. I needed to restrict to .net 4.0 framework version because of Unity nuget package.At least I had to execute
paket install --hardfor clean install of all packages.