Skip to content

Commit c35f3c0

Browse files
committed
Downgrade to 4.0 and all dependencies local
1 parent 1cc5133 commit c35f3c0

File tree

11 files changed

+618
-115
lines changed

11 files changed

+618
-115
lines changed

Tomin.TotalCmd.AzureBlob/AzureBlobWfxPlugin.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public override FindData FindFirst(string path, out IEnumerator enumerator)
5151
}
5252

5353
var blobPath = AzurePath.FromPath(path);
54-
Task.Run(() => CalculateSubfoldersLastWriteTime(blobPath));
54+
new Task(() => CalculateSubfoldersLastWriteTime(blobPath)).Start();
5555

5656
if (blobPath.IsAccountOnly)
5757
{
@@ -187,9 +187,11 @@ public override FileOperationResult FilePut(string localName, ref string remoteN
187187
return FileOperationResult.OK;
188188
}
189189

190+
//TODO.
190191
public override FileOperationResult FileCopy(string source, string target, bool overwrite, bool move, RemoteInfo ri)
191192
{
192-
return base.FileCopy(source, target, overwrite, move, ri);
193+
//return base.FileCopy(source, target, overwrite, move, ri);
194+
throw new NotImplementedException("Copy to this target Copy/Move/Rename are not implemented yet.");
193195
}
194196

195197
public override bool DirectoryRemove(string remoteName)

Tomin.TotalCmd.AzureBlob/Tomin.TotalCmd.AzureBlob.csproj

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>Tomin.TotalCmd.AzureBlob</RootNamespace>
1212
<AssemblyName>Tomin.TotalCmd.AzureBlob</AssemblyName>
13-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
1515
<FileUpgradeFlags>
1616
</FileUpgradeFlags>
@@ -32,7 +32,7 @@
3232
<IsWebBootstrapper>false</IsWebBootstrapper>
3333
<UseApplicationTrust>false</UseApplicationTrust>
3434
<BootstrapperEnabled>true</BootstrapperEnabled>
35-
<TargetFrameworkProfile />
35+
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
3636
</PropertyGroup>
3737
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3838
<DebugSymbols>true</DebugSymbols>
@@ -68,9 +68,12 @@
6868
<SpecificVersion>False</SpecificVersion>
6969
<HintPath>..\packages\Microsoft.WindowsAzure.ConfigurationManager.1.8.0.0\lib\net35-full\Microsoft.WindowsAzure.Configuration.dll</HintPath>
7070
</Reference>
71-
<Reference Include="Microsoft.WindowsAzure.Storage, Version=3.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
71+
<Reference Include="Microsoft.WindowsAzure.Storage, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
72+
<SpecificVersion>False</SpecificVersion>
73+
<HintPath>..\packages\WindowsAzure.Storage.4.1.0\lib\net40\Microsoft.WindowsAzure.Storage.dll</HintPath>
74+
</Reference>
7275
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
73-
<HintPath>..\packages\Newtonsoft.Json.5.0.6\lib\net45\Newtonsoft.Json.dll</HintPath>
76+
<HintPath>..\packages\Newtonsoft.Json.5.0.6\lib\net40\Newtonsoft.Json.dll</HintPath>
7477
</Reference>
7578
<Reference Include="System" />
7679
<Reference Include="System.Data" />
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<configSections>
44
</configSections>
5-
<connectionStrings />
6-
</configuration>
5+
<connectionStrings/>
6+
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/></startup></configuration>
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Microsoft.Data.Edm" version="5.6.0" targetFramework="net451" />
4-
<package id="Microsoft.Data.OData" version="5.6.0" targetFramework="net451" />
5-
<package id="Microsoft.Data.Services.Client" version="5.6.0" targetFramework="net451" />
6-
<package id="Microsoft.WindowsAzure.ConfigurationManager" version="1.8.0.0" targetFramework="net451" />
7-
<package id="Newtonsoft.Json" version="5.0.6" targetFramework="net451" />
8-
<package id="System.Spatial" version="5.6.0" targetFramework="net451" />
9-
<package id="WindowsAzure.Storage" version="4.0.1" targetFramework="net451" />
3+
<package id="Microsoft.Data.Edm" version="5.6.0" targetFramework="net40-Client" />
4+
<package id="Microsoft.Data.OData" version="5.6.0" targetFramework="net40-Client" />
5+
<package id="Microsoft.Data.Services.Client" version="5.6.0" targetFramework="net40-Client" />
6+
<package id="Microsoft.WindowsAzure.ConfigurationManager" version="1.8.0.0" targetFramework="net40-Client" />
7+
<package id="Newtonsoft.Json" version="5.0.6" targetFramework="net40-Client" />
8+
<package id="System.Spatial" version="5.6.0" targetFramework="net40-Client" />
9+
<package id="WindowsAzure.Storage" version="4.1.0" targetFramework="net40-Client" />
1010
</packages>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)