Upgrading a WinForms app to WPF

后端 未结 4 1468
面向向阳花
面向向阳花 2020-12-03 03:34

I have a side project that I wrote a few years ago in WinForms. To better help me learn WPF, I would like to rewrite it in WPF. Ideally, I would like to just modify the curr

4条回答
  •  一生所求
    2020-12-03 04:12

    I don't know for certain what in the project file informs Visual Studio what type of project is being used, but my guess is the "ProjectTypeGuids" is key.

    My WPF projects have this:

    
       {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};
       {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
    
    

    Here is a link I found which describes the guids and what kind of project they represent. You'll notice that the guid starting with "60DC" matches the list in the link for WPF applications.

提交回复
热议问题