且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将ASP.Net Core集成到WPF应用程序中

更新时间:2022-11-05 21:59:54

只是为了解决构建错误,您可以安装必需的缺少的Nuget包(WebApplication1的依赖项)及其依赖项.

Just to solve your build errors, you can install required missing Nuget packages (dependencies of WebApplication1) and their dependencies.

通过在WpfApp1上安装followinf Nuget软件包,我能够成功构建并运行您提供的项目:

I was able to successfully build and run your provided project by installing followinf Nuget packages on WpfApp1:

  1. Microsoft.AspNetCore.MVC.Core
  2. Microsoft.AspNetCore.Razor.Runtime