Skip to content

Help Needed: Unable to get bUnit installed in offline .netcore 3.1 app. #298

Answered by egil
ryanpd423 asked this question in Q&A
Discussion options

You must be logged in to vote

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\)?

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ryanpd423
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants