Skip to content

Commit 81c6781

Browse files
committed
net6.0
1 parent 8467f60 commit 81c6781

File tree

11 files changed

+28
-18
lines changed

11 files changed

+28
-18
lines changed

.vscode/launch.json

+16-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
{
22
"version": "0.2.0",
33
"configurations": [
4+
{
5+
"name": "Launch built-in server",
6+
"type": "php",
7+
"request": "launch",
8+
"runtimeArgs": [
9+
"-S",
10+
"localhost:5004",
11+
"-t",
12+
"wordpress"
13+
],
14+
"port": 9003,
15+
"serverReadyAction": {
16+
"action": "openExternally"
17+
}
18+
},
419
{
520
"name": ".NET Core Launch (console)",
621
"type": "coreclr",
@@ -14,12 +29,7 @@
1429
"ASPNETCORE_ENVIRONMENT": "Development"
1530
},
1631
"stopAtEntry": false,
17-
"internalConsoleOptions": "openOnSessionStart",
18-
"justMyCode": false,
19-
"symbolOptions": {
20-
// "searchPaths": ["C:\\Users\\jmise\\Projects\\peachpie\\src\\Peachpie.Library\\bin\\Debug\\net5.0"],
21-
"searchMicrosoftSymbolServer": false
22-
}
32+
"internalConsoleOptions": "openOnSessionStart"
2333
},
2434
{
2535
"name": ".NET Core Attach",

PeachPied.WordPress.AspNetCore/PeachPied.WordPress.AspNetCore.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<Title>WordPress for ASP.NET Core</Title>
66
<Description>
77
The whole of WordPress, compiled, packed and provided as an ASP.NET Core package. Does not require PHP, becomes a part of ASP.NET Core application.

PeachPied.WordPress.Build.Plugin/PeachPied.WordPress.Build.Plugin.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net5.0</TargetFrameworks>
3+
<TargetFrameworks>net6.0</TargetFrameworks>
44
<!--TargetFrameworks Condition=" '$(MSBuildRuntimeType)'!='Core' ">$(TargetFrameworks);net472</TargetFrameworks-->
55
<BuildOutputTargetFolder>build\</BuildOutputTargetFolder>
66
<EnableDefaultNoneItems>true</EnableDefaultNoneItems>

PeachPied.WordPress.Build.Plugin/build/PeachPied.WordPress.Build.Plugin.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<PropertyGroup>
99
<OutputType>library</OutputType>
10-
<TargetFramework>net5.0</TargetFramework>
10+
<TargetFramework>net6.0</TargetFramework>
1111
<Configuration Condition=" '$(Configuration)'=='' ">Debug</Configuration>
1212
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1313
<IsPackable>true</IsPackable>

PeachPied.WordPress.Build.Plugin/build/PeachPied.WordPress.Build.Plugin.targets

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<PropertyGroup Condition=" '$(BuildPluginTaskAssembly)'=='' ">
2222
<BuildPluginTaskAssembly Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)netstandard2.0\PeachPied.WordPress.Build.Plugin.dll</BuildPluginTaskAssembly>
23-
<BuildPluginTaskAssembly Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)net5.0\PeachPied.WordPress.Build.Plugin.dll</BuildPluginTaskAssembly>
23+
<BuildPluginTaskAssembly Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)net6.0\PeachPied.WordPress.Build.Plugin.dll</BuildPluginTaskAssembly>
2424
</PropertyGroup>
2525

2626
<UsingTask AssemblyFile="$(BuildPluginTaskAssembly)" TaskName="WpPluginTask" />
@@ -85,7 +85,7 @@
8585

8686
<!-- include plugin files as contentFiles -->
8787
<Content Update="**" CopyToOutputDirectory="PreserveNewest">
88-
<PackagePath>contentFiles/any/net5.0/wordpress/$(PhpRelativePath)</PackagePath>
88+
<PackagePath>contentFiles/any/net6.0/wordpress/$(PhpRelativePath)</PackagePath>
8989
<PackageCopyToOutput>true</PackageCopyToOutput>
9090
<Link>wordpress\$(PhpRelativePath)%(RecursiveDir)%(Filename)%(Extension)</Link>
9191
</Content>

PeachPied.WordPress.Standard/PeachPied.WordPress.Standard.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<Description>
66
The API for integrating .NET plugins and to bridge between C# and WordPress PHP code.
77
</Description>

plugins/PeachPied.WordPress.DotNet/PeachPied.WordPress.DotNet.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

plugins/PeachPied.WordPress.HotPlug/PeachPied.WordPress.HotPlug.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

plugins/PeachPied.WordPress.NuGetPlugins/PeachPied.WordPress.NuGetPlugins.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<Description>
66
A plugin for WpDotNet replacing WordPress dashboard's plugins and themes catalog with NuGet packages.
77

plugins/PhpPlugin.Build.targets

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<!-- copy the task dll into temp dir (TODO: AppDomain and shadow copy) -->
1818
<PropertyGroup>
1919
<BuildPluginFramework Condition=" '$(MSBuildRuntimeType)'!='Core' ">net472</BuildPluginFramework>
20-
<BuildPluginFramework Condition=" '$(BuildPluginFramework)'=='' ">net5.0</BuildPluginFramework>
20+
<BuildPluginFramework Condition=" '$(BuildPluginFramework)'=='' ">net6.0</BuildPluginFramework>
2121
<BuildPluginTaskAssembly>$(MSBuildThisFileDirectory)../$(BuildPlugin)/bin/$(Configuration)/$(BuildPluginFramework)/publish/$(BuildPlugin).dll</BuildPluginTaskAssembly>
2222
<BuildPluginTaskAssemblyOriginal>$(BuildPluginTaskAssembly)</BuildPluginTaskAssemblyOriginal>
2323
<_BuildPluginTmp>$([System.IO.Path]::GetTempPath())PhpPlugin.Build/$([System.Guid]::NewGuid())/</_BuildPluginTmp>

wordpress/PeachPied.WordPress.msbuildproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<ProjectGuid>0e51d101-0992-4aa6-a134-26ea3f2e3934</ProjectGuid>
44
</PropertyGroup>
55
<PropertyGroup>
6-
<TargetFramework>net5.0</TargetFramework>
6+
<TargetFramework>net6.0</TargetFramework>
77
<NoWarn>PHP0125,PHP5011,PHP6002,PHP5018,PHP5026,PHP6006</NoWarn>
88
<Copyright>WordPress</Copyright>
99
<Description>
@@ -42,7 +42,7 @@
4242
##wp-content/plugins/**/*.php;
4343
wp-content/plugins/akismet/**;
4444
wp-content/plugins/*.php;
45-
wp-content/themes/**/*.php;
45+
##wp-content/themes/**/*.php;
4646
*.php;
4747
*.msbuildproj;*.msbuildproj.user;
4848
" CopyToOutputDirectory="PreserveNewest">

0 commit comments

Comments
 (0)