none
"csc.exe" exited with code -2146232797 RRS feed

  • Question

  • Not able to build the solution on VS 2017.

    All of a sudden getting this "csc.exe" exited with code -2146232797 

    Suggest the solution to fix this issue or simply help me with reasoning. 

    Wednesday, March 6, 2019 6:06 PM

All replies

  • Are you doing this from the command line or Visual Studio? If from the command line then post the version information for the compiler. Also confirm you're running the command from the VS command shell and not just a DOS window.

    If you're getting this from Visual Studio then create a new console project and try compiling it. If it works then the issue is with your solution. More information would be useful.


    Michael Taylor http://www.michaeltaylorp3.net

    Wednesday, March 6, 2019 6:47 PM
    Moderator
  • Solved, by changing UnityConfig.cs. Dependencies are registered to the container as

    .RegisterType

    changed to 

    container.RegisterType

    That all.

    Friday, March 8, 2019 6:04 PM