Eliminate imports from CLI, where possible (#4673)

* Remove imports from dotnet.dll

* Add back dotnet5.4 to dotnet.dll due to AppInsights

* dotnet-cli-build.csproj: OData
redist.csproj: AppInsights
This commit is contained in:
Piotr Puszkiewicz 2016-11-10 10:19:37 -08:00 committed by GitHub
parent 25ee09a29b
commit b354e1a3c6
10 changed files with 6 additions and 17 deletions

View file

@ -66,7 +66,7 @@ namespace Microsoft.DotNet.Cli.Build
{
string url = CalculateRelativePathForFile(file, product, version);
CloudBlockBlob blob = _blobContainer.GetBlockBlobReference(url);
blob.UploadFromFileAsync(file, FileMode.Open).Wait();
blob.UploadFromFileAsync(file).Wait();
SetBlobPropertiesBasedOnFileType(blob);
return url;
}