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

Cant add the folder in project dynamically in VSIX project

$
0
0

Hi,

I have one project template VSIX. In that VSIX having C# and Javascript project templates. I need to add one folder dynamically using the below code.

projectWizard.ProjectItems.AddFromDirectory(_projectPath + "\\sample");

Its working fine and added the folder in C# projects. But the Javascript projects does not add the folder correctly it throws the exception like below,

Destination directory 'C:\Users\Abbas\Documents\Visual Studio 2013\Projects\TabApplication8\TabApplication8\sample' already exists.

Please suggest how to add one folder in dynamically in Javascript project templates.

Thanks,

Abbas K


- Abbas K



Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>