Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Visual studio template folder

$
0
0

Hey,

I'm working on a visual studio template for c++ and in the vstemplate-file is used for a file TargetFileName="\MyProject\MyAppName\$safeprojectname$.h" to specify that there should be folders created.

But when I create a new project through my template I get the followin error: 'A target file name within the VSTemplate file is invalid, it contains a fully qualified path'.

I checked the msdn-website and there it is written, that this should work: '<ProjectItem TargetFileName="\Folder\item.cs">item.cs</ProjectItem>'.

So could you tell me what problem could cause this error?

Thanks in advance!


Viewing all articles
Browse latest Browse all 4410

Trending Articles