question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

C++/WinRT project template is broken

See original GitHub issue

The C++/WinRT project template is broken in at least 2 spots:

  1. /SharedContent/Templates/UWPSDKSampleCPP/UWPSDKSampleCPP.vstemplate references nonexistent and apparently unneeded Scenario{1,2}_ShortName.idl, but fails to reference Project.idl;
  2. Even if 1. is addressed, when building a project generated by that template MainPage.g.cpp is reported missing.

I’m not quite familiar with C++/WinRT for UWP apps, and have been trying to fix it myself in vain.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
oldnewthingcommented, Mar 3, 2020

I’ll update the installer batch file so it reminds you that these are for developing new samples, not for developing UWP apps in general. In other words, the intended audience for the batch file is people who contribute new samples to this repo.

0reactions
oldnewthingcommented, Mar 20, 2020

Okay, fixed templates coming in next refresh. Thanks for pointing them out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

C++/WinRT extension default template build broken
Core App (C++/WinRT) project template is still broken. However I can confirm that Blank App (C++/WinRT) project template works for me with latest...
Read more >
Troubleshooting C++/WinRT issues - UWP - Microsoft Learn
In this article ... For info about installing and using the C++/WinRT Visual Studio Extension (VSIX) (which provides project template support) see ...
Read more >
Error: this template attempted to load component assembly
I have installed C++/WinRT templates and visualizer for VS2019 but when I want to create new Core App it says this message:.
Read more >
Visual Studio: How to create a solution template with multiple ...
Making a single project template was easy: you just follow along the Visual Studio export template wizard but making a solution template ......
Read more >
VS2015 Update 3, MG templates broken [+fix] - Community
Hi all, I just updated my VS2015 Community to Update 3, then installed MG 3.5.1. Creating a new Windows 10 UWP project will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found