Template Parameters

This file is to test the results of generating the project template. The items listed here are the parameter values that are replaced in the project's template.

Built-In Parameters

Value

Parameter

Description

$clrversion$

clrversion

Current version of the common language runtime (CLR).

$guid1$
$guid2$
$guid3$
$guid4$
$guid5$

GUID [1-10]

A GUID used to replace the project GUID in a project file. You can specify up to 10 unique GUIDs (for example, guid1).

$itemname$

itemname

The name provided by the user in the Add New Item dialog box.

$machinename$

machinename

The current computer name (for example, Computer01).

$projectname$

projectname

The name provided by the user in the New Project dialog box.

$registeredorganization$

registeredorganization

The registry key value from HKLM\Software\Microsoft\Windows NT\CurrentVersion\RegisteredOrganization.

$rootnamespace$

rootnamespace

The root namespace of the current project. This parameter is used to replace the namespace only in an item being added to a project.

$safeitemname$

safeitemname

The name provided by the user in the Add New Item dialog box, with all unsafe characters and spaces removed.

$safeprojectname$

safeprojectname

The name provided by the user in the New Project dialog box, with all unsafe characters and spaces removed.

$time$

time

The current time in the format DD/MM/YYYY 00:00:00.

$userdomain$

userdomain

The current user domain.

$username$

username

The current user name.

$webnamespace$

webnamespace

The name of the current Web site. This parameter is used in the Web form template to guarantee unique class names. If the Web site is at the root directory of the Web server, this template parameter resolves to the root directory of the Web Server.

$year$

year

The current year in the format YYYY.

Custom Parameters

Project Properties
Value

Parameter

Description

$iisurl$

iisurl

The Project URL for the "Local IIS Web server". This parameter is used in the Web properties of the main project properties.

$iisapprooturl$

iisapprooturl

The Override Application Root URL for the "Local IIS Web server". This parameter is used in the Web properties of the main project properties.

$pathiisapprooturl$

pathiisapprooturl

The physical file path of the URL for the "Local IIS Web server". This parameter is used to verify the Web properties of the main project properties.

$dependencies$

dependencies

The relative path to reach the ~\bin folder of the DotNetNuke instance on the local IIS web server. This parameter is used in setting the hint paths for referenced DLLs and the output path for the MVP project.

Other Properties
Value

Parameter

Description

$projectnamespacename$

projectnamespacename

The name to use as the main project's namespace.

$parentprojectname$

parentprojectname

The name of the main project's namespace.

$YourCompany$

YourCompany

(Legacy) A placeholder for the company name of which forms part of the project's namespace.