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.


Comments
Post a Comment