2014-09-30 28 views
0

我正在嘗試使用Orchestra。樂團不在調? (不能開箱即用)

我首先嚐試使用git存儲庫中的模板(來自https://github.com/Orcomp/Orchestra/tree/develop/templates/C%23的Orchestra.Shell.zip)。

從nuget安裝Orchestra.Shell後,我看到安裝的組件要求> = 3.3。在現實中,它的下載3.3這將導致以下錯誤:

Error 1 'Catel.Windows.Controls.UserControl' does not contain a definition for 'DefaultCreateWarningAndErrorValidatorForViewModelValue' D:\Projects\OrchestraShell1\OrchestraShell1\App.xaml.cs 25 48 OrchestraShell1

Error 2 The type or namespace name 'ModelBase' does not exist in the namespace 'Catel.Data' (are you missing an assembly reference?) D:\Projects\Tests\OrchestraShell1\OrchestraShell1\App.xaml.cs 27 24 OrchestraShell1

Error 3 'Catel.IoC.ServiceLocator' does not contain a definition for 'Default' D:\Documents\OrchestraShell1\App.xaml.cs 29 49 OrchestraShell1

我試着更新到最新的Catel庫

update-package catel.mvvm

該項目成功編譯但後來當我嘗試運行它,我得到一個類型負載例外:

Method 'add_ViewLoading' in type 'Orchestra.Views.MainWindow' from assembly 'Orchestra.Shell, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

接下來,從這裏它平滑一點,下面的一些指針後:

http://webpixel.gr/projects/worchestra/?p=20

我得到以下錯誤:

Could not load file or assembly 'Fluent, Version=2.1.0.0, Culture=neutral, PublicKeyToken=3e436e32a8c5546f' or one of its dependencies. The system cannot find the file specified.

這可以通過固定安裝fluent.ribbon包,但還是我收到同樣的錯誤。

我試圖添加一個模塊,如http://webpixel.gr/projects/worchestra/?p=23所述,但這也沒有幫助。

這個東西應該工作嗎?我錯過了什麼或者做錯了什麼?我是否需要爲shell運行開發一個模塊?

回答

0

請在自述檢查出新的注意事項:

https://github.com/orcomp/orchestra#update-20140817

我們正在研究更好的版本(V2)。請查看示例(我們爲每個shell類型提供了1個示例)。您可以選擇以下組件之一:

  1. Orchestra.Shell.MahApps => Metro界面

  2. Orchestra.Shell.Ribbon.Microsoft =>辦公室,像MS絲帶

  3. Orchestra.Shell.TaskRunner =>運行的任務容易(你也許並不需要 這一個)

+0

感謝。這些有多穩定?你會推薦它用於生產嗎? – 2014-10-03 12:35:15

+0

我們在幾個生產應用中使用它們,所以非常穩定。 – 2014-10-03 16:35:44