GithubHelp home page GithubHelp logo

filenesting's Introduction

File Nesting

Build status

Download File Nesting from the VS Gallery or get the CI build.


Automatically nest files based on file name and enables developers to nest and unnest any file manually

See the demo video on Channel 9.

Announcement: Visual Studio 2017 15.6 introduced support for customizing how files are nested in ASP.NET Core projects

Features

  • Manually nest files
  • Manually un-nest files
  • Auto-nesting based on naming conventions
  • Option to enable auto-nesting when files are added or renamed
  • Options to specify which naming conventions to apply
  • Keyboard shortcut for manual nesting (Ctrl+Alt+N)

You can both nest and un-nest any file with ease.

context menu

File Nesting also gives you the option to automatically nest based on file naming rules. You can then apply those rules to any files, folders or entire projects.

Here's a screenshot of that:

nested files nested files dark theme

Known issues

Due to missing or limited support for file nesting in certain project types, this extension will have no effect or be disabled. The project types are:

  • Node.js projects (NTVS)
  • ASP.NET Core
  • Apache Cordova
  • Shared projects

There is nothing this extension can do to provide nesting in those project types. The support has to be added to the project type itself before support can be added.

Contribute

Check out the contribution guidelines if you want to contribute to this project.

For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.

License

Apache 2.0

filenesting's People

Contributors

agbrown avatar alekseynemiro avatar angelosp avatar chsword avatar decraw avatar floatas avatar gtrucollo avatar jckodel avatar khellang avatar madskristensen avatar scottaddie avatar tom-englert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

filenesting's Issues

Allow nesting of C# files

It seems like the nesting filters only apply to specific file extensions. Is there a reason why C# is not included?

Not working on Shared Projects

When I try to nest a file on a Shared Project, the ADDRESULT_Cancel is returned and the operation is cancelled.
Please add support for that project type. :)

Feature: Drag and Drop support

I guess this is not the simplest thing to do in the VS api, but that would be the best option from usability standpoint. Simply select multiple files, drop them on another file and the selected files getting grouped under the drop target.

Exceptions when nesting in VS 2015 RC

