[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework

Multiple Solution Template

Mythran

2/29/2008 8:52:00 PM

I'm trying to make a multiple solution template suit my needs. So far, it's
working out a lot better and easier than expected. What I'm coming up short
on is using changing the Project Name and Default Namespace for projects to
be something like:

Project Name: Blah.Blah.$safeitemname$.$safeprojectname$

The project file in the template structure has the above project name
defined with the variables above as well, but the project, when created via
the template, always defaults to the filename for the project (in my case,
BLL, DAL, Schema, WebUI, or Exceptions).

Anyone know if it's possible to do this using Microsoft Visual Studio 2008
templates?

Thanks,
Mythran


23 Answers

Scott M.

2/29/2008 11:41:00 PM

0

You have created a template that allows for multiple solutions
simultaneously?



"Mythran" <kip_potter@hotmail.com> wrote in message
news:D5776406-3335-4FBB-838C-9DFD08FE9718@microsoft.com...
> I'm trying to make a multiple solution template suit my needs. So far,
> it's working out a lot better and easier than expected. What I'm coming
> up short on is using changing the Project Name and Default Namespace for
> projects to be something like:
>
> Project Name: Blah.Blah.$safeitemname$.$safeprojectname$
>
> The project file in the template structure has the above project name
> defined with the variables above as well, but the project, when created
> via the template, always defaults to the filename for the project (in my
> case, BLL, DAL, Schema, WebUI, or Exceptions).
>
> Anyone know if it's possible to do this using Microsoft Visual Studio 2008
> templates?
>
> Thanks,
> Mythran
>
>


Mythran

3/3/2008 5:30:00 PM

0



"Scott M." <smar@nospam.nospam> wrote in message
news:#U3PAxyeIHA.1188@TK2MSFTNGP04.phx.gbl...
> You have created a template that allows for multiple solutions
> simultaneously?


Whoops! No no, I created a solution template that allows for multiple
projects. My fault, sorry I said solution instead of projects :P

Mythran


Michel LAPLANE \(MVP\)

3/6/2008 5:48:00 PM

0

Do you mean that you want to have a name of the project using "." in it?
If so i suppose this "." is not permitted as a replacement string.
To turn around, just create a wizard extension (that is not so difficult to
do if you use the sample in the VS HELP). So you can create
a new replacement variable $customname$ that you can fill with the string
you want trough a custom form included in the wizard extension.

Enjoy with VS
"Scott M." <smar@nospam.nospam> a écrit dans le message de
news:%23U3PAxyeIHA.1188@TK2MSFTNGP04.phx.gbl...
> You have created a template that allows for multiple solutions
> simultaneously?
>
>
>
> "Mythran" <kip_potter@hotmail.com> wrote in message
> news:D5776406-3335-4FBB-838C-9DFD08FE9718@microsoft.com...
>> I'm trying to make a multiple solution template suit my needs. So far,
>> it's working out a lot better and easier than expected. What I'm coming
>> up short on is using changing the Project Name and Default Namespace for
>> projects to be something like:
>>
>> Project Name: Blah.Blah.$safeitemname$.$safeprojectname$
>>
>> The project file in the template structure has the above project name
>> defined with the variables above as well, but the project, when created
>> via the template, always defaults to the filename for the project (in my
>> case, BLL, DAL, Schema, WebUI, or Exceptions).
>>
>> Anyone know if it's possible to do this using Microsoft Visual Studio
>> 2008 templates?
>>
>> Thanks,
>> Mythran
>>
>>
>
>

Mythran

3/7/2008 4:33:00 PM

0



"Michel LAPLANE (MVP)" <mich.laplane@wanadoo.fr> wrote in message
news:Ojyp3I7fIHA.1132@TK2MSFTNGP06.phx.gbl...
> Do you mean that you want to have a name of the project using "." in it?
> If so i suppose this "." is not permitted as a replacement string.
> To turn around, just create a wizard extension (that is not so difficult
> to do if you use the sample in the VS HELP). So you can create
> a new replacement variable $customname$ that you can fill with the string
> you want trough a custom form included in the wizard extension.
>
> Enjoy with VS
> "Scott M." <smar@nospam.nospam> a écrit dans le message de
> news:%23U3PAxyeIHA.1188@TK2MSFTNGP04.phx.gbl...
>> You have created a template that allows for multiple solutions
>> simultaneously?
>>
>>
>>
>> "Mythran" <kip_potter@hotmail.com> wrote in message
>> news:D5776406-3335-4FBB-838C-9DFD08FE9718@microsoft.com...
>>> I'm trying to make a multiple solution template suit my needs. So far,
>>> it's working out a lot better and easier than expected. What I'm coming
>>> up short on is using changing the Project Name and Default Namespace for
>>> projects to be something like:
>>>
>>> Project Name: Blah.Blah.$safeitemname$.$safeprojectname$
>>>
>>> The project file in the template structure has the above project name
>>> defined with the variables above as well, but the project, when created
>>> via the template, always defaults to the filename for the project (in my
>>> case, BLL, DAL, Schema, WebUI, or Exceptions).
>>>
>>> Anyone know if it's possible to do this using Microsoft Visual Studio
>>> 2008 templates?
>>>
>>> Thanks,
>>> Mythran
>>>
>>>
>>
>>
>

Not exactly, the string I have in the file is like:

MyCompany.Applications.$safeitemname$.$safeprojectname$

The $safeitemname$ refers to the name entered by the user when he/she/it
creates the project. The $safeprojectname$ is the project's individual
name. So, I would like to end up with:

MyCompany.Applications.SomeSolutionName.WebUI
or
MyCompany.Applications.SomeSolutionName.BLL

I can do this manually, but I would like to get away with not having to do
this every time I create a project....

Thanks
Mythran


Michel LAPLANE \(MVP\)

3/10/2008 7:52:00 AM

0

I don't quite understand what you mean. If you want, and if you can, send me
your template file and csproj file so i perhaps can help.
By the way, if you would like to customize as you like your template, have a
look to the wizard extension so you can
modify lot of thing.
For example, for generating C# project and C# item using the addproject and
add item assistant, i was able to add unsuported file (like Visio files,
acces files, ... directly in my project) and rename them automatically after
the generation, with the name provided by the user in VS, using the method
RunFinished of the wizard extension. It is very powerful.
Enjoy with VS
"Mythran" <kip_potter@hotmail.com> a écrit dans le message de
news:7C612E2A-8B20-4B9A-B800-8311E22F3562@microsoft.com...
>
>
> "Michel LAPLANE (MVP)" <mich.laplane@wanadoo.fr> wrote in message
> news:Ojyp3I7fIHA.1132@TK2MSFTNGP06.phx.gbl...
>> Do you mean that you want to have a name of the project using "." in it?
>> If so i suppose this "." is not permitted as a replacement string.
>> To turn around, just create a wizard extension (that is not so difficult
>> to do if you use the sample in the VS HELP). So you can create
>> a new replacement variable $customname$ that you can fill with the string
>> you want trough a custom form included in the wizard extension.
>>
>> Enjoy with VS
>> "Scott M." <smar@nospam.nospam> a écrit dans le message de
>> news:%23U3PAxyeIHA.1188@TK2MSFTNGP04.phx.gbl...
>>> You have created a template that allows for multiple solutions
>>> simultaneously?
>>>
>>>
>>>
>>> "Mythran" <kip_potter@hotmail.com> wrote in message
>>> news:D5776406-3335-4FBB-838C-9DFD08FE9718@microsoft.com...
>>>> I'm trying to make a multiple solution template suit my needs. So far,
>>>> it's working out a lot better and easier than expected. What I'm
>>>> coming up short on is using changing the Project Name and Default
>>>> Namespace for projects to be something like:
>>>>
>>>> Project Name: Blah.Blah.$safeitemname$.$safeprojectname$
>>>>
>>>> The project file in the template structure has the above project name
>>>> defined with the variables above as well, but the project, when created
>>>> via the template, always defaults to the filename for the project (in
>>>> my case, BLL, DAL, Schema, WebUI, or Exceptions).
>>>>
>>>> Anyone know if it's possible to do this using Microsoft Visual Studio
>>>> 2008 templates?
>>>>
>>>> Thanks,
>>>> Mythran
>>>>
>>>>
>>>
>>>
>>
>
> Not exactly, the string I have in the file is like:
>
> MyCompany.Applications.$safeitemname$.$safeprojectname$
>
> The $safeitemname$ refers to the name entered by the user when he/she/it
> creates the project. The $safeprojectname$ is the project's individual
> name. So, I would like to end up with:
>
> MyCompany.Applications.SomeSolutionName.WebUI
> or
> MyCompany.Applications.SomeSolutionName.BLL
>
> I can do this manually, but I would like to get away with not having to do
> this every time I create a project....
>
> Thanks
> Mythran
>
>

The PHANTOM

3/11/2009 11:05:00 PM

0

On Mar 11, 1:57 pm, "Reverend Billy Bob" <sku...@limbaugh.net> wrote:
> "MioMyo" <USA_Patr...@Somewhere.com> wrote in message
>
> news:P2Ftl.21526$yr3.3644@nlpi068.nbdc.sbc.com...
>
> > Yes, now it's official for all you libtard whiners who claim you imperial
> > princess pelosi doesn't abuse her her perks & privileges. Judicial Watch's
> > freedom of information requests now prove this elitist bitch's constant
> > (and many times last minute) demands for imperial status.......
>
> Rightards don't mind Bush's millions of "vacations", Reagan's weekly jaunts
> to Santa Barbara or Dan Quayle's golfing trips to Hawaii but let a Dem go
> somewhere for work or business and the teary bawling begins.
> Go fuck yourself, Conservaloon.

Work?? Business?? Piglosi takes a planeload of sycophants to Rome on a
shopping trip?? Business?? Yup,business as usual.

michael ellis

3/11/2009 11:18:00 PM

0

That princess Piglosi to you.


"Paulie Walnutts" <hoofhearted07@yahoo.com> wrote in message
news:355d6c81-49a5-4a53-92f4-dac044b28865@v18g2000pro.googlegroups.com...
On Mar 11, 1:57 pm, "Reverend Billy Bob" <sku...@limbaugh.net> wrote:
> "MioMyo" <USA_Patr...@Somewhere.com> wrote in message
>
> news:P2Ftl.21526$yr3.3644@nlpi068.nbdc.sbc.com...
>
> > Yes, now it's official for all you libtard whiners who claim you
> > imperial
> > princess pelosi doesn't abuse her her perks & privileges. Judicial
> > Watch's
> > freedom of information requests now prove this elitist bitch's constant
> > (and many times last minute) demands for imperial status.......
>
> Rightards don't mind Bush's millions of "vacations", Reagan's weekly
> jaunts
> to Santa Barbara or Dan Quayle's golfing trips to Hawaii but let a Dem go
> somewhere for work or business and the teary bawling begins.
> Go fuck yourself, Conservaloon.

Work?? Business?? Piglosi takes a planeload of sycophants to Rome on a
shopping trip?? Business?? Yup,business as usual.


Stan de SD

3/12/2009 12:25:00 AM

0

On Mar 11, 11:57 am, "Reverend Billy Bob" <sku...@limbaugh.net> wrote:
> "MioMyo" <USA_Patr...@Somewhere.com> wrote in message
>
> news:P2Ftl.21526$yr3.3644@nlpi068.nbdc.sbc.com...
>
> > Yes, now it's official for all you libtard whiners who claim you imperial
> > princess pelosi doesn't abuse her her perks & privileges. Judicial Watch's
> > freedom of information requests now prove this elitist bitch's constant
> > (and many times last minute) demands for imperial status.......
>
> Rightards don't mind Bush's millions of "vacations", Reagan's weekly jaunts
> to Santa Barbara or Dan Quayle's golfing trips to Hawaii but let a Dem go
> somewhere for work or business

When did San Fran Nan become POTUS or VP?

Reverend Billy Bob

3/12/2009 2:52:00 AM

0


"Paulie Walnutts" <hoofhearted07@yahoo.com> wrote in message
news:355d6c81-49a5-4a53-92f4-dac044b28865@v18g2000pro.googlegroups.com...
On Mar 11, 1:57 pm, "Reverend Billy Bob" <sku...@limbaugh.net> wrote:
> "MioMyo" <USA_Patr...@Somewhere.com> wrote in message
>
> news:P2Ftl.21526$yr3.3644@nlpi068.nbdc.sbc.com...
>
> > Yes, now it's official for all you libtard whiners who claim you
> > imperial
> > princess pelosi doesn't abuse her her perks & privileges. Judicial
> > Watch's
> > freedom of information requests now prove this elitist bitch's constant
> > (and many times last minute) demands for imperial status.......
>
> Rightards don't mind Bush's millions of "vacations", Reagan's weekly
> jaunts
> to Santa Barbara or Dan Quayle's golfing trips to Hawaii but let a Dem go
> somewhere for work or business and the teary bawling begins.
> Go fuck yourself, Conservaloon.

Work?? Business?? Piglosi takes a planeload of sycophants to Rome on a
shopping trip?? Business?? Yup,business as usual.
===============

Condi's trips to Rome & Paris to buy shoes goes right over your head,
Hypocrite.


Reverend Billy Bob

3/12/2009 2:53:00 AM

0


"Frank Pittel" <fwp@warlock.deepthought.com> wrote in message
news:ipidnf39eZYSoiXUnZ2dnUVZ_q7inZ2d@giganews.com...
> In alt.politics.usa.republican Reverend Billy Bob <skunks@limbaugh.net>
> wrote:
>
> : "MioMyo" <USA_Patriot@Somewhere.com> wrote in message
> : news:P2Ftl.21526$yr3.3644@nlpi068.nbdc.sbc.com...
> : > Yes, now it's official for all you libtard whiners who claim you
> imperial
> : > princess pelosi doesn't abuse her her perks & privileges. Judicial
> Watch's
> : > freedom of information requests now prove this elitist bitch's
> constant
> : > (and many times last minute) demands for imperial status.......
>
> : Rightards don't mind Bush's millions of "vacations", Reagan's weekly
> jaunts
> : to Santa Barbara or Dan Quayle's golfing trips to Hawaii but let a Dem
> go
> : somewhere for work or business and the teary bawling begins.
> : Go fuck yourself, Conservaloon.
>
> But mommy, they did it too!!!

But Fwankie, you are always ignoring what your assholes do.