How to determine why visual studio might be skippi

2019-01-17 13:30发布

I am debugging someone else's work and the solution is quite large. When I try to build the entire thing, several projects within the solution don't build and just skip. Viewing the output window during the build process says:

1>------ Skipped Rebuild All: Project: pr1lib ------

How can I determine why these builds were skipped? I am unable to find additional output.

This is with VS2008 and the solution is comprised of c# and c++ code.

21条回答
时光不老,我们不散
2楼-- · 2019-01-17 14:08

I had a similar thing just happen to me. I'm not sure what the problem was, but it would not Clean, Build, Rebuild, etc. I am operating in Visual Studio 2017 and wanted a netstandard2.0 assembly. The issue for me was that somehow the project type was incorrect, maybe I started from a netcoreapp class library, something like that, stuck in the Solution file, I do not recall. Anyway, I backed up the project, created a new netstandard class library project, and factored in the backed up bits, and that fixed it for me. HTH someone.

查看更多
姐就是有狂的资本
3楼-- · 2019-01-17 14:09

I update one small update of Visual Studio 2017 and then the installer reminds me to restart my computer,but I did not restart.When I build my project or solution in Visual Studio 2017,I meet the same above problem.I guess the update maybe the key,so I restart my computer,I did it.:>

查看更多
\"骚年 ilove
4楼-- · 2019-01-17 14:10

The visual studio 2008 , it can be because 64 bit compiler wouldn't have installed.

Control Panel --> Programs and Features -> Microsoft Visual Studio 2008 professional --> [double click]

On Visual Studio Dialog

Next --> Add/ remove Features --> (Under) Visual C++ --> (select) x64 compiler and Tools

查看更多
孤傲高冷的网名
5楼-- · 2019-01-17 14:11

Right click on Solution at at your solution explorer, then, click on Property at bottom of the menu. In the property windows, click on Configuration Properties -> Configuration on the left pane, you will see the list of projects on right pane, make sure Build check box is checked in the popup window.

查看更多
相关推荐>>
6楼-- · 2019-01-17 14:12

VS 2008 will skip x64 targets if you don't have the x64 compiler installed. VS 2008 does not by default. Kind of a duh, thing.

查看更多
Juvenile、少年°
7楼-- · 2019-01-17 14:13

Had the same problem, found out that the project setting was for Itanium CPU, changing it to Intel fixed it.

查看更多
登录 后发表回答