我正在ServiceStack 3.9.71上开发服务基础架构(管理面板+ webservices).当我开始开发过程时,没有错误或警告,所有项目都被编译并运行完美.当我尝试在Linux上部署应用程序时出现问题:管理控制面板没有在那里启动(mono fastcgi-server4).
我备份了所有并从解决方案中的所有项目中删除了所有ServiceStack和ServiceStack Razor依赖项,然后重新安装它们.之后,在编译器日志中出现许多错过类型的警告.我试图运行应用程序,但它们会因错误而崩溃.
编译器日志如下所示.我正在使用俄语版本Visual Studio 2012 Express,因此我使用Google Translator翻译了所有消息.
1>------ Rebuilding all files started: Project: App.Common, Configuration: Debug Any CPU ------
1> App.Common -> d:\projects\app\App.Common\bin\Debug\App.Common.dll
2>------ Rebuilding all files started: Project: App.Models, Configuration: Debug Any CPU ------
3>------ Rebuilding all files started: Project: App.Roles, Configuration: Debug Any CPU ------
2> App.Models -> d:\projects\app\App.Models\bin\Debug\App.Models.dll
3> App.Roles -> d:\projects\app\App.Roles\bin\Debug\App.Roles.dll
4>------ Rebuilding all files started: Project: App.ServiceDTO, Configuration: Debug Any CPU …Run Code Online (Sandbox Code Playgroud)