Hello,
Is it possible to modify the templates that come with VS2005? I have
searched all over the place, but can't find them anywhere. I know I can
make my own, but I would like to know if I can modify the ones that are
already there.
TIA
--
Alan Silver
(anything added below this line is nothing to do with me) 4 1524
re:
!Is it possible to modify the templates that come with VS2005?
VS 2005 has over 100 types of templates.
Which VS 2005 template do you want to modify ?
If you mean project templates, they're located in :
drive:\VSInstallDirectory\Common7\IDE\ProjectTempl ates
If you mean web project templates, they're at :
drive:\VSInstallDirectory\Common7\IDE\ProjectTempl ates\Web
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/
======================================
"Alan Silver" <al*********@nospam.thanx.invalidwrote in message news:IR**************@nospamthankyou.spam...
Hello,
Is it possible to modify the templates that come with VS2005? I have searched all over the place, but can't find them
anywhere. I know I can make my own, but I would like to know if I can modify the ones that are already there.
TIA
--
Alan Silver
(anything added below this line is nothing to do with me)
In article <O0**************@TK2MSFTNGP03.phx.gbl>, Juan T. Llibre
<no***********@nowhere.comwrites
>re: !Is it possible to modify the templates that come with VS2005?
VS 2005 has over 100 types of templates.
Which VS 2005 template do you want to modify ?
Sorry, forgot to mention. I specifically want to modify the templates
for a new web form when using C#.
>If you mean project templates, they're located in :
drive:\VSInstallDirectory\Common7\IDE\ProjectTemp lates
If you mean web project templates, they're at : drive:\VSInstallDirectory\Common7\IDE\ProjectTemp lates\Web
I actually meant a specific item template, which I found in...
C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\ItemTemplates\Web\CSharp\1033
In that folder were some zip files with the item templates inside. I
unzipped WebForm.zip and modified the files inside, then zipped it back
up again. However, when I created a new web form from VS2005, I got the
same old template as before.
I tried modifying other templates as well, but none of my changes showed
up.
Any idea what I did wrong? Thanks for the reply.
>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/ ====================================== "Alan Silver" <al*********@nospam.thanx.invalidwrote in message news:IR**************@nospamthankyou.spam...
>Hello,
Is it possible to modify the templates that come with VS2005? I have searched all over the place, but can't find them anywhere. I know I can make my own, but I would like to know if I can modify the ones that are already there.
TIA
-- Alan Silver (anything added below this line is nothing to do with me)
--
Alan Silver
(anything added below this line is nothing to do with me)
Hi,
Alan Silver wrote:
I actually meant a specific item template, which I found in...
C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\ItemTemplates\Web\CSharp\1033
In that folder were some zip files with the item templates inside. I
unzipped WebForm.zip and modified the files inside, then zipped it back
up again. However, when I created a new web form from VS2005, I got the
same old template as before.
I tried modifying other templates as well, but none of my changes showed
up.
Any idea what I did wrong? Thanks for the reply.
VS loads the templates in a temp folder, and opens them from there. If
you want to modify an existing, already loaded template, it's not easy
because you have to localize all the temp copies.
I rather recommend you to create a new template based on the one you
want to modify. Simply create a new project, add or modify the files
like you need, and then choose the menu File / Export template. During
the export, there is an option to automatically import the newly created
template in your version of VS2005.
HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft.ch
PhotoAlbum: http://www.galasoft.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
In article <OG**************@TK2MSFTNGP06.phx.gbl>, "Laurent Bugnion,
MVP" <ga*********@bluewin.chwrites
>Hi,
Hello,
<snip>
>VS loads the templates in a temp folder, and opens them from there. If you want to modify an existing, already loaded template, it's not easy because you have to localize all the temp copies.
So when does it ever use the files in the templates folder? Seems
pointless having them if it uses the ones in the temp folder.
Also, what happens if I delete the temp folders? Won't it just recreate
them from the files in the templates folder, including the ones I
modified?
This all seems rather complex and convoluted. I'm sure there's a good
reason for it, but I can't see what!
>I rather recommend you to create a new template based on the one you want to modify. Simply create a new project, add or modify the files like you need, and then choose the menu File / Export template. During the export, there is an option to automatically import the newly created template in your version of VS2005.
Phew, what a pain! Why can't I just modify the template supplied? This
seems like a very messy way to do it. All I want to do is change the
doctype!
Thanks for the reply
--
Alan Silver
(anything added below this line is nothing to do with me) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Frédéric Vailleau |
last post by:
Hi there,
I tried to reduce the resolution of an image from 300dpi to 72dpi but I
didn't succeed ...
I can use the imagecopyresampled() function to modify the width and height
of my image but I...
|
by: Alex Elbert |
last post by:
Hi
I have built dynamic HTMLTable. Now I want to attach it directly to the Email Body - it is already built, so why not to use a ready table. However, I cannot find the way of getting plain HTML...
|
by: Scotter |
last post by:
Okay I think my title line was worded misleadingly. So here goes again.
I've got quite 20 identical MDB files running on an IIS5 server.
From time to time I need to go into various tables and add...
|
by: jeff |
last post by:
hello
I create a solution with VS.NET 2003
now, I build it to CAB Files.
When I install cab file to Pocketpc, it is registered "my company xxxx"
I want to modify my company to the real...
|
by: Baldy |
last post by:
Hi All
is it possible to modify code at run time? I have a set of constants that
change at deployment (from development to deployment server and a few other
consts) I have a menu item that...
|
by: danders70 |
last post by:
I have hundreds of Access (2.0,97,2K) databases that I need to insert a
sub procedure into, which is to be ran at every startup.
Does anybody know of a way to remotely, programmatically either:...
|
by: Charles Sullivan |
last post by:
I'm working on a program which has a "tree" of command line arguments,
i.e.,
myprogram level1 ]]
such that there can be more than one level2 argument for each level1
argument and more than one...
|
by: baumann.Pan |
last post by:
when define
char *p = " can not modify";
p ='b' ;is not allowed,
but if you declare p as
char p = "can modify";
p = 'b'; is ok?
why?
|
by: LB |
last post by:
Hi,
I want to modify my file ".vbproj". I use XML dlls of Visual Studio and
that causes to modify the format of the file .vbproj and that causes
problems at the compile time on another servor....
|
by: vijay1012 |
last post by:
How to write code to modify a record. One way is using modify, for example $sqlSession->EditEntity( $objtoedit, "modify" );
But for some reasons i should not use this modify.
Is there any way to...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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...
| |