【发布时间】:2013-10-10 09:00:29
【问题描述】:
我为服务器-客户端连接编写了一个应用程序。 在 WPF 项目中,有一个 App.xaml 具有启动方法。 我想通过复制和更改客户端 UI 的名称 + 启动 URI 对 App2.xaml 执行相同操作 App2.xaml 中的代码是这样的
<Application x:Class="assembly_line_balance_demo_ga_dp_tttn09_2013.App2"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" StartupUri="View/MainWindow.xaml">
<Application.Resources>
</Application.Resources>
</Application>
但是在我重建我的项目后,它没有在属性解决方案中显示新的启动对象。 因为客户端和服务器共享内部代码,所以我需要在一个项目中配置两个 UI 并构建到 2 个不同的应用程序。 请帮忙
【问题讨论】: