开发者

The best way to organize WPF projects

开发者 https://www.devze.com 2022-12-24 06:11 出处:网络
I\'ve started recently to develop a new software in WPF, and I still don\'t know which is the best way to organize the application, to be more productive with Visual Studio and Expression Blend.

I've started recently to develop a new software in WPF, and I still don't know which is the best way to organize the application, to be more productive with Visual Studio and Expression Blend.

I noticed 2 annoying things I'd like to solve:

  1. I'm using Code Contracts in my projects, and when I run my project with Expression Blend, it launches the static analysis of the code. How can I stop that?
  2. Which configuration of the proje开发者_开发技巧ct does Blend use by default? I've tried to disable Code Contracts in a new configuration. It works in VS as the static analysis is not launched, but it has no effects in Blend.

I've thinked about splitting the Windows Application in 2 parts: the first one containing the views of the WPF (app.exe) and the second one being the core of the project, with the logic code (app.core.dll), and I would just open the former project in Blend.

Any thoughts about that?

Thanks in advance

Mike


Check out this guy for some answers: http://drwpf.com/blog/2007/10/01/58/

0

精彩评论

暂无评论...
验证码 换一张
取 消