XAML code for Window1.xaml and the

WPF Service Control app won't build

I have the following code: XAML code for Window1.xaml and the VB.Net code for Window1.xaml.vb. The error I get is the following: > "Cannot create instance of 'Window1' defined in assembly 'ServiceControl, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocation. Error in markup file 'ServiceControl;component/Window1.xaml' Line 2 Position 2." I can't see any problem in the code and what it should do is trigger an animation depending on the status of a service (spooler service in this case). It may be because I am manually referencing to the System.ServiceProcess namespace, which is not available in WPF framework by default, but I'm not sure. Anybody can help? Thanks.

以上就是WPF Service Control app won't build的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » HBuilder

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