admin管理员组文章数量:1343914
Here is the situation. A few months ago I started uising the integrated GitHub functionality of VS 2022 to backup my projects. For each project I created a new repository issued commits regularly and the last commit is the last version that I delivered to a customer. That's it, a simple linear process, no branches or other fancy stuff. All repositories were created using the defaults presented by VS and I didn't change anything locally or in GitHub.
Now I need to get one of those projects to create a variant and don't want to alter the original, so, I started VS and selected CLONE a project and selected the repository that I need. The clone aparently downloaded all the files folders and solution correctly and everyting is there. BUT something is terrybly WRONG!, the context menu of solution explorer is very basic. I can't run or compile any of the projects in the solution. Trying to complie one of the projects from the top menu I get this error:
========== C++ Build Insights ========== Starting collection… Warning: the MSVC toolset version has not been determined for one or more projects. To collect data as ordinary user with Visual Studio the MSVC toolset version '14.34' is required. To workaround any potential issues, it is recommended to run Visual Studio as an administrator. Collecting data…
It stays "collecting data" for almost an hour now and still working...
What's wrong with this?, should I have to change any settigns when I created the repository?
Here is the situation. A few months ago I started uising the integrated GitHub functionality of VS 2022 to backup my projects. For each project I created a new repository issued commits regularly and the last commit is the last version that I delivered to a customer. That's it, a simple linear process, no branches or other fancy stuff. All repositories were created using the defaults presented by VS and I didn't change anything locally or in GitHub.
Now I need to get one of those projects to create a variant and don't want to alter the original, so, I started VS and selected CLONE a project and selected the repository that I need. The clone aparently downloaded all the files folders and solution correctly and everyting is there. BUT something is terrybly WRONG!, the context menu of solution explorer is very basic. I can't run or compile any of the projects in the solution. Trying to complie one of the projects from the top menu I get this error:
========== C++ Build Insights ========== Starting collection… Warning: the MSVC toolset version has not been determined for one or more projects. To collect data as ordinary user with Visual Studio the MSVC toolset version '14.34' is required. To workaround any potential issues, it is recommended to run Visual Studio as an administrator. Collecting data…
It stays "collecting data" for almost an hour now and still working...
What's wrong with this?, should I have to change any settigns when I created the repository?
Share Improve this question asked 2 hours ago GuillermoGuillermo 826 bronze badges1 Answer
Reset to default 0The solution is simple after all.
Close Visual Studio and double click on the Solution file. And dverything comes to life!
I wonder why VS doesn't do that automatically!
本文标签: Problem using GitHub with Visual Studio 2022Stack Overflow
版权声明:本文标题:Problem using GitHub with Visual Studio 2022 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743737202a2530224.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论