Visual Studio dialogue discrepancy

  • Thread starter Thread starter Joe Fawcett
  • Start date Start date
J

Joe Fawcett

Dear All

Can anyone explain why on some machines, when I choose to add a new item to
a web site in VS 2008, I get the traditional dialogue that shows the
checkbox for choose a master page and on others I get the choice of a
Content Web Page instead?

Thanks
 
Is this the same project being opened on several machines, where some
machines will give you the option and some wont ?

Are you sure you are selecting new webcontent form and not webform in each
case.
 
Scrub question 2.


Rain said:
Is this the same project being opened on several machines, where some
machines will give you the option and some wont ?

Are you sure you are selecting new webcontent form and not webform in
each case.
 
Rain said:
Is this the same project being opened on several machines, where some
machines will give you the option and some wont ?

Are you sure you are selecting new webcontent form and not webform in
each case.



Joe Fawcett said:
Dear All

Can anyone explain why on some machines, when I choose to add a new item
to a web site in VS 2008, I get the traditional dialogue that shows the
checkbox for choose a master page and on others I get the choice of a
Content Web Page instead?

Thanks
Rain

It has happened with the same project but it's consistent across machines.
Some always show one option, some the other.
 
Well, clearly there is some difference between the two.

1.)Do you have the same versions of Visual Studio ( IE ALl professional, etc
Not Professional Express , CTP, BETA )

2.) Are they all patched to the latest hotfix's, service packs.

3.) Are the templates there for the webcontent forms in the machines which
dont offer the options.

4.) Have you tried re-installing Visual Studio on the ones which dont work ?

5.) Have you tried a directory/file comparison , there are free utulities
which can check this for you.


Sorry I dont have an explicit answer, but some detective work is probably
needed here, a bit of basic deduction.


HTH



 
Rain said:
Well, clearly there is some difference between the two.

1.)Do you have the same versions of Visual Studio ( IE ALl professional,
etc Not Professional Express , CTP, BETA )

2.) Are they all patched to the latest hotfix's, service packs.

3.) Are the templates there for the webcontent forms in the machines which
dont offer the options.

4.) Have you tried re-installing Visual Studio on the ones which dont work
?

5.) Have you tried a directory/file comparison , there are free utulities
which can check this for you.


Sorry I dont have an explicit answer, but some detective work is probably
needed here, a bit of basic deduction.


HTH
Rain

I believe they are the same, Visual Studio Team Suite, I'm not prepared to
uninstall, I'm just curious, the same functionality is offered just in a
different fashion. I also did a few of the Hands on Labs at the Visual
Studio launch in March, the same thing happened there, some showed one
dialogue others the alternative. In theory these were all running identical
VPC versions of VS 2008.
I'm going to ask the Visual Studio development team.
 
re:
!> Can anyone explain why on some machines, when I choose to add a new item to
!> a web site in VS 2008, I get the traditional dialogue that shows the checkbox for
!> choose a master page and on others I get the choice of a Content Web Page instead?

Are you adding a new item from the Solution Explorer, or from the "File", "New File" menu ?

If you're adding from the "File", "New File" menu, you won't get a masterpage prompt at all.

It sounds like you're adding a new item from the Solution Explorer.

If you are adding a new item from the Solution Explorer,
you should select a "Content Web Page" template.

In that case, you will always be prompted for the masterpage selection
whether you have one, or more than one, masterpage created.

Also, if you are adding a new item from the Solution Explorer, and if you
select a "Web Form" template, you won't get prompted for masterpage selection.

That's essentially the same as using the "File", "New File" menu choice.





Juan
ASP.NET
=======
"Joe Fawcett" <[email protected]> wrote in message news:%[email protected]...
 
Fair enough Joe.

I wish I could give you a gem which would help you but I simply dont know
the answer, just the approach I would take.

I would be interested to learn what the problem was though if you do get a
good answer fromt he VS Development Team.

Good Luck - Rain.
 
If anyone's interested the difference is between a web site and a web
project, for some reason you get offered different dialogue choices.


--

Joe Fawcett (MVP - XML)

http://joe.fawcett.name

Rain said:
Fair enough Joe.

I wish I could give you a gem which would help you but I simply dont know
the answer, just the approach I would take.

I would be interested to learn what the problem was though if you do get a
good answer fromt he VS Development Team.

Good Luck - Rain.
 
That sounds to me like a genuine bug, since there's absolutely no reason
why a Web Application Project shouldn't be able to select Master Pages.

I've tested both scenarios after you reported this and, with a Web Site,
you don't see the selection dialog unless the "Select Master Page"
checkbox is checked, regardless of whether there's only one Master Page
or more than one ( which is buggy behavior itself, since no selection is needed
when there's only one Master Page ).

In Web Application projects, as you describe, there's never a "choose"
dialog and no checkbox is available to request the option to choose.

If you want to file a bug, I think it's warranted. Go ahead and file it.
If you don't want to (for whichever reason), let me know and I will file it.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
Joe Fawcett said:
If anyone's interested the difference is between a web site and a web project, for some reason you get offered
different dialogue choices.
 
Back
Top