发现 VS2022 的两个问题在 Windows10X64 下 / Two problems of VS2022 are found under Windows10X64

宝宝 张 1 Reputation point
2022-07-08T01:50:44.337+00:00

1、双击 sln 工程时,有时打不开工程文件。那个 VS2022 加载窗体一直显示。查看进程 CPU,一直为0;如果先打开 VS2022,在打开工程文件是没有问题的。
2、VS2022 编译 ffmpeg x64,发现 link.exe 有两个进程,CPU 一直为0,链接 avcodec-59.dll 失败。

  1. When you double-click the sln project, sometimes the project file cannot be opened. The vs2022 loading form is always displayed. Check the process CPU, which is always 0;
    If you open vs2022 first, there is no problem opening the sln project file.
  2. VS2022 compiles ffmpeg x64, finds link.exe has two processes, the CPU is always 0, and the link is avcodec-59.dll failed.
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,631 questions
{count} votes

1 answer

Sort by: Most helpful
  1. 宝宝 张 1 Reputation point
    2022-07-11T09:15:53.357+00:00

    1、我的机器上的确安装有多个 VS 版本。但是 VS2022 splash 界面都打开了,为何加载不了 sln 工程?
    2、找到问题原因了。如果我编译一个静态库,这个静态库中没有 debug 信息。link 时有 -debug 参数时,link.exe 进程就会僵死。

    1. There are indeed multiple vs versions installed on my machine. However, the vs2022 splash ui is open. Why can not load the sln project?
    2. Found the cause of the problem. If I compile a static library, there is no debug information in the static library.
      When link.exe has the -debug parameter, link.exe process will freeze.