|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Form & Designer File Becoming SeparatedHi there,
I am having an issue with the IDE in VB.NET 2005. Some of the ".Designer.vb" files have becom separate from the base ".vb" file. This has happened to a number of derived forms and if I try to view the deisgner I am only presented with the base form. Any ideas on how to join this back up again? Nick. Aaah I found a manual fix,
I opened to project file in an XML editor and edded the following element to the effected parts... effected parts: form1.vb form1.designer.vb form1.resx <EmbeddedResource Include="Forms\form1.designer.vb"> <DependentUpon>form1.vb</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="Forms\form1.resx"> <DependentUpon>form1.vb</DependentUpon> <SubType>Designer</SubType> </EmbeddedResource> After saving and reloading the items are joined correctly. How they became "unjoined" is anyones guess, possibly VSS is to blame? Nick. Show quoteHide quote "NickP" <a@a.com> wrote in message news:eQvuAFK3GHA.4932@TK2MSFTNGP02.phx.gbl... > Hi there, > > I am having an issue with the IDE in VB.NET 2005. > > Some of the ".Designer.vb" files have becom separate from the base > ".vb" file. This has happened to a number of derived forms and if I try > to view the deisgner I am only presented with the base form. > > Any ideas on how to join this back up again? > > Nick. > Interesting. Is there anyway to prevent files from being separated so it's
like VB2003. I've got enough files in my projects and don't need two files for a form. -- Show quoteHide quoteDennis in Houston "NickP" wrote: > Aaah I found a manual fix, > > I opened to project file in an XML editor and edded the following element to > the effected parts... > > effected parts: > > form1.vb > form1.designer.vb > form1.resx > > <EmbeddedResource Include="Forms\form1.designer.vb"> > <DependentUpon>form1.vb</DependentUpon> > </EmbeddedResource> > > <EmbeddedResource Include="Forms\form1.resx"> > <DependentUpon>form1.vb</DependentUpon> > <SubType>Designer</SubType> > </EmbeddedResource> > > After saving and reloading the items are joined correctly. How they became > "unjoined" is anyones guess, possibly VSS is to blame? > > Nick. > > "NickP" <a@a.com> wrote in message > news:eQvuAFK3GHA.4932@TK2MSFTNGP02.phx.gbl... > > Hi there, > > > > I am having an issue with the IDE in VB.NET 2005. > > > > Some of the ".Designer.vb" files have becom separate from the base > > ".vb" file. This has happened to a number of derived forms and if I try > > to view the deisgner I am only presented with the base form. > > > > Any ideas on how to join this back up again? > > > > Nick. > > > > > Hi Dennise,
Pfftt I don't think, I can only think it is a bug with the IDE that it happens in the first place. I have had the same thing happen in 2003 also. Nick. Show quoteHide quote "Dennis" <Den***@discussions.microsoft.com> wrote in message news:1547001B-1441-4F9E-91A1-B7DC901C6C40@microsoft.com... > Interesting. Is there anyway to prevent files from being separated so > it's > like VB2003. I've got enough files in my projects and don't need two > files > for a form. > -- > Dennis in Houston > > > "NickP" wrote: > >> Aaah I found a manual fix, >> >> I opened to project file in an XML editor and edded the following element >> to >> the effected parts... >> >> effected parts: >> >> form1.vb >> form1.designer.vb >> form1.resx >> >> <EmbeddedResource Include="Forms\form1.designer.vb"> >> <DependentUpon>form1.vb</DependentUpon> >> </EmbeddedResource> >> >> <EmbeddedResource Include="Forms\form1.resx"> >> <DependentUpon>form1.vb</DependentUpon> >> <SubType>Designer</SubType> >> </EmbeddedResource> >> >> After saving and reloading the items are joined correctly. How they >> became >> "unjoined" is anyones guess, possibly VSS is to blame? >> >> Nick. >> >> "NickP" <a@a.com> wrote in message >> news:eQvuAFK3GHA.4932@TK2MSFTNGP02.phx.gbl... >> > Hi there, >> > >> > I am having an issue with the IDE in VB.NET 2005. >> > >> > Some of the ".Designer.vb" files have becom separate from the base >> > ".vb" file. This has happened to a number of derived forms and if I >> > try >> > to view the deisgner I am only presented with the base form. >> > >> > Any ideas on how to join this back up again? >> > >> > Nick. >> > >> >> >>
2005 too smart for it's own good?
Detect mouse movement from minimized application Build a Program Now! VB2005 BackgroundWorker thread locking UI Edit a row read file without locking it. Reading text files How to convert an Image file to PDF file Doubling up of data in DataView-bound DataGrid?? text file problem |
|||||||||||||||||||||||