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

VSIX how to access files copied to output directory

$
0
0

Hi,

I am developing a VSIX which requires some set of text files which is used in the code.

To achieve this I have added those sample files in Project and set their property as "Copy to Output Directory". So my files are getting copied however how can i access this file in code? Since when i checked it folder after installation. Folder Name inside Extension folder has some scrambled name instead of Extension name hence I cant even use UserDataPath property also.

Can some one suggest how can i access files which will be copied to my output directly of extension. OR is there is a way to set folder name within Extension folder.

FYI - my current extension folder path after installation is:

C:\Users\Utkarsh\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\vz0k2een.o1t

-

Utkarsh Chauhan


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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