473,497 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Create 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 2117
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
1200
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
1100
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
1059
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
1554
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
976
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
2337
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
16854
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
6412
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...
0
7196
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...
1
6878
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7373
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...
0
5456
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4583
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
3088
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
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1405
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
286
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.