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

Compiling mock-assembly in Visual Studio 2017 fails #216

Closed
rprouse opened this issue May 3, 2017 · 0 comments · Fixed by #220
Closed

Compiling mock-assembly in Visual Studio 2017 fails #216

rprouse opened this issue May 3, 2017 · 0 comments · Fixed by #220
Assignees
Milestone

Comments

@rprouse
Copy link
Member

rprouse commented May 3, 2017

The solution builds fine in VS 2015, but fails in 2017 with the error,

Microsoft.NuGet.targets(178,5): error : Your project is not referencing the ".NETFramework,Version=v2.0" framework. Add a reference to ".NETFramework,Version=v2.0" in the "frameworks" section of your project.json, and then re-run NuGet restore.

I am pretty sure this is because of the .NET Standard project in the same directory. I believe the fix is to add a project.json file like we did in the NUnit Framework solution.

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

Successfully merging a pull request may close this issue.

1 participant