473,660 Members | 2,445 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Project Name in an asp.net Item Template?

Hi,

Is it possible to store the project name in an Item Template?

I can use $safeprojectnam e$ in a Project Template, and the correct
name is replaced. However, if I do the same in an Item Template, it is
not replaced. I'm using VB.Net in a Web Application Project in VS 2005
SP1.
Thanks in advance,

Gabe

Mar 23 '07 #1
1 1558
What I would do is examine all of the project and item template files and
test the individual tokens. There might be a project token in the item
template engine, but I would not be surprised if it is missing. I am finding
there is much missing from .NET. I do not blame Microsoft for this
"short-sidedness", however, as I am now dealing with my own in a project I
am on. When you are focused on a goal, peripheral issues can get ignored. In
addition, you are probably a fringe case.

You can dynamically pull information, if you are trying to display this
information. You can also set information in config.

Personally, I see little use for project name in every item, as I write most
of my ASP.NET code to be used across multiple projects (skinable sites), at
least for the time being. Project name would show which site the idea came
from, but offer little else. Your mileage may vary.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** ***************
Think outside the box!
*************** *************** ***************
"gabe" <ga*****@gmail. comwrote in message
news:11******** **************@ e65g2000hsc.goo glegroups.com.. .
Hi,

Is it possible to store the project name in an Item Template?

I can use $safeprojectnam e$ in a Project Template, and the correct
name is replaced. However, if I do the same in an Item Template, it is
not replaced. I'm using VB.Net in a Web Application Project in VS 2005
SP1.
Thanks in advance,

Gabe
Mar 24 '07 #2

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

Similar topics

2
2135
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" 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
2
1069
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" 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
0
5558
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted ******************************************************** For this teeny job, please refer to: http://feeds.reddit.com/feed/8fu/?o=25
2
5218
by: =?Utf-8?B?V29ua28gdGhlIFNhbmU=?= | last post by:
Hello, I have an existing (WPF) Class Library project that I'd like to add a WPF Custom Control to. However, when I try to Add New Item, that isn't one of the available options. Perhaps this is a brain freeze, but what could I possibly be missing? WtS
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8341
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8542
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7362
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5650
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4177
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4343
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2760
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 we have to send another system

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.