Visual Studio:在一个解决方案中创建多个项目?

发布于 2024-09-02 01:39:56 字数 85 浏览 2 评论 0原文

考虑一个 mvvm/wpf 应用程序,它有什么优势,例如 Visual Studio 解决方案中的 3 个项目(View、ViewModel、Model)?

consider a mvvm/wpf application, what advantage has it to do for example 3 projects (View, ViewModel, Model) in a visual studio solution?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

无需解释 2024-09-09 01:39:56

我想不出将视图、视图模型和模型拆分为单独的项目有什么真正的优势,除非它们很大并且您需要更好的组织,或者您想将它们编译为可以独立版本控制的 dll。

I can't think of any real advantage to splitting your view, viewmodel and model into separate projects, unless they are large and you need better organization or you would like to compile them to dlls that can be versioned independently.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文