Only adding this because VS 2015 is listed as being supported (even if it's not officially released yet)

This is happening in an ASP.NET 5 website in Visual Studio 2015 RC. By default, Visual Studio is doing some nesting automatically with similarly named files, but I wanted some more control over what is nested within what, so I got this extension. Unfortunately, when I try to right click and nest a file somewhere else, I get the error "Unable to add project item "path/to/file": ADDRESULT_Cancel", and when I try to un-nest a file, I get the error "Exception has been thrown by the target of an invocation". I've tried uninstalling and reinstalling with the same results. Any idea what's going on there?

Be smarter in preselecting files when manually nesting

When I manually nest a C# file, I have these files:

LocationService.cs
LocationService.android.cs
LocationService.ios.cs
LocationService.wpf.cs
LocationService.silverlight.cs
LocationService.winrt.cs
LocationService.wp.cs

I want to nest all the platform specific implementation under the LocationService.cs. To do so, I currently use manual nesting. When I hit the link manual, it shows the dialog with AccelerometerService (while it could be smarter and select the first item matching the first 5 characters, or even more advanced logic like:

  1. Strip extension (everything until first .) => did we find a match?
  2. Take first 5 and match, continue to 0.
  3. If still nothing found (really strange, but ok), pick first in the list.

Alt+F broken

Pressing Alt+F normally opens the File menu. This is a fundamental key shortcut that extensions shouldn't touch. When the File Nesting extension is enabled, pressing Alt+F does not open the File menu. Instead, the status bar says, "(Alt+F) was pressed. Waiting for second key of chord...".

This a regression in FileNesting 1.8.

Unable to perform nesting of TS/js/map files in a jsproj

The plugin doesn't seem to be working for jsproj projects (specifically we are using the Multi-Device Hybrid App template with TypeScript, but the same problem exists with The built-in JavaScript "Blank App (Windows)" project template).

In our other csproj with Automatic Nesting enabled, once we include the js and map file in the solution for a given ts file, it will automatically nest properly. In a jsproj file the automatic nesting does not occur, and we are unable to perform manual nesting either. Instead we receive the following error message.

System.ArgumentNullException: Value cannot be null.
Parameter name: path

(See below for full stack trace)

Steps to reproduce:

  1. Install the MDHA CPT1 from: http://msdn.microsoft.com/en-us/library/dn722381.aspx
  2. Start VS and choose File > New Project
  3. Select Installed > Templates > TypeScript > Multi-Device Hybrid app from the side tree
  4. Select "Blank App (Apache Cordova)" from the right list.
  5. Enter a path and solution name etc and click OK.
  6. Enable TypeScript compile on save for the solution by right clicking the project in the solution explorer and selecting properties.
  7. Locate scripts/index.ts in the solution explorer and open it and then save it (this will generate the JS and MAP files, you may have to adjust the solution explorer to show all files).
  8. Ensure that File Nesting has its "Enable Automatic Nesting" option selected by right clicking any file and navigating to File Nesting.
  9. Select both the JS and MAP files, right click them and select "Include in Project"
  10. See that the files were not automatically nested underneath the ts file (this works in a csproj)
  11. Select just the index.js file and right click and choose File Nesting > Nest Item
  12. Select the index.ts file and click ok
  13. Sometimes this hangs for a while, but eventually you'll get the error below:
The project system has encountered an error.
Value cannot be null.
Parameter name: path

A diagnostic log has been written to the following location: "C:\Users\Justin\AppData\Local\Temp\VsProjectFault_76ecdc4f-5636-4e78-8bef-5f8e6abeb1d2.failure.txt".

Full Stack Trace:

=====================
5/20/2014 7:44:20 AM
Recoverable
System.ArgumentNullException: Value cannot be null.
Parameter name: path
   at Microsoft.Requires.NotNull[T](T value, String parameterName)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.NodeFromPath(String path)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.<AddItemWithSpecificAsync>d__2a4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.<>c__DisplayClasse3.<<AddItem>b__e2>d__e5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
   at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread()
   at Microsoft.VisualStudio.ProjectSystem.ThreadHandlingMultithreaded.ExecuteSynchronously[T](Func`1 asyncAction)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.<>c__DisplayClass201.<HrInvoke>b__200()
   at Microsoft.VisualStudio.ProjectSystem.Utilities.HResult.Invoke(Func`1 action, IServiceProvider vsShellServiceProvider, IProjectFaultHandlerService projectFaultHandlerService)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.VisualStudio.ProjectSystem.Utilities.CommonProjectSystemTools.Rethrow(Exception ex)
   at Microsoft.VisualStudio.ProjectSystem.ProjectErrorReporting.<>c__DisplayClass5.<SubmitErrorReport>b__3()
   at Microsoft.VisualStudio.ProjectSystem.ExceptionFilter.<>c__DisplayClass2.<Guard>b__0()
   at GuardMethodClass.GuardMethod(Func`1 , Func`2 , Func`2 )
===================
5/20/2014 7:45:34 AM
Recoverable
System.ArgumentNullException: Value cannot be null.
Parameter name: path
   at Microsoft.Requires.NotNull[T](T value, String parameterName)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.NodeFromPath(String path)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.<AddItemWithSpecificAsync>d__2a4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.<>c__DisplayClasse3.<<AddItem>b__e2>d__e5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
   at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread()
   at Microsoft.VisualStudio.ProjectSystem.ThreadHandlingMultithreaded.ExecuteSynchronously[T](Func`1 asyncAction)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode.<>c__DisplayClass201.<HrInvoke>b__200()
   at Microsoft.VisualStudio.ProjectSystem.Utilities.HResult.Invoke(Func`1 action, IServiceProvider vsShellServiceProvider, IProjectFaultHandlerService projectFaultHandlerService)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.VisualStudio.ProjectSystem.Utilities.CommonProjectSystemTools.Rethrow(Exception ex)
   at Microsoft.VisualStudio.ProjectSystem.ProjectErrorReporting.<>c__DisplayClass5.<SubmitErrorReport>b__3()
   at Microsoft.VisualStudio.ProjectSystem.ExceptionFilter.<>c__DisplayClass2.<Guard>b__0()
   at GuardMethodClass.GuardMethod(Func`1 , Func`2 , Func`2 )
===================

An item with the same key has already been added.

Hi,
I get this error message "An item with the same key has already been added" in a message box when I try to nest (right click/File Nesting/Nest item...) a js file and also a js.map file generated by a ts file. Even if I add those files to the project, I get the same result. I didn't take a look at the code yet, but I guess there's a dictionary involved there...

My project is an ASP.NET web app with many other ts files in the Scripts folder. The name of the file is something like company.area.module.ts (.js and .js.map). There are also other folders under Scripts.

Could you please take a look?

Thanks.

Internal Error During Manual Nesting C++ Item

Windows 7 x64
Visual Studio 2015 Preview
VC++ dll project.

File Nesting -> Nest Item -> stdafx.h -> Select Parent -> stdafx.cpp


Microsoft Visual Studio

An internal error occurred. Please contact Microsoft Product Support Services.

OK

Need a drag and drop nesting that works in Solution Explorer.

When I am nesting i18n files, there are many, and they don't always follow the dot notation for determining region. The manual process is slow since it requires a popup window.

It would be nice to just have a (ctrl|alt) + shift + drag & drop feature, or on the popup, support several drag and drop changes that commit when closing the window.

Suggestion: Virtual parent nodes

I'm not sure if the csproj files support this ability, but some sort of virtual parent node would be great.

For example, in my MVC project, I would like to put all of my third-party JS libraries in a ThirdParty "folder", but I don't want it to be a physical folder on the file system, just a collapsible node in Solution Explorer. Currently I have a 0-byte text file called Third Party and just nest everything under that, but that's pretty hacky.

Auto nesting of resx files

Installed product versions

  • Visual Studio: [2013/2015 Professional]
  • This extension: [example 1.1.21]

Description

We use the nesting tool for nesting resx files with a bunch of locales, but auto nesting doesn't recognize the files

Steps to recreate

For example, if we have resx files with different locales:
Content.resx
Content.en-FF.resx
Content.en-US.resx
Content.de-DE.resx
It should nest them as follows:
Content.resx
--Content.en-FF.resx
--Content.en-US.resx
--Content.de-DE.resx

Current behavior

Although I can nest them manually, this is seriously painful in some cases where we may have dozens of translations

Expected behavior

I should be able to enable auto-nesting and/or select all my un-nested files and auto-next them all with one click.
The file format of FILENAME.{locale}.resx is pretty easily nestable without accidentally nesting items so I think it's a straightforward request.

VS 2012 Website

Hi, we recently wanted to start using this plugin and it works well for some items, such as Web Applications and Windows Forms.

However when you create an Empty ASP.NET Website the plugin doesn't appear to load, we don't even get the option on the right-click menu of "File Nesting". This occurs if you load a new Website or open a pre-existing site.

Could you please take a look at this as we very much would like to use this for nesting .js files under our web forms in our Websites.

Thanks

VS2013 package has a dependency on VS2015 shell assembly

Installed product versions

  • Visual Studio: 2013 Ultimate
  • Important: Visual Studio 2015 is not installed
  • This extension: 2.3.54

Description

When opening any solution first time after Visual Studio starts, a generic error message is displayed.

Steps to recreate

  1. Install Visual Studio 2013
  2. Install File Nesting extension
  3. Launch Visual Studio 2013
  4. Open any solution (Either existing or create new one)

Current behavior

When opening any solution first time after Visual Studio starts, a generic error message is displayed:

The 'VSPackage' 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 examining the file 'C:\Users\Giorgi.Chakhidze\AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml'.

Restarting Visual Studio could help resolve this issue.

From ActivityLog.xml it is clear, that File Nesting depends on Microsoft.VisualStudio.Shell.11.0 assembly Version=14.0.0.0, - a component of Visual Studio 2015 (which is NOT installed).

Relevant entries from ActivityLog.xml:

<entry>
    <record>1404</record>
    <time>2016/04/18 12:18:32.350</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
    <guid>{6C799BC4-0D4C-4172-98BC-5D464B612DCA}</guid>
  </entry>
  <entry>
    <record>1405</record>
    <time>2016/04/18 12:18:32.350</time>
    <type>Warning</type>
    <source>VisualStudio</source>
    <description>Unexpected system error mode before loading package [VSPackage]</description>
    <guid>{6C799BC4-0D4C-4172-98BC-5D464B612DCA}</guid>
  </entry>
  <entry>
    <record>1406</record>
    <time>2016/04/18 12:18:32.350</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [VSPackage]</description>
    <guid>{6C799BC4-0D4C-4172-98BC-5D464B612DCA}</guid>
  </entry>
  <entry>
    <record>1407</record>
    <time>2016/04/18 12:18:32.350</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>CreateInstance failed for package [VSPackage]</description>
    <guid>{6C799BC4-0D4C-4172-98BC-5D464B612DCA}</guid>
    <hr>80070002</hr>
    <errorinfo>Could not load file or assembly 'Microsoft.VisualStudio.Shell.11.0, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo>
  </entry>
  <entry>
    <record>1408</record>
    <time>2016/04/18 12:18:32.350</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>End package load [VSPackage]</description>
    <guid>{6C799BC4-0D4C-4172-98BC-5D464B612DCA}</guid>
    <hr>80004005 - E_FAIL</hr>
    <errorinfo>Could not load file or assembly 'Microsoft.VisualStudio.Shell.11.0, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo>
  </entry>

Expected behavior

Package that is intended for Visual Studio 2013 should not have dependency on Visual Studio 2015.

Feature: enable drag&drop gesture

Not sure if this is even possible, but it would be awesome if just dragging a file onto another in the solution explorer caused them to nest. No more need for menus I guess ;).

Currently, when you do that in VS, you get a useless "Cannot move [file]. The destination folder is the same as the source folder.". Would be awesome if that could be overriden for file-over-file dragging.

Always error when clicking "Nest item..."

I just installed this extension in Visual Studio 2013 to try it out but I always get the following error when I select a file and click on "Nest item...":

image

I should probably mention that this is in an portable F# project if that is causing issues. And these are the Visual Studio extensions I have installed:

image

Advanced Nesting Algorithm Option

thank you for share this extension. please add advanced nesting algorithm for nesting files. for example by file extensions or regular expression pattern. and add map file to nesting javascript files.

Extension disabled

Every time I enable this extension after a while I find it disabled. If I enable it again than I can use it, but at the next startup of Visual Studio the extesion is again disabled.

Error for some projects

Hi @madskristensen,
I recently want to use this extension but get an error.
For some types of project (here PHP created with PHP Tools for Visual Studio by Devsense) the feature implemented by this extension simply doesn't work.

g


More specifically, when it's inside a subfolder, the Un-nest option is available but raise the error "This action isn't valid with the current config" on click.

f


Visual Studio 2013.2
Project file extension is .phpproj.

File Nesting doesn't work in ASP.NET Core projects on Visual Studio 2015 Update 2

Installed product versions

  • Visual Studio: 2015 Enterprise Update 2
  • This extension: 2.3.54

Description

File Nesting doesn't work at all in ASP.NET Core projects on Visual Studio 2015 Update 2.

Steps to recreate

  1. Create or open an ASP.NET Core project in Visual Studio 2015 Update 2.
  2. Create two files e.g. FileParent.txt and FileChild.txt.
  3. Select FileChild.txt in Solution Explorer and press Ctrl + Alt + N for File Nesting.
  4. In the popup, select FileParent.txt as parent.
  5. Notice that FileChild.txt does not get nested under FileParent.txt.

Expected behavior

It is expected that FileChild.txt should get nested under FileParent.txt.

Nesting Views and Javascript

I believe a nice feature would be able to do the following

Having a view ex:
/Areas/CustomerManager/Views/Customer/Edit.cshtml
the Javascript
/Areas/CustomerManager/Views/Customer/Edit.js

Would be a nested file automatically..

Auto Nesting Throws Exception

I've got AutoNesting enabled, and I've got the setting to nest Interfaces.

When I select files in the source tree and then select "Auto Nest Selected Items", I receive

could not load file or assembly "Microsoft.Web.Editor"

untitled

Cannot rename nested files

I am able to rename the outermost file, but I cannot rename any of its children. Here are screenshots to illustrate:

image

You can see that the child file is not able to nest.

image

Does not work anymore

Installed product versions

  • Visual Studio: 2013 Premium
  • This extension: 2.4.58

Description

Does not work anymore

Steps to recreate

  1. Install it
  2. Select three files (.Ts, .Js and map)
  3. click on Nest
  4. Nothing happends

Current behavior

This is not longer working on Visual studio 2013, does nothing automatically or manually.

Expected behavior

Nest Files

Item nested under wrong parent

If I have 2 folders, both with parent files with the same name, and I try to nest, the nested item is attached to the wrong parent.

Before nesting:
before

Invoke nesting:
during

during 2

After nesting
after

Note that the "file1.js" should be nested under "file1.ts" from the folder "NewFolder2", not the "file1.ts" from the folder "NewFolder1".

Thanks!

Not working on Cordova JS Project

In a Tools for Apache Cordova project, nesting doesn't work:


Microsoft Visual Studio

Unable to add project item "scripts\angular.min.js": ADDRESULT_Cancel

OK

While trying to nest angular.min.js into angular.js

Choosing "auto-nest selected items" does nothing in VS2015

This worked fine for me in VS2013, but since updating to 2015, this no longer works. I can manually nest each file & choose it's parent from a list, but this become a hassle very quickly.

I am using version 2.2.26 of this extension.

Does not work in VS 15 Preview

when i right click to nest file i get this error

"unable to add project item wwwroot\css\main.css ADDResult_Cancel"

also none of other features are working like autonest

thanks in advanced.

Feature: select multiple files and choose from them one

Hi, i really like this extension. But if you want to nest more then one single item, it is pretty hard to choose the right parent in the dialog box every time.

My suggestion is to allow to select multiple files and show only the selected files in the dialog instead of all (maybe all when only one file is selected). To make it simple, the files should be ordered by shortest first, because this is the most obvious thing.
Since the shortest is the most obvious thing, it would be also great to have an option to always choose the shorted and skip the dialog.

Copy & Paste

When I try to copy & paste (duplicate) a file in the Solution Explorer when the file is nested this is not working. Maybe it should work the same way like a normal file so you can easily duplicated it..

Actually, when I try to do this it doesn't work but seems Visual Studio freezes for a while and response very slowly 2-3 minutes..

File Nesting doesn't work in NodeTools projects on Visual Studio 2015

Installed product versions

  • Visual Studio: 2015 Community
  • File Nesting v2.3.54

Description

File Nesting doesn't work in Node Tools projects on Visual Studio 2015.
project file extention ".njsproj"

Current behavior

I can't see the "File Nesting" option when right-click on files/project in Solution Explorer.
In addition, I tried to enable Auto Nesting via Tools -> Options -> File Nesting and its doesn't work.

"Un-nest item" deletes the file

Installed product versions

  • Visual Studio: Community 2015
  • This extension: 2.4.58

Description

Un-nesting a nest item causes the un-nested item to be deleted from the file system. The entry for the item still exists in the project, however the original file is deleted.

Steps to recreate

  1. Right-click on a nested file.
  2. Under File Nesting, select Un-nest item.
  3. Attempt to open item, get "The item '...' does not exist in the project directory."

Current behavior

Extension is deleted un-nested items, though it certainly shouldn't.

Expected behavior

The file is un-nested but remains undeleted.

Could not load file or assembly 'Microsoft.Web.Editor

Software:

  • Windows 7 x32/x64;
  • Visual Studio 2015 Preview.

I receive the following error message:

Microsoft Visual Studio

Could not load file or assembly 'Microsoft.Web.Editor, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

OK

trying to click on 'Auto-nest selected items', when one or several files are selected.

I suppose, this is because the assembly version 12.0 is from previous Visual Studio.

Analyzers entry (below References) gets lost when FileNesting addin and Funnel addin are both enabled

Hi,

when I'm using the File Nesting add-in and the Funnel add-in together, then the "Analyzers" entry is no longer shown below the "References" entry of a project.

It seems to be some kind of interoperability problem because:

  • I first disabled both add-ins and the Analyzers entry was shown again
  • then I enabled the Funnel add-in and the Analyzers entry was still shown
  • then I enabled the File Nesting add-in and the Analyzers entry was no longer shown
  • then I disabled the File Nesting Add-in again but still the Analyzers entry was not shown anymore
  • then I disabled the Funnel Add-in again and the Analyzers entry was shown again.
  • then I enabled the File Nesting Add-in and the Analyzers entry was still shown.

So it looks like if only 1 Add-in is enabled, then the Analyzers entry is shown but as soon as both are enabled, the Analyzers entry vanishes.

BR,
Ralf

Exception has been thrown by the target of an invocation

When creating an MVC project (Empty- > MVC) right when opening Visual Studio I get this error. The project does not get fully generated:
image

When closing the partially created solution and creating a new one, the message is not displayed and the solution is created without issue:
image

The error returns when I restart Visual Studio (and try creating a new solution).
The problem goes away entirely once I disable the FileNesting extension (and restarting Visual Studio).

I've gone through my ActivityLog.xml and the only error I found was this:

  <entry>
    <record>1584</record>
    <time>2015/04/28 19:39:05.884</time>
    <type>Error</type>
    <source>Extension Manager</source>
    <description>Extension will not be loaded because an extension with the same ID &apos;Microsoft.Windows.DevelopmentKit.Desktop&apos; is already loaded at C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.0\DESKTOP SDK\...</description>
    <path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.1\DESKTOP SDK\</path>
  </entry>

There is also a significant number of warnings. If needed I can share.

File Nesting with Folders

every project have many scripts and styles files. some jquery files, some bootstrap files and other libraries that usually start with jquery. and bootstrap. or standard naming is a [library].[plugin].[js/css]
please add file nesting with folders that automatically create folder with library and show plugin.js in folder's.
nesting folders
I think it is good idea can add in new version of visual studio for easy manage many library scripts.

VS2012 ... The plugin doesn't work.


Microsoft Visual Studio

Could not load file or assembly 'Microsoft.Web.Editor, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

OK

Throw a Error when VS start, about VsixLogger.

Installed product versions

  • Visual Studio: 2015 update2
  • This extension: 2.3.49

Description

Throw a Error when vs start.

Could not load file or assembly “VsixLogger, Version=1.0.15.0, Culture=en-US, PublicKeyToken=null” or one of its dependencies.

<entry>
    <record>546</record>
    <time>2016/04/16 02:45:55.222</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [VSPackage][&#x672A;&#x80FD;&#x52A0;&#x8F7D;&#x6587;&#x4EF6;&#x6216;&#x7A0B;&#x5E8F;&#x96C6;&#x201C;VsixLogger, Version=1.0.15.0, Culture=en-US, PublicKeyToken=null&#x201D;&#x6216;&#x5B83;&#x7684;&#x67D0;&#x4E00;&#x4E2A;&#x4F9D;&#x8D56;&#x9879;&#x3002;&#x7CFB;&#x7EDF;&#x627E;&#x4E0D;&#x5230;&#x6307;&#x5B9A;&#x7684;&#x6587;&#x4EF6;&#x3002;]:{   &#x5728; MadsKristensen.FileNesting.VSPackage.Initialize()&#x000D;&#x000A;   &#x5728; Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)}</description>
    <guid>{6C799BC4-0D4C-4172-98BC-5D464B612DCA}</guid>
    <hr>80070002</hr>
    <errorinfo>未能加载文件或程序集“VsixLogger, Version=1.0.15.0, Culture=en-US, PublicKeyToken=null”或它的某一个依赖项。系统找不到指定的文件。</errorinfo>
  </entry>
  <entry>
    <record>547</record>
    <time>2016/04/16 02:45:55.223</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>End package load [VSPackage]</description>
    <guid>{6C799BC4-0D4C-4172-98BC-5D464B612DCA}</guid>
    <hr>80070002</hr>
    <errorinfo>未能加载文件或程序集“VsixLogger, Version=1.0.15.0, Culture=en-US, PublicKeyToken=null”或它的某一个依赖项。系统找不到指定的文件。</errorinfo>
  </entry>

In the folder "\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\laxwgtzb.bak" :
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.