-
Is there a version of bUnit available that does not depend on "microsoft.netcore.platforms.5.0.0.nupkg"? I have a .netcore 3.1 app and am unable to upgrade at this time. The version of bUnit I have been trying to install is "v1.0.0-beta-11". Also, this is an offline environment and I have just been FTPing nuget packages over one at a time essentially just so you know. If I was in an environment where I wasn't rolling my own nuget repository and could just let Visual Studio do the smart stuff I am sure this wouldn't be a hassle. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hey @ryanpd423 bUnit beta 11 and preview 01 (latest) both support net5 AND netstandard2.1 projects, and thus works in a netcore 3.1 test project. I do not know where the dependency on Have you tried setting up a .net core 3.1 bUnit test project on an internet connected machine, and then copy the the packages stored in the local nuget cache to your offline machine ( |
Beta Was this translation helpful? Give feedback.
-
Hey @egil Thx for the quick reply. I'll give your suggestion a shot tomorrow and report back. |
Beta Was this translation helpful? Give feedback.
-
@egil I did what you recommended and it worked. Didn't realize the version of Visual Studio 2019 that I had didn't ship with any 4.3 System Libraries. Thank you for the suggestion! Look forward to using this tool 👍 |
Beta Was this translation helpful? Give feedback.
Hey @ryanpd423
bUnit beta 11 and preview 01 (latest) both support net5 AND netstandard2.1 projects, and thus works in a netcore 3.1 test project. I do not know where the dependency on
microsoft.netcore.platforms.5.0.0.nupkg
on comes from. It is not referenced in any of the packages used by bUnit, as far as I know, so I would not know where to begin to solve this.Have you tried setting up a .net core 3.1 bUnit test project on an internet connected machine, and then copy the the packages stored in the local nuget cache to your offline machine (
c:\Users\<USERNAME>\.nuget\packages\
)?