Visual Studio Community 2017 for Mac creating invalid imports on new Objective-C classes via XCode RRS feed

  • Question

  • User227148 posted

    Since the most recent update, while building the app layout and whatnot via the XCode Interface Builder, when syncing the newly create classes VSC17 adds an import to the .h file in the form of the namespace of the C# project -- for instance, if the project namespace is ProjectNamespace, then a line #import <ProjectNamespace/ProjectNamespace.h> is added.

    This file does not exist, breaking the builder from recognizing the new class.

    Other point is that the #import <UIKit/UIKit.h> is missing from the file, which I believe it's required -- might be wrong here.

    Versions: Xcode 9.0 9A235 Visual Studio Community for Mac 7.1.5 build 2

    Wednesday, October 4, 2017 12:03 PM

All replies

  • User227148 posted

    Does anyone know a fix for this?

    Wednesday, October 18, 2017 10:50 AM