473,503 Members | 12,159 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Store Item Template with Project

CMM
Is there a way to create an "item template" (File | Export Template) where
it is only available to the current project? I mean, a lot of the time (most
of the time I would say) "item templates" only make sense in the project
they were created in... and not have them pollute the generic "Add New Item"
dialog box for projects where they make no sense.

--
-C. Moya
www.cmoya.com
Apr 17 '06 #1
2 1059
AFAIK no. What I do sometimes is to create a small add-in that adds a new
"Add" \ "My ProjectItem" menu, and I could even enable or disable that menu
based on the current project name or kind.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
"CMM" <cm*@nospam.com> escribió en el mensaje
news:ui**************@TK2MSFTNGP04.phx.gbl...
Is there a way to create an "item template" (File | Export Template) where
it is only available to the current project? I mean, a lot of the time
(most of the time I would say) "item templates" only make sense in the
project they were created in... and not have them pollute the generic "Add
New Item" dialog box for projects where they make no sense.

--
-C. Moya
www.cmoya.com

Apr 18 '06 #2
CMM
What I've been doing is simply keeping a "template" page in my asp.net
project and copying and pasting it and then renaming it.... but, the painful
thing is that refactoring in asp.net is totally broken. Renaming a an aspx
file doesn't rename anything else.... and right-click/rename the code-behind
class, doesn't rename the the "inherits" value in the aspx file.

You can get everything to work in a just a few seconds.... but, it's not as
nice and clean as just doing "Add New Item"

--
-C. Moya
www.cmoya.com
"Carlos J. Quintero [VB MVP]" <ca*****@NOSPAMsogecable.com> wrote in message
news:Ou****************@TK2MSFTNGP04.phx.gbl...
AFAIK no. What I do sometimes is to create a small add-in that adds a new
"Add" \ "My ProjectItem" menu, and I could even enable or disable that
menu based on the current project name or kind.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
"CMM" <cm*@nospam.com> escribió en el mensaje
news:ui**************@TK2MSFTNGP04.phx.gbl...
Is there a way to create an "item template" (File | Export Template)
where it is only available to the current project? I mean, a lot of the
time (most of the time I would say) "item templates" only make sense in
the project they were created in... and not have them pollute the generic
"Add New Item" dialog box for projects where they make no sense.

--
-C. Moya
www.cmoya.com


Apr 18 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1202
by: trevor | last post by:
When i load visual basic.net and select File - Add new item to an existing or a new project i receive the above error. I receive this with the windows form template and the data wizard template for...
0
1102
by: Mark | last post by:
I'm trying to port the asp.net unleashed sample store from SQLServer to Access. I have it all do, execpt when I try and add something to the cart I geet this error: Exception Details:...
2
2120
by: CMM | last post by:
Is there a way to create an "item template" (File | Export Template) where it is only available to the current project? I mean, a lot of the time (most of the time I would say) "item templates"...
4
1556
by: Ranginald | last post by:
Hi, I am generally new to OOP and in learning and writing code I have developed many of my own reusable methods. A. What is the best way to store these methods for easy reuse later? I was...
0
977
by: Gabriele | last post by:
For didactical purposes I'm trying to create a C Template Item (an empty *.c file) (the header template file is already included) and a C empty project with all the settings to allow only C...
3
2339
by: Michael Slattery | last post by:
Hello, I see quite a few questions, but no valid responses to the question... How do I store an ArrayList of items in a Properties file via the GUI? I am able to select the...
2
16855
by: Jerod Hatley | last post by:
when I try to add two controls to an item template, I cannot figure out how to keep them on a single line. the functionality is just fine but how do I get the controls to render on a single line?...
3
6415
by: Elmo Watson | last post by:
I previously had a project working, in which the Gridview was populated by a DataSet - then, with a DropDownlist in one of the columns, using the OnrowDataBound event, to populate the DDL with the...
2
1830
by: kanepart2 | last post by:
Hey all , I wanted to create a project or item template in C# such that when I use that template a parameter wizard comes up asking for values. I know how to create the template without...
4
2019
by: Rob | last post by:
The app.config in VB 2005 appears to be riddled with bugs.... From solution explorer I right click on the Project | Properties... then I use the grid to add the app settings... AND they are saved...
0
7067
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7264
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7316
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4992
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.