2

I just installed VS 2015 and tried to continue work on a project i started in VS 2013. Trying to compile it always throws an error: "Meta data file XYZ not found" File: CSC

How to solve this?

I already cleaned and rebuilt the solution and rebuilt each project on it's own. The only one i couldn't build was the "main" project, which has references to the other projects.

Thomas Hahn
  • 332
  • 4
  • 13

2 Answers2

0

Try the following steps :

  1. Clean the Solution.
  2. Try Rebuilding the Solution .
Tharif
  • 13,794
  • 9
  • 55
  • 77
  • 1
    That's what i already did. I also rebuilt each project on it's own. The only one i couldn't build was the "main" project, which has references to the other projects. – Thomas Hahn Aug 03 '15 at 11:33
  • then you should clean and rebuilt the main project as well (be careful to take backup before) – Tharif Aug 03 '15 at 11:44
0

Check that projectdependancies are in correct order. E.g. Project A depends on B. Startup project tries to build A before B. A will throw error that it cannot find dll files of B

Right click on the solution and check Project Dependencies, the Project Build Order should also change according to the dependencies that have been set.

John Demetriou
  • 4,093
  • 6
  • 52
  • 88