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

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -