When you deploy the asp.net core 2.0.0 project, the following dependency error appears: Error: An assembly specified in the application dependencies manifest (xxx.deps.json) was not found: package: 'MailKit', version: '2.0.1' path : 'lib / netstandard2.0 / MailKit.dll'

  • There was a similar problem (in a different type of project) when switching from .net core 1.0 to 2.0. You need to insert the line <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles> into the PropertyGroup section into the project file * .csproj. - Alexander Petrov

0