c# - VS solution folder not generating in the bin/debug or release folder -


i have added solution folder on visual solution project. have added text files inside folder.

i have built , rebuilt solution still nothing.

the error when trying access file folder:

system.io.streamreader file0 = new system.io.streamreader(path.combine(environment.currentdirectory, @"newfolder\sampletext.txt")); 

an unhandled exception of type 'system.io.directorynotfoundexception' occurred in mscorlib.dll

additional information: not find part of path 'i:\programming\projects\sampleproject\sampleproject\sampleproject\bin\release\newfolder\sampletext.txt'.

the path release folder valid, newfolder not inside. don't understand why not being generated, great.

click on text file, change copy output directory copy if newer or copy always. copy file , folder structure beneath project level , re-create in output folder.

enter image description here

enter image description here


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

Error while updating a record in APEX screen -

single sign on - Logging into Plone site with credentials passed through HTTP -