Expression Blend and Solution Folders Bug
Last post 04-28-2008 9:41 AM by b3dlam. 2 replies.
Sort Posts:
04-24-2008 11:59 AM
Expression Blend and Solution Folders Bug

Hi,

I have found an issue with Blend and solution files that have solution folders in them. When creating solution folders to organize your project files in a logical manner (eg all server side projects in one solution folder and all client side projects in another folder under the same solution FILE), and loading the solution in Blend, it complains that it does not support solution folders. Blend manages to load the solution properly with all relvant projects.

The issue comes in when you want to create events for a controls. I have chosen the Button control as an example. I drag a button on the xaml file, goto the events section under properties for the button. When i double click to create and open the method stub created for me on the click event, Blend complains that it cannot find the code behind file.

 Removing solution folders resolves this issue. Dont know if it is a bug or not, but it would be nice to have Blend 'understand' solution folders within a solution file.

 Regards

b3dlam

Loading...
Joined on 01-29-2008
Posts 2
04-28-2008 5:47 AM
Re: Expression Blend and Solution Folders Bug

Hello, can you be more specific on your folders structure? When you create a Silverlight project in Visual Studio, you'll get two folders. One for the Silverlight application, and one for the hosting web application. If you open the sln file in Blend, it should work fine. Is this what you mean by solution folders?

shanaolanxing - Please mark the posts as answers if they help and unmark if they don't.

Yi-Lun Luo - MSFT

Loading...
Joined on 10-29-2007
Posts 1,662
04-28-2008 9:41 AM
Re: Expression Blend and Solution Folders Bug

Hi Yi-Lun

It has nothing todo with the folder structure on disk. In Visual Studio you have the option to logically split your projects in a SOLUTION FILE into "Folders". It just provides a visual aid in your solution explorer to distinguish between different sections of your application (ie your solution).

 

The logical split is handled by the solution file, and not by the folder structure on the disk. I know folders are not the operative word to use, but Visual Studio refers to them as Solution Folders, Blend refers to them as Solution Folders, so i thought i should as well :)

 

Regards
 

b3dlam

Loading...
Joined on 01-29-2008
Posts 2