最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Problem using GitHub with Visual Studio 2022 - Stack Overflow

programmeradmin1浏览0评论

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

The 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!

发布评论

评论列表(0)

  1. 暂无评论