The extension is great. One suggestion, however. When I select two items, I often have to click the drop-down to change the suggested root. Would be great if the extension could be more intelligent at guessing the root. For example, if you choose a .cshtml and .cs file, suggest the .cshtml as the root. Or maybe if it's easier, suggest the root as the first clicked item.
I did hard work to fix some problems after merging a pull request. I receive confirmation that now is working fine for some people.If you have any problems with this do not hesistate to contact me with more details.
Works as expected, which is great because editing the project file is tedious and VSCommand plug-in occasionally pops up messages and seemed to slow down VS start-up. One minor change I would make is to have the initial parent class suggestion be the class with the shorter name instead of the longer name since that is normally the case.
I moved it to github ( https://github.com/jfromaniello/nestin ) and Nick Craver is having a look to update to 2013, I don't have much time at the moment and I haven't used Visual Studio in years now, but I will have a look.
I will update here when it's ready.
Also please, now that we have the github repo, please post issues there... I don't get mail updates when you comment here,
my twitter is @jfroma, my github is jfromaniello
Never mind - I found it.
Tools -> Options -> Environment (on the left) -> Keyboard.
Then select the command ProjectandSolutionContextMenus.Item.NestItem for nesting, and ProjectandSolutionContextMenus.Item.UnNestitem for unnesting.
If I try to un nest an item by selecting it and choosing un-nest nothing happens.
If i select the item i want to un-nest and its parent and klick on un-nest an error occurs saying I'm not allowed to change a tmp file in my Temp folder.
What am I doing wrong?
I'm trying to get TypeScript working in a Windows 8 project. After adding the build targets for TypeScript I've added a 'test.ts' file. It produces a 'test.js' file. When I try to nest the files I get an error:
Unable to add project item "js\myscript.js": ADDRESULT_Cancel
When I select two items, I often have to click the drop-down to change the suggested root. Would be great if the extension could be more intelligent at guessing the root. For example, if you choose a .cshtml and .cs file, suggest the .cshtml as the root. Or maybe if it's easier, suggest the root as the first clicked item.
Today I managed to update this extension, but as soon as I try to nest files VS gives me error which says that this might be caused by conflict with other extension or another version of this extension is installed. anyway this is configuration error. before this update everything worked perfectly
Seeing the error message:
The 'NestIn.NestInPackage, NestIn, Version=126.96.36.199, Culture=neutral, PublicKeyToken=735d15f764f78d03' package did not load correctly.
The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by running the application together with the /log parameter on the command line, and then examining the file 'C:\Users\<user>\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml'.
It could be because of the pull request that added support to VS11. The project was being built in net 4.5.
I changed back to .net 4.0 and seems to be working fine on both versions of visual studio.
I uploaded a new version , please let me know if it work.
sorry and thanks
I am the author, the project is opensource, i think it was broken since we added support for 2012. It is working on my VS2010 maybe because i have .Net 4.5 and Vs2012...
I can revert back the commit that added support for 2012 if you want and deploy a new version.
does this work for you guys?
I installed a VM from scratch with Win7 and VS2010, and I was able to reproduce the problem. After one hour of debuging and logs I found out the problem.
Last version (1.1.4) should work on both version of visual studio. Let me know if you keep experiencing problems.