2017-08-24 63 views
1

我添加一個新的資源庫項目到我的資料庫,我可以突出顯示它。 然而,當我嘗試在用戶代碼ranorex使用它提供了以下錯誤:Ranorex版本庫不更新

'Solution.Repository' does not contain a definition for 'Sample' and no extension method 'Sample' accepting a first argument of type 'Solution.Repository.StudyExecutionRepository' could be found (are you missing a using directive or an assembly reference?) (CS1061) - C:\TFS\CTMS Automated Tests\Ranorex\RanorexStudio Projects\Solution\Solution\SSamples\WorkflowCHange.UserCode.cs:43,15 

在用戶代碼智能感知給了我新做的庫項目。只有在建立雷諾雷斯「忘記」這個項目

+0

能否請你加入,你正在使用的存儲庫對象,也是庫結構+對象的名稱的用戶代碼部分。 – Martin

+0

另外,你可能有多個存儲庫? – Martin

回答

0

我想你想Solution.Repository.Instance.Sample