Skip to content

Commit

Permalink
Merge branch 'develop2'
Browse files Browse the repository at this point in the history
  • Loading branch information
yar229 committed Jul 15, 2022
2 parents 1eaf5d2 + 8ec94f4 commit 4b03894
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Common.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>

<!--<CommonTargetFrameworks>netcoreapp3.1;net48;net5.0</CommonTargetFrameworks>-->
<CommonTargetFrameworks>netcoreapp3.1;net48;net5.0</CommonTargetFrameworks>
<CommonTargetFrameworks>netcoreapp3.1;net48;net5.0;net6.0</CommonTargetFrameworks>

<CommonLangVersion>latest</CommonLangVersion>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions Hasher/Hasher.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\Common.targets" />

Expand All @@ -15,7 +15,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.0-preview1" />
<PackageReference Include="CommandLineParser" Version="2.9.1" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions MailRuCloud/MailRuCloudApi/YaR.Clouds.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="log4net" Version="2.0.13" />
<PackageReference Include="log4net" Version="2.0.14" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="System.Memory" Version="4.5.4" />
<PackageReference Include="System.Memory" Version="4.5.5" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<PropertyGroup>
<LangVersion>8.0</LangVersion>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp3.0|AnyCPU'">
Expand Down
6 changes: 5 additions & 1 deletion NWebDav/NWebDav.Server/NWebDav.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@
<DefineConstants>$(DefineConstants);USE_XML_ASYNC_READWRITE</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
<DefineConstants>$(DefineConstants);USE_XML_ASYNC_READWRITE</DefineConstants>
</PropertyGroup>

<PropertyGroup>
<LangVersion>9.0</LangVersion>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp3.0|AnyCPU'">
Expand Down
2 changes: 1 addition & 1 deletion WDMRC.Console/WDMRC.Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.0-preview1" />
<PackageReference Include="CommandLineParser" Version="2.9.1" />
<PackageReference Include="HttpToSocks5Proxy" Version="1.4.0" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion WebDAV.Uploader/WDMRC.Console.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.0-preview1" />
<PackageReference Include="CommandLineParser" Version="2.9.1" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions WebDAVMailRuCloud.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28721.148
# Visual Studio Version 17
VisualStudioVersion = 17.2.32630.192
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8950FA45-4F13-42FE-B32D-736C1426E0EF}"
ProjectSection(SolutionItems) = preProject
Expand Down
2 changes: 1 addition & 1 deletion WebDavMailRuCloudStore/WebDavStore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="log4net" Version="2.0.13" />
<PackageReference Include="log4net" Version="2.0.14" />
</ItemGroup>

<ItemGroup>
Expand Down
23 changes: 23 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ variables:
artifactNetFrameworkName: 'WebDAVCloudMailRu-$(Build.SourceBranchName)-dotNet48.zip'
artifactMonoName: 'WebDAVCloudMailRu-$(Build.SourceBranchName)-dotNet48.zip'
artifactNet5Name: 'WebDAVCloudMailRu-$(Build.SourceBranchName)-dotNet5.zip'
artifactNet6Name: 'WebDAVCloudMailRu-$(Build.SourceBranchName)-dotNet6.zip'


steps:
Expand Down Expand Up @@ -89,6 +90,22 @@ steps:

#=============================================================================================================

- task: DotNetCoreCLI@2
displayName: .NET 6 publish
inputs:
command: 'publish'
projects: 'WDMRC.Console/WDMRC.Console.csproj'
publishWebProjects: false # Required when command == Publish
arguments: '--configuration $(BuildConfiguration) --framework net6.0'

- task: Bash@3
displayName: .NET 6 copy artifact to WebDAVCloudMailRu-$(Build.SourceBranchName)-dotNet6.zip
inputs:
targetType: 'inline'
script: 'cp WDMRC.Console/bin/Release/net6.0/publish.zip ''$(Build.ArtifactStagingDirectory)''/$(artifactNet6Name)'

#=============================================================================================================

- task: PowerShell@2
displayName: Making release.info.json artifact
inputs:
Expand Down Expand Up @@ -124,6 +141,12 @@ steps:
"runner" : "dotnet",
"file" : "wdmrc.dll",
"defaultkeys" : ""
},
"net6" : {
"distrib" : "$(artifactNet6Name)",
"runner" : "dotnet",
"file" : "wdmrc.dll",
"defaultkeys" : ""
}
}
}
Expand Down

0 comments on commit 4b03894

Please sign in to comment.