把WPF程序输出改为类库,报错
库项目文件无法指定 ApplicationDefinition 元素 项目文件包含无效的属性值
出现这个错误是因为 app.xaml 的生成是 ApplicationDefinition ,所以可以右击项目的 app.xaml 文件,在属性生成选择 page
参见:http://blog.csdn.net/hefeng_aspnet/article/details/17245205
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有