You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cutting and pasting an .fsx file in Solution Explorer errors #732
If you cut a file from one folder to another in VS2015, you'll get an "Object Reference not set to an instance" dialog. The paste operation works, but not the cut. In addition, the words "Copy of " will be inserted at the start of the filename of the pasted file.
can you add the lines of the fsproj where the files are defined?
I'll try fix it, but i want to test also your case (there are some permutations, like linked item, real directory, etc)
Activity
enricosada commentedon Nov 19, 2015
@isaacabraham i see the bug
can you add the lines of the fsproj where the files are defined?
I'll try fix it, but i want to test also your case (there are some permutations, like linked item, real directory, etc)
isaacabraham commentedon Nov 19, 2015
Here's the ItemGroup section of the fsproj.
In my case, if I cut/paste Consume.fsx to the root level (or back again), it causes the error.
I've also realised that it does succeed in moving the file - but it leaves the old element there in the project file, pointing to a non-existing file.
saul commentedon Apr 20, 2017
@KevinRansom Closed by #2692