Template 10: useful information and links

In this post I will put information and useful links related to the Template 10 and possibly I’ll add also some considerations using it: therefore it is an ongoing post that will contain more and more contents … whenever I’ll find something interesting to point out on this topic! You can find more useful information about Windows 10 programming in the post Programming for Windows 10: useful links.

Template 10 is a Windows app project templates available now also in the Visual Studio gallery and you can use it for your project as follows:

Go to Tools -> Extensions & Updates

Go to Tools -> Extensions & Updates

Find and select Template10

Find and select Template10

Template 10 available on NuGet (include prerelease)

Template 10 available on NuGet (note: Include prerelease checked)

Template10 is then available as one of the possible templates for Universal apps (after added it from the VS gallery)

Template 10 is then available as one of the possible templates for Universal apps (after added it from the VS gallery)

==============

You can find more info in Template 10 (Visual Studio 2015 extension, Documentation, Issues).

Please read, from the Template10’s wiki, the advice First things first, getting the T10 templates to build: because the Visual Studio tooling for NuGet 3 in UWP apps is quite new, you must restore the packages from NuGet before they will build. There are three steps to get it to work, and this is a one-time process.

  1. Open the Package Manager Console (from Tools or press Ctrl+Q, type “pac man” and ensure “Allow NuGet to download missing packages” and “Automatically check for missing packages during build in Visual Studio” are both checked (true) in the Options dialog.
    Launch Package Manager Console

    Launch Package Manager Console

    Click the Option icon and verify that both the Package Restore checkboxes are checked

    Click the Option icon and verify that both the Package Restore checkboxes are checked

  2. Right-click your Solution, and select Clean.
  3. Right-click your Solution, and select Rebuild.
  4. Select your project, and click the “Refresh” button at the top of Solution Explorer.

===========

Useful links:

===========

Be careful – The NuGet dependences are not included in the template, but they are downloaded at the first compilation of the project. Even compiling my solution I experimented some errors (yellow triangle on the Tempalte10 reference): I tried also to redo the reference of NuGet but without success.; then I deleted it and downloaded again with the NuGet Package Manager. The problem I had was probably related to the proxy of my firm that may be blocked some connection with NuGet: once connected directly to Internet and reloaded that template with the NuGet Package Manager, everything was OK. Anyway now that Template10 is also in the Visual Studio gallery, that is the easiest way to use it (include in your Visual Studio 2015 and than see it as one of the available templates!

Template 10 Template Pack (Visual Studio Market place)

Annunci

Informazioni su Enzo Contini

Electronic engineer
Questa voce è stata pubblicata in Windows, Windows Phone/Mobile. Contrassegna il permalink.

Una risposta a Template 10: useful information and links

  1. Pingback: Programming for Windows 10: useful links | Enzo Contini Blog

Lascia un Commento/Leave a comment

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...