0 Replies Latest reply: Feb 10, 2017 8:53 AM by Pheng Ho RSS

    The located assembly's manifest definition does not match the assembly reference

    Pheng Ho

      I am trying to learn the SDK for Qlik. I am not good at C# nor familiar with VS Code, the tool i am using right now.

       

      Here's the short code:

       

      using System;

      using Qlik.Engine;

      namespace test

      {    static class Program

        {  static void Main()

        {  ILocation local = Qlik.Engine.Location.FromUri(new Uri("http://localhost:4848/"));

      }}}

       

      I am compiling a short script for .NETCoreApp,Version=v1.1.

       

      I got the following error:

      Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral

      , PublicKeyToken=b77a5c561934e089'. The located assembly's manifest definition does not match the assembly reference. (Exce

      ption from HRESULT: 0x80131040)

         at Examples.Reload.Sync.Program.Main()

       

      I am not sure where i might have gone wrong? Thank you for your help.