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:
parent
25ee09a29b
commit
b354e1a3c6
10 changed files with 6 additions and 17 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue