This project is read-only.

VS Crashes


I'm running VS 2015 Community RC1 under Windows 8.1 Pro, with a .Net 4.5 project..

When I try the following...
        public void AppendFilePartToDisk(string filePath, byte[] dataChunk, bool isLastChunk)
            var directory = filePath.Substring(0, filePath.LastIndexOf('\\'));
            if (!QuickIODirectory.Exists(directory)) QuickIODirectory.Create(directory, true);

            using (FileStream fs = QuickIOFile.Open(filePath, FileMode.OpenOrCreate, FileAccess.ReadWrite))
                fs.Position = fs.Length;
                fs.Write(dataChunk, 0, dataChunk.Length);
With a long file path, Visual Studio Crashes... I really am not used to doing low-level debugging against VS, but the crash also seems to happen if I use Microsoft.Experimental.IO or QuickIO - I'm not sure if it's a new Windows 8.1 security measure, or a change in the API itself.


BenjaminAbt wrote Jun 6, 2015 at 11:38 AM

** Closed by BenjaminAbt 06/06/2015 3:38AM

BenjaminAbt wrote Jun 6, 2015 at 11:39 AM

Thank you. Thats crazy.
I've moved the issue to GitHub and working on it!

BenjaminAbt wrote Jun 6, 2015 at 1:56 PM

Could u please give me some information?
Last Windows Updates? KB Number?
.NET 4.5? 4.5.1? 4.5.2? 4.6?
Full pathname?


icnocop wrote Mar 14, 2016 at 8:59 PM

This should probably be closed because the same issue in GitHub is closed with the following comment:
BenjaminAbt commented on Jan 23
New VS does not crash anymore.