// create custom basemap in your current project Map basemap = null; Task task = QueuedTask.Run(() => { basemap =MapFactory.Instance.CreateMap("gisoracle", MapType.Map); }); task.Wait(); // create and add layer to the basemap using LayerFactory.Instance string url = @"F:2020book oolforproMyProject31.shp"; Uri uri = new Uri(url); QueuedTask.Run(() => { Layer lyr = LayerFactory.Instance.CreateLayer(uri, basemap); });