﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » .NET Forums » General .NET Discussion  » In Solution Explorer, some of my designer files aren't under their main file</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 13 Sep 2026 10:11:01 GMT</lastBuildDate><ttl>20</ttl><item><title>In Solution Explorer, some of my designer files aren't under their main file</title><link>http://forum.strataframe.net/FindPost5023.aspx</link><description>This isn't huge, it doesn't seem to have affected how the app runs, but I did a bit of reorganizing. I added a folder, moved my BOs into it.  Most of the BO look fine, but 2 or 3 now have their designer files just in the main list, not under the main BO file. I.e. (FirstBO is as expected, SecondBO is not right, ThirdBO shows that the resx if fine, just the designer is whacked)&lt;br&gt;
&lt;br&gt;
FirstBO.vb&lt;br&gt;
  FirstBO.Designer.vb&lt;br&gt;
SecondBO.Designer.vb&lt;br&gt;
SecondBO.vb&lt;br&gt;
ThirdBO.Designer.vb&lt;br&gt;
ThirdBO.vb&lt;br&gt;
  ThirdBO.resx&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I've tried refreshing in Solution Explorer and I've tried restarting VS. Any ideas?</description><pubDate>Thu, 07 Dec 2006 11:03:55 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: In Solution Explorer, some of my designer files aren't under their main file</title><link>http://forum.strataframe.net/FindPost5060.aspx</link><description>Thanks for the info.  I was moving by just grabing the collapsed main files. Sounds like if I expand the files I want to move and then move them together I might have less tweaking of the vbproj file.   I'm sure I'll be using your suggestion for organizing interfaces, events, etc. soon too :D</description><pubDate>Thu, 07 Dec 2006 11:03:55 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: In Solution Explorer, some of my designer files aren't under their main file</title><link>http://forum.strataframe.net/FindPost5038.aspx</link><description>Yes, sometimes, if you move one of the files, and not both of them (generally, if you move the designer file first...) it will separate them and remove that DependentUpon attribute from the XML .vbproj file.&amp;nbsp; By the same token, if you ever need to split a class into more than just 2 files, say MyClass.vb, MyClass.Interfaces.vb, MyClass.Events.vb, MyClass.Designer.vb, etc, you can manually modify the .vbproj file and add the DependentUpon attribute to all of them and they will all show up under the MyClass.vb file.&amp;nbsp; Make organizing much nicer.</description><pubDate>Thu, 07 Dec 2006 08:22:17 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: In Solution Explorer, some of my designer files aren't under their main file</title><link>http://forum.strataframe.net/FindPost5025.aspx</link><description>I guess i removed the tag name... DependentUpon was missing</description><pubDate>Wed, 06 Dec 2006 13:56:48 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: In Solution Explorer, some of my designer files aren't under their main file</title><link>http://forum.strataframe.net/FindPost5024.aspx</link><description>I found the solution. I remembered about project files, found the vbproj file, and the problem files where all missing the &lt;dependentupon&gt; tag. I fixed it and viola its looking good again.</description><pubDate>Wed, 06 Dec 2006 13:56:00 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item></channel></rss>