Yes, from 5/18/2016 Template10 cannot collect all its project types from the box (Blank, Hamburger, Minimal) for all combinations of UW target / min versions due to the lack of a link to application knowledge.
Direct change to project.json
works fine, as @CodingGorilla suggested.
Alternatively, in VS.Net, you can add the ApplicationInsights link to the Template10 project using the NuGet console or in the project dropdown menu> Manage NuGet Packages...
in the solution explorer.
In the NuGet console:
Install-Package Microsoft.ApplicationInsights.WindowsApps
or
- Open NuGet Manager Project
- Go to the Overview tab
- Search Microsoft.ApplicationInsights.WindowsApps
- Install package
NuGet will notify you that it installs the target and related packages, for example:
Microsoft.ApplicationInsights.1.2.3 Microsoft.ApplicationInsights.PersistenceChannel.1.2.3 Microsoft.ApplicationInsights.WindowsApps.1.1.1
The dependencies section in project.json
will be modified accordingly:
"dependencies": { "Microsoft.ApplicationInsights.WindowsApps": "1.1.1", "Microsoft.NETCore.UniversalWindowsPlatform": "5.1.0", "Microsoft.Xaml.Behaviors.Uwp.Managed": "1.1.0", "Newtonsoft.Json": "8.0.3", "Template10": "1.1.*" }, ...
source share