Skip to content
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

Can I Use it with dotnet core 1.1 #427

Closed
wolfgangschneider opened this issue Jul 18, 2017 · 6 comments
Closed

Can I Use it with dotnet core 1.1 #427

wolfgangschneider opened this issue Jul 18, 2017 · 6 comments

Comments

@wolfgangschneider
Copy link

Hi
I try out to use this package with .Net core 1.1 but without luck.

What i did
Open VS2017.2
Create a asp.net wan API using netcoreApp 1.1
Create a XUnitTest project
Add the Nuget Package moq latest stable 4.7.99 -> moq 4.7.9 aperes in the NuGet folder in Solution Explorer
add using Moq; -> the type or namespace Moq could not be found
on cmd run dotnet update -> does not help

What i am doing wrong ?

@stakx
Copy link
Contributor

stakx commented Jul 18, 2017

This should definitely work via the netstandard1.3 target.

This sounds more like the usual bugginess of Visual Studio 2017: IntelliSense often doesn't find identifiers even though they are present (and even a build would succeed). The solution to that problem is to close and reopen your solution. Have you tried that?

If it doesn't help, perhaps upload a ZIP file containing a minimal ASP.NET Core project that you create according to your above instructions.

@stakx
Copy link
Contributor

stakx commented Jul 18, 2017

I deleted the bin and obj Folders

And did this resolve your problem?

@stakx
Copy link
Contributor

stakx commented Jul 18, 2017

where should I upload the zip file ?

Right here, for example. Drag & drop a ZIP file into the multi-line text box where you write a post. This might not work on GitHub's mobile UI, use the full desktop UI when in doubt.

@stakx
Copy link
Contributor

stakx commented Jul 18, 2017

Wherever you mailed that file, it didn't end up in my mailbox. Please just upload it here. ;-)

@wolfgangschneider
Copy link
Author

CoreToTest.zip

@stakx
Copy link
Contributor

stakx commented Jul 19, 2017

Just for the record, this must have been a Visual Studio IntelliSense or NuGet restore failure. The provided solution compiles just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants