Can't open windows project in Visual Studio

0

After installing Visual Studio in Windows 10, i copied project from GitHub

The following error are presented.enter image description here Any help would be useful!

I shutdown the PC and start it again. Nothing changed.

Edit: from readme.md in github.

**Notes:

  • Before you unzip the archive, right-click it, select Properties, and then select Unblock.

  • Be sure to unzip the entire archive, and not just individual samples. The samples all depend on the SharedContent folder in the archive.

  • In Visual Studio, the platform target defaults to ARM, so be sure to change that to x64 or x86 if you want to test on a non-ARM device.**

I don't know how to do the third.

(I missed installing c++. I will edit the question in a while...)

Ok, now i have the following errors:

**Severity  Code    Description Project File    Line    Suppression State
Error       DEP6701: Bootstrapping failed with unexpected error: ArgumentException - Parameter cannot be null or empty.
Parameter name: target [0x80070057] Playlists           
Error (active)  E1740   lambda captured variable of type "SDKTemplate::Scenario1_Create ^*" cannot be copied to closure class field of type "SDKTemplate::Scenario1_Create ^"   Playlists   C:\Users\Χρήστος\Desktop\Windows-universal-samples-master\Windows-universal-samples-master\Samples\Playlists\cpp\Scenario1_Create.xaml.cpp  34  
Error (active)  E1740   lambda captured variable of type "SDKTemplate::Scenario1_Create ^const *" cannot be copied to closure class field of type "SDKTemplate::Scenario1_Create ^*"    Playlists   C:\Users\Χρήστος\Desktop\Windows-universal-samples-master\Windows-universal-samples-master\Samples\Playlists\cpp\Scenario1_Create.xaml.cpp  50  
Error (active)  E0131   expression must have pointer-to-class type  Playlists   C:\Users\Χρήστος\Desktop\Windows-universal-samples-master\Windows-universal-samples-master\Samples\Playlists\cpp\Scenario1_Create.xaml.cpp  55  
Error (active)  E0131   expression must have pointer-to-class type  Playlists   C:\Users\Χρήστος\Desktop\Windows-universal-samples-master\Windows-universal-samples-master\Samples\Playlists\cpp\Scenario1_Create.xaml.cpp  59**    

Now i build the .exe file, but when i run it i see the following message:

enter image description here

visual-studio
github
asked on Super User Apr 30, 2020 by user726730 • edited Apr 30, 2020 by user726730

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0