C#类库中没有创建WPF
原创今天遇到个问题,就是类库里添加不了WPF窗体,如下图:

解决办法:
1、找到当前类库的工程文件(后缀.csproj文件)
2、找到下次此处位置添加这行代码
{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
最后重新加载项目,就可以添加WPF窗体了!!!
版权声明
所有资源都来源于爬虫采集,如有侵权请联系我们,我们将立即删除
上一篇:用SQL语言进行数据检索查询 下一篇:WPFDataGrid调节某行不可更改
相关文章
最新文章
- 0.05ms 往返:localhost 为什么不能直接当网站? 1小时前
- Fornax's Guide to Fast Ethernet 1小时前
- Possibly leaked NSA Cyberattack tool behind attacks (2017) 2小时前
- Steve Wozniak on Writing Apple Integer Basic 2小时前
- PayByPhone is stealing $50M/year from their users 2小时前
- Grand Theft Auto 6: A Landmark Achievement That Redefines a Console Generation 2小时前
- Research Acceleration: The Jagged Frontier 3小时前
- Google Embraces Geothermal Technology to Vaporize Rock for Clean Power 4小时前
- Microsoft's Agent Framework PyPI package compromised to steal credentials 5小时前
- Nvidia's Seven Billionaires Have Lost a Third of Their Wealth 5小时前
itfan123

