Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateInPlace (Visual Studio Templates)
Collapse the table of content
Expand the table of content

CreateInPlace (Visual Studio Templates)

Specifies whether to create the project and perform parameter replacement in the specified location, or perform parameter replacement in a temporary location and then save the project to the specified location.

<CreateInPlace> true/false </CreateInPlace>

The following sections describe attributes, child elements, and parent elements.



Child Elements


Parent Elements




Categorizes the template and defines how it displays in either the New Project or the Add New Item dialog box.

A text value is required.

The text must be either true or false. If true, the project is created and parameter replacement is performed in the location specified in the New Project dialog box. If false, parameter replacement is performed in a temporary location and the project is then copied to the specified location.

CreateInPlace is an optional element. The default value is true.

The following example illustrates the metadata for a Visual C# template.

<VSTemplate Type="Project" Version="3.0.0"
        <Name>My template</Name>
        <Description>A basic template</Description>
        <Project File="MyTemplate.csproj">
© 2015 Microsoft