public FileResult Get(string StoreID) { buildService.CloneRepo(StoreID); buildService.AddStoreIdtoConfigFile(StoreID); buildService.RenameApp(StoreID); IFileProvider provider = new PhysicalFileProvider(@"D:\TheArrowBuilds\" + StoreID + @"\build\app\outputs\apk\release"); IFileInfo fileInfo = provider.GetFileInfo(@"app-release.apk"); var readStream = fileInfo.CreateReadStream(); var mimeType = "application/vnd.android.package-archive"; return(File(readStream, mimeType, StoreID + ".apk")); }