Replies: 1 comment 1 reply
-
Hi @Alisl001 Thanks for the report.
Although this package should be installed automatically when building the project (unless you have internet or VPN issues).. If you want to install the package manually, For now1, you can skip unit tests project from the build: Open Best. Footnotes
|
Beta Was this translation helpful? Give feedback.
-
Hi @MuhammadSulaiman001
Hope you're well.
When attempting to build the solution for the OpenGlab in the UnitTest project, I encountered the following error:
"OpenGLab\UnitTests\UnitTests.vcxproj" (default target) (7) -> (EnsureNuGetPackageBuildImports target) -> error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\..\..\..\..\..\.nuget\packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.1.7\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets."
I visited the provided link in the error message and explored various avenues to resolve this issue, but unfortunately, none of the methods proved successful.
In Visual Studio, I tried to install the required package using both the Package Manager Console and PowerShell with the command:
NuGet\Install-Package Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn -Version 1.8.1.7
the console returned an error indicating that no project was found to install the package. I've exhausted my efforts in attempting to resolve this via the package installation methods.It's worth noting that the LearnOpenGl repository is free of errors, and I can successfully work with it. The issue appears to be specific to the OpenGlab repository.
I would greatly appreciate your insights and assistance in resolving this error. Thank you for your time and support.
Beta Was this translation helpful? Give feedback.
All reactions