2014-05-14 3 views
0

에 대한 교체 및이 오류가 컴파일하는 동안 :4 버전 3에서 NServiceBus 업그레이드 NServiceBus.Sagas.Impl.Configure.SagasWereFound

오류 CS0234이 : 형식 또는 네임 스페이스 이름 'IMPL가'네임 스페이스에 존재하지 않는 ' NServiceBus.Sagas는 '

if (NServiceBus.Sagas.Impl.Configure.SagasWereFound) 
     { 
      var connStr = ConfigurationManager.AppSettings["DB"]; 

      // Register session factory which takes care of managing 
      // the database connections and transactions 


    Configure.Instance.Configurer.ConfigureComponent(typeof(OracleSagaSessionFactory), 
    DependencyLifecycle.InstancePerCall) 
       .ConfigureProperty("ConnectionString", connStr); 

      // Then register the saga persister itself 

    Configure.Instance.Configurer.ConfigureComponent(typeof(OracleSagaPersister), 
    DependencyLifecycle.InstancePerCall); 
     } 

답변

2

(? 당신은 어셈블리 참조가없는) 당신은 사용할 수 있어야합니다 :

NServiceBus.Features.Feature.IsEnabled<Features.Sagas>() 
관련 문제