The best way to organize WPF projects

Posted by Mike on Stack Overflow See other posts from Stack Overflow or by Mike
Published on 2010-03-29T08:42:04Z Indexed on 2010/03/29 8:43 UTC
Read the original article Hit count: 455

Hello everybody,

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 project 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

© Stack Overflow or respective owner

Related posts about wpf

Related posts about visual-studio-2010