dotnet / sdk

Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
https://dot.net/core
MIT License
2.7k stars 1.06k forks source link

Migration output is confusing #7589

Closed 333fred closed 4 years ago

333fred commented 7 years ago

The output of the migration report is confusing if the only project fails:

~/Documents/git/Coalesce/src/Coalesce.Web (master)
$ dotnet migrate -s
Project Coalesce.Web migration failed (C:\Users\frsilb\Documents\git\Coalesce\src\Coalesce.Web)
MIGRATE1011::Deprecated Project: C:\Users\frsilb\Documents\git\Coalesce\src\Coalesce.Web
The 'exclude' option is deprecated. Use 'exclude' within 'compile' or 'embed' instead. (line: 98, file: C:\Users\frsilb\Documents\git\Coalesce\src\Coalesce.Web\project.json)

Summary
Total Projects: 1
Succeeded Projects: 0
Failed Projects: 1

Your project has been migrated to the .csproj format and can be used with this build of the .NET Core Tools.  Please visit https://aka.ms/coremigration to report issues or ask for help.

Note that is says both migration failed and Your project has been migrated. Repo is here: https://github.com/IntelliTect/Coalesce, the Coalesce.Web project. @livarcocc

livarcocc commented 7 years ago

You are right. We need to fix this.