-
-
Notifications
You must be signed in to change notification settings - Fork 794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does moq have dependency on moq.resources? #344
Comments
Repro? |
Such issue only happened when I try to verify something like below, if I remove all of the verify statement, this issue will disappear
|
Is this during test run or test debug?
On Wed, May 17, 2017, 8:33 PM Xinghua Li ***@***.***> wrote:
Such issue only happened when I try to verify something like below, if I
remote all of the verify statement, this issue will disappeared
sqlMock.Verify(framework => framework.SafeOpen(expectedConnecionString), Times.AtMostOnce);
sqlMock.Verify(
framework =>
framework.ExecuteScalarAsync(
It.IsAny<SqlConnection>(),
It.Is<SqlCommand>(c => this.IsSameSqlCommand(c, expectedCmd)), null, CancellationToken.None),
Times.AtMostOnce);
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#344 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAKW61N7Pd7ewbtG87bolZu3wkApRf8cks5r64O5gaJpZM4NejQO>
.
--
…--
/kzu from mobile
|
During test run |
Could you please provide a minimal repro project, including what test
runner and framework you're using?
Thanks!
On Wed, May 17, 2017, 9:19 PM Xinghua Li ***@***.***> wrote:
During test run
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#344 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAKW6wciGsj3gipEMUSZgz47CnjErw0Fks5r646AgaJpZM4NejQO>
.
--
…--
/kzu from mobile
|
I agree that all of this is guesswork without some repro code. ;-) |
I am closing this issue for now, since no code for reproducing this issue has been provided. @Ray1988, if you still want us to look into this, report back with some repro code and we can reopen the issue. |
System.IO.FileNotFoundException: Could not load file or assembly 'Moq.resources, Version=4.2.1510.2205, Culture=en-US, PublicKeyToken=69f491c39445e920' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'file:///E:\repo*******\Moq.resources.dll' or one of its dependencies. The system cannot find the file specified.Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
The text was updated successfully, but these errors were encountered: