Support for package that targets both Windows Store XAML and Windows Store HTML
description
Copy from a discussion. The gist of this feature is to allow package authors to distinguish between a C#/VB.NET Windows Store project versus a HTML/JS project (and preferably versus C++ project too), in the same package.
I'm trying to create a NuGet package that targets both Windows Store XAML/C# and Windows Store HTML/JS. The Windows Store XAML/C# DLLs can be placed inside of lib/NETCore45 (or now lib/Windows8) and they will install fine on to Windows Store XAML/C#
projects. However, when trying to install on a Windows Store HTML/JS project it says that the NuGet package does not support the project type.
My current work around is to place the Windows Store XAML/C# .DLLs and the Windows Store HTML/JS .js files in their own separate folders and then use tools\NETCore45\install.ps1 (or now tools\Windows8\install.ps1) to detect if the $project.Type is C# or
JavaScript and install the proper files to the project.
Is this the recommended approach? Is there already support for this scenario? Will this scenario be supported in the future?
Thanks
Simon