Does visual studio 2012 support conditional symbols for design time?
Example of my problem: In a WPF application with MVVM pattern, I create an instance of the ViewModel directly:
_viewModel = new OrdersViewModel();
but I want to use a conditional symbol for the design time only like this:
_viewModel = new OrdersViewModel
{
Orders = new ObservableCollection<OrderModel>()
{
new OrderModel(){OrderId = "0e2fa124"},
new OrderModel(){OrderId = "5wqsdgew"},
}
};
For sure the conditional compilation symbols doesn't work.