An error occurred while trying to restore packages: Unable to find version '3.5.0' of package 'NUnit.Framework'.

5,313 views
Skip to first unread message

Gerard Meszaros

unread,
Jan 11, 2017, 2:10:19 PM1/11/17
to NUnit-Discuss
This is in Visual Studio Community 2015 using NuGet Package Manager 3.4.4.

It tells me that I have NUnit.Framework 3.5.0 is installed in one project (CourseMetaTestNUnit3) and that it needs to be updated. It won't install 3.6.0 and it won't un-install 3.5.0.












I tried googling this error message and I cannot even understand what people are talking about in the resulting hits.Though it seems to be a recurring problem that occurs with other packages too.

Thanks,

Gerard

Rob Prouse

unread,
Jan 11, 2017, 2:29:21 PM1/11/17
to NUnit-Discuss
I don't know how it got messed up in the first place, but the error says it is looking for the NUnit.Framework package, but the package name is NUnit. Try the following,

1. Close your solution
2. Edit packages.config for your project and delete the NUnit.Framework package
3. Open up your solution and delete the NUnit.Framework reference from your project
4. Add the NUnit 3.6 NuGet package to your project

--
You received this message because you are subscribed to the Google Groups "NUnit-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nunit-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to nunit-...@googlegroups.com.
Visit this group at https://groups.google.com/group/nunit-discuss.
For more options, visit https://groups.google.com/d/optout.



--

Gerard Meszaros

unread,
Jan 11, 2017, 4:26:37 PM1/11/17
to NUnit-Discuss
Thanks. This helped me sort it out.   Gerard


On Wednesday, January 11, 2017 at 12:29:21 PM UTC-7, Rob Prouse wrote:
I don't know how it got messed up in the first place, but the error says it is looking for the NUnit.Framework package, but the package name is NUnit. Try the following,

1. Close your solution
2. Edit packages.config for your project and delete the NUnit.Framework package
3. Open up your solution and delete the NUnit.Framework reference from your project
4. Add the NUnit 3.6 NuGet package to your project
On 11 January 2017 at 14:10, Gerard Meszaros <gmka...@gmail.com> wrote:
This is in Visual Studio Community 2015 using NuGet Package Manager 3.4.4.

It tells me that I have NUnit.Framework 3.5.0 is installed in one project (CourseMetaTestNUnit3) and that it needs to be updated. It won't install 3.6.0 and it won't un-install 3.5.0.












I tried googling this error message and I cannot even understand what people are talking about in the resulting hits.Though it seems to be a recurring problem that occurs with other packages too.

Thanks,

Gerard

--
You received this message because you are subscribed to the Google Groups "NUnit-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nunit-discus...@googlegroups.com.

To post to this group, send email to nunit-...@googlegroups.com.
Visit this group at https://groups.google.com/group/nunit-discuss.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages