How to fix error CS0246 (AxMSInkAuTLib) missing

Giacomo Raucci 346 Reputation points
2024-07-28T01:33:46.62+00:00

After copying all of the Winforms from 1 project to another, I was not able to compile the 2nd project. Getting error CS0246 for AxMSInkAutLib.AxInkPicture (see below for the detailed error description). I think I am missing a Reference, but am unable to solve this issue. I appreciate your help. regards.:

---- Detailed Error - - -

Error (active) CS0246 The type or namespace name 'AxMSINKAUTLib' could not be found (are you missing a using directive or an assembly reference?) ECCWinClients D:\ECCWinClients\ECCWinClients\ClientSignature.Designer.cs 40

. . . . .

    private AxMSINKAUTLib.AxInkPicture ClientSignatureInk;
Developer technologies | Windows Forms
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | Visual Studio | Other
Developer technologies | C#
{count} votes

1 answer

Sort by: Most helpful
  1. Giacomo Raucci 346 Reputation points
    2024-07-28T21:30:45.5733333+00:00

    Thanks RLWA32. Although deleting the obj and bin files did not directly solve the issue, I got several more messages about"LangVersion", requiring 8.0 or above since I was using C#7.3 (not sure how). Anyway, trying to solve the LangVersion issue, I realized that the .csproj files differed, so I copied the .csproj and .csproj.user files over as well. Errors disappeared. I really don't understand it all, but I no longer have any compile errors. Thanks again.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.