Visual Studio 2017 RC project - C # UWP - unable to create class

If I right-click my project and select AddClass, I only see Class Diagramno C# Class. I completely reinstalled Windows 10. What can I do to solve this problem? Before Visual Studio 2017 RC, I had Visual Studio '15' Preview 5. There I could create C# Class.

+4
source share
2 answers

This is a known bug in the current version of Visual Studio 2017 RC and will be fixed in a future version. Select the .NET Desktop Development that will be installed to now have your C # code templates.

Workload selection

+4
source

In my case, I meant project A in project X, which is x86. Later we got Project Y, which is called "Any CPU", related to Project A. But nevertheless, x86 was built into Project A, and Project Y needs it in MSIL format. I opened the Project X file with notepad and installed MSIL and it fixed all the problems.

0
source

Source: https://habr.com/ru/post/1661289/


All Articles