MSbuild build order issue - pre-build steps first or dependent projects first

前端 未结 4 1932
日久生厌
日久生厌 2021-02-07 13:42

I have a project A depending on project B. Project A has some pre-build tasks that is dependent of some generated files from project B. When I build in Visual Studio, no probl

4条回答
  •  醉梦人生
    2021-02-07 14:37

    this is rather old issue but I've found this simple solution (it may apply for you too) Just add

    ResolveReferences
    

    before

    
    

    Unfortunately this must be done in editor, VS editor does not support it (at version 15.6.2).

提交回复
热议问题