views:

28

answers:

0

Hi,

I have a VS2008 Template Project. This project has a script.targets (MSBUILD).

I want that when I create new project from Template Project, I use $safeprojectname$ value in my targets file.

is it possible ??

sample MSbuild targets

<Project InitialTargets="Install" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;

  <Import Project="Microsoft.Sdc.Common.tasks"/>

  <PropertyGroup>

    <nombre_proyecto>$safeprojectname$</nombre_proyecto>

    <Directorio_Backup>C:\Temporal\CTIAltitude\$safeprojectname$</Directorio_Backup>

  </PropertyGroup>