Moq support VS 2010 and VS 2008

36 views
Skip to first unread message

Mariano Omar Rodriguez

unread,
Nov 6, 2009, 1:29:56 PM11/6/09
to moq...@googlegroups.com
In the latest's bits we added a new solution file which is Moq.2008.sln to allow the compilation of Moq in Visual Studio 2008. If you need compile it ensure that the Conditional Compilation Symbol "NET35" is defined in the Moq project.
 
To compile the project in Visual Studio 2010 for .NET Framework 3.5 you will need define the Conditional Compilation Symbol as "NET35" (It's defined by default) and change the target framework to .NET Framework 3.5.
 
To compile the project in Visual Studio 2010 for .NET Framework 4.0 you need remove the Conditional Compilation Symbol as "NET35" and change the target framework to .NET Framework 4.0.

Daniel Cazzulino

unread,
Nov 6, 2009, 1:54:46 PM11/6/09
to moq...@googlegroups.com
question: doesn't VS handle all that adding/removal of compilation symbols automatically with the different project /target platform configurations?

/kzu

--
Daniel Cazzulino | Developer Lead | XML MVP | Clarius Consulting | +1 425.329.3471
Reply all
Reply to author
Forward
0 new messages