Value of type 'System.Collect ions.Generic.Li st(Of StreetSavings.B usinessLayer.Pr oviders.Transac tion)'
cannot be converted to 'System.Collect ions.Generic.Li st(Of StreetSavings.B usinessLayer.Pr oviders.Transac tion)'
. Type mismatch could be due to the mixing of a file reference with a project reference to assembly
'StreetSavings' . Try replacing the file reference to 'StreetSavings. dll' in project 'SSavings3_0'
with a project reference to
'SSavings'. D:\Project\Stre etSavingsProjec t\StreetSavings \TestLayer\SSav ings\SSavings3_ 0Test.vb
the above error is coming
error is coming at Transactions place when
i am trying call the function like this
transactionOutp ut = objSSavings3_0. ProcessTransact ion(Transaction s, ProviderId, ProcessorId)
and actual function defination is
Public Function ProcessTransact ion(ByVal ptTransactions As List(Of Transaction), ByVal ProviderID As Integer, ByVal ProcessorID As Integer) As List(Of Transaction) Implements ISSavings3_0.Pr ocessTransactio n
but Transactions,tr ansactionOutput i declared like this
Dim Transactions As List(Of Transaction)
Dim transactionOutp ut As New List(Of Transaction)
here i am doing unit testing for processtrnsacti on function which is a wcf service
can anyone help me?
cannot be converted to 'System.Collect ions.Generic.Li st(Of StreetSavings.B usinessLayer.Pr oviders.Transac tion)'
. Type mismatch could be due to the mixing of a file reference with a project reference to assembly
'StreetSavings' . Try replacing the file reference to 'StreetSavings. dll' in project 'SSavings3_0'
with a project reference to
'SSavings'. D:\Project\Stre etSavingsProjec t\StreetSavings \TestLayer\SSav ings\SSavings3_ 0Test.vb
the above error is coming
error is coming at Transactions place when
i am trying call the function like this
transactionOutp ut = objSSavings3_0. ProcessTransact ion(Transaction s, ProviderId, ProcessorId)
and actual function defination is
Public Function ProcessTransact ion(ByVal ptTransactions As List(Of Transaction), ByVal ProviderID As Integer, ByVal ProcessorID As Integer) As List(Of Transaction) Implements ISSavings3_0.Pr ocessTransactio n
but Transactions,tr ansactionOutput i declared like this
Dim Transactions As List(Of Transaction)
Dim transactionOutp ut As New List(Of Transaction)
here i am doing unit testing for processtrnsacti on function which is a wcf service
can anyone help me?
Comment