The type or namespace does not exist

前端 未结 12 2062
心在旅途
心在旅途 2021-02-18 13:11

Ok, I have had this one a million times before and it\'s been answered 1 million +1 times before.

And yet, once again. I have 3 projects, A, B, and C, each a DLL. Each

12条回答
  •  日久生厌
    2021-02-18 13:46

    After many hours of frustration, I discovered the following process to resolve this issue with a VS2017 solution:

    Insure that all reference assemblies have been recognized and have current properties.
    
    If assemblies do not show proper reference, right click the entry
    and view properties.  This action often resets the reference. This
    action must be completed for each project in the solution.
    
    After resolving all references, if the error continues, delete the
    following:
    
            -The Obj folder
    
            -The Bin folder
    
            -Reference to the offending assembly
    
            -Clean and Rebuild the solution.  Errors should occur.
    
            -Re-reference the needed assembly.
    
    The editor should no longer show the namespace error and build should succeed.
    

提交回复
热议问题