Migrating a pure dotnet-core project does not create a solution
See original GitHub issueSteps to reproduce
dotnet migrate
on a project that only contains project.json
projects (example)
Expected behavior
The projects are migrated to csproj
and a solution is created OR the tool chain allows multiple projects to be specified as before.
Actual behavior
The projects are migrated, but a solution is not created. This means there is no easy way to restore and build, since dotnet restore
only allows you to specify one project at a time and dotnet build
seems to want a solution now instead of searching for projects. Perhaps I missed a communication?
Environment data
dotnet --info
output:
.NET Command Line Tools (1.0.0-rc4-004771)
Product Information:
Version: 1.0.0-rc4-004771
Commit SHA-1 hash: 4228198f0e
Runtime Environment:
OS Name: arch
OS Version:
OS Platform: Linux
RID: ubuntu.14.04-x64
Base Path: /opt/dotnet/sdk/1.0.0-rc4-004771
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Migrate from ASP.NET Core 3.1 to 5.0
Learn how to migrate an ASP.NET Core 6 project to ASP.NET Core 7.0. Learn how to migrate an ASP.NET Core 3.1 project to...
Read more >Migrating the asp.net core 3.1 to .net 6 error
I am migrating one of the projects from .net core 3.1 to .net 6. One of the project is not building and throwing...
Read more >Upgrading a Project with .NET Upgrade Assistant [6 of 18 ...
Creating a New Project with the Upgrade Assistant Visual Studio Extension ... NET Core Migration Wrap-Up - https://youtu.be/rPEZ3_-CjDM 17.
Read more >The absolutely horrendous things you need to do to migrate to ...
NET 4.8 projects because you need to literally create a new .NET Core project and move the code files “manually” into it. What...
Read more >Migrating from .NET Framework to .NET Core: Tips and Tricks
Migrating solutions with over 60 projects, some of them shared with other solutions, may be tricky… If you choose to do a direct...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Luckily, you no longer need to hack one together manually 😄 🎉
The executable thing is a standing issue with .net… there are issues both on the cli and corefx for it.
Globbing should be done by the shell here so it probably depends on the shell version and settings (bash
3.2.57(1)
on Mac OS in my case). So you could also do it viafind . -type f -name '*.csproj' -exec dotnet sln add {} \;