2015-11-26 60 views
1

我使用WPF作爲exe項目編寫頁面應用程序。 但是,當我改變類項目類庫 - 我得到很多錯誤: Library project file cannot specify ApplicationDefinition element, The name InitializeComponent does not exist in the current context如何將Wpf頁面應用程序轉換爲dll?

如何將頁面EXE項目轉換爲DLL? 謝謝!

回答

2

我試過了,你可以刪除App.Xaml,重建會成功。

相關問題