0

In vs2015 a specific project under solution is not being built when building the solution (the build is not called).

  1. In the configuration manager the project is checked-in all the configurations (Release, build and etc..)
  2. In options "Require source files to exactly match the original version" is checked.
  3. Changes made to the project

When building the project explicitly new files are being built (Not all up to date)

Any ideas? Thanks!

5
  • 1
    Did you try to right-click on the solution file on the Solution Explorer-->Add-->Existing Project-->and then select the xxx.vcxproj file of your specific project. Then, the project will be imported into your solution and can be built with the solution. That is the common way and if you do not use this way, please share your method about how you imported the project into your solution. Commented Nov 25, 2020 at 9:34
  • Thanks, it was a good idea but I already did it.. Commented Nov 25, 2020 at 9:40
  • 1
    you could also try to share your build log of the solution with us. Also, share a small sample with us to troubleshoot the issue quickly if necessary. Commented Nov 25, 2020 at 9:58
  • 1
    Doe this https://stackoverflow.com/a/50495253/12450747? Close VS, delete .vs hidden folder of the solution folder, does this work? Commented Nov 25, 2020 at 10:03
  • @PerryQian-MSFT Thanks but no and that was pretty "heavy" recovery took time and was not smooth, so keep in mind if someone will use it. Commented Dec 21, 2020 at 11:02

1 Answer 1

1

Please try the following steps:

1) reset all vs settings under Tools-->Import and Reset Settings-->Reset all settings

2) disable any third party vs installed extensions under Tools-->Extensions and Updates

3) delete all caches files under C:\Users\xxx(current user)\.nuget\packages and

C:\Users\xxx(current user)\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache

And then restart VS, delete the specific project on the solution explorer of VS2015. And then readd the project by Right-click on the solution-->Add-->Existing Project--> select the xxx.csproj file of the specific project to add into the solution.

Then, you can build the solution to check whether project is built.

Besides, you could try devenv /safemode on the Developer Command Prompt for VS2015 to start a pure, initial vs to test your solution.

Sign up to request clarification or add additional context in comments.

3 Comments

Thank you for your detailed response! I will try and update!
Any feedback will be expected!
Sorry for the delay, I did step 1 and 3 (2 was a bit overkill for me) added again the .csproj marked in the "project dependencies" and tadam magic. Thanks again :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.