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
System.NullReferenceException: Object reference not set to an instance of an object.
at Dnt.Commands.Packages.SwitchPackagesToProjectsCommand.AddProjectsToSolutionAsync(ReferenceSwitcherConfiguration configuration, IConsoleHost host) in C:\projects\dnt\src\Dnt.Commands\Packages\SwitchPackagesToProjectsCommand.cs:line 42
at Dnt.Commands.Packages.SwitchPackagesToProjectsCommand.RunAsync(CommandLineProcessor processor, IConsoleHost host) in C:\projects\dnt\src\Dnt.Commands\Packages\SwitchPackagesToProjectsCommand.cs:line 29
at NConsole.CommandLineProcessor.ProcessSingleAsync(String[] args, Object input)
at NConsole.CommandLineProcessor.ProcessAsync(String[] args, Object input)
at NConsole.CommandLineProcessor.Process(String[] args, Object input)
at Dnt.Program.Main(String[] args) in C:\projects\dnt\src\Dnt\Program.cs:line 33
Of course, this is a stupid spelling mistake to make ('mapptings' should be 'mappings'), but took me a while to find. It would have been great if it had done some kind of validation and told me I had a mistake in the file, since now I dont know if my file is bad or something else (this was the first time I tried dnt).
The text was updated successfully, but these errors were encountered:
If you have any ideas, then tell me, I want to make a small contribution to the project 🐱
While we wait for Rico to sober up from Jack Daniels, Happy New Year! ☃️
I dont have any specific comment, any fix would be great from my point of view. From a quick look it seems your PR will improve the error given nicely :)
I created a
switcher.json
file with the following contentThis gives a null ref exception:
Of course, this is a stupid spelling mistake to make ('mapptings' should be 'mappings'), but took me a while to find. It would have been great if it had done some kind of validation and told me I had a mistake in the file, since now I dont know if my file is bad or something else (this was the first time I tried dnt).
The text was updated successfully, but these errors were encountered: