initial changes to upgrade to .NET 7
This commit is contained in:
		| @ -2,7 +2,7 @@ | ||||
| <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||||
|   <metadata> | ||||
|     <id>Oqtane.Client</id> | ||||
|     <version>3.4.3</version> | ||||
|     <version>4.0.0</version> | ||||
|     <authors>Shaun Walker</authors> | ||||
|     <owners>.NET Foundation</owners> | ||||
|     <title>Oqtane Framework</title> | ||||
| @ -12,13 +12,13 @@ | ||||
|     <requireLicenseAcceptance>false</requireLicenseAcceptance> | ||||
|     <license type="expression">MIT</license> | ||||
|     <projectUrl>https://github.com/oqtane/oqtane.framework</projectUrl> | ||||
|     <releaseNotes>https://github.com/oqtane/oqtane.framework/releases/tag/v3.4.3</releaseNotes> | ||||
|     <releaseNotes>https://github.com/oqtane/oqtane.framework/releases/tag/v4.0.0</releaseNotes> | ||||
|     <icon>icon.png</icon> | ||||
|     <tags>oqtane</tags> | ||||
|   </metadata> | ||||
|   <files> | ||||
|     <file src="..\Oqtane.Client\bin\Release\net6.0\Oqtane.Client.dll" target="lib\net6.0" />  | ||||
|     <file src="..\Oqtane.Client\bin\Release\net6.0\Oqtane.Client.pdb" target="lib\net6.0" />  | ||||
|     <file src="..\Oqtane.Client\bin\Release\net7.0\Oqtane.Client.dll" target="lib\net7.0" />  | ||||
|     <file src="..\Oqtane.Client\bin\Release\net7.0\Oqtane.Client.pdb" target="lib\net7.0" />  | ||||
|     <file src="icon.png" target="" /> | ||||
|   </files> | ||||
| </package> | ||||
| @ -2,7 +2,7 @@ | ||||
| <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||||
|   <metadata> | ||||
|     <id>Oqtane.Framework</id> | ||||
|     <version>3.4.3</version> | ||||
|     <version>4.0.0</version> | ||||
|     <authors>Shaun Walker</authors> | ||||
|     <owners>.NET Foundation</owners> | ||||
|     <title>Oqtane Framework</title> | ||||
| @ -11,8 +11,8 @@ | ||||
|     <copyright>.NET Foundation</copyright> | ||||
|     <requireLicenseAcceptance>false</requireLicenseAcceptance> | ||||
|     <license type="expression">MIT</license> | ||||
|     <projectUrl>https://github.com/oqtane/oqtane.framework/releases/download/v3.4.3/Oqtane.Framework.3.4.3.Upgrade.zip</projectUrl> | ||||
|     <releaseNotes>https://github.com/oqtane/oqtane.framework/releases/tag/v3.4.3</releaseNotes> | ||||
|     <projectUrl>https://github.com/oqtane/oqtane.framework/releases/download/v4.0.0/Oqtane.Framework.4.0.0.Upgrade.zip</projectUrl> | ||||
|     <releaseNotes>https://github.com/oqtane/oqtane.framework/releases/tag/v4.0.0</releaseNotes> | ||||
|     <icon>icon.png</icon> | ||||
|     <tags>oqtane framework</tags> | ||||
|   </metadata> | ||||
|  | ||||
| @ -2,7 +2,7 @@ | ||||
| <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||||
|   <metadata> | ||||
|     <id>Oqtane.Server</id> | ||||
|     <version>3.4.3</version> | ||||
|     <version>4.0.0</version> | ||||
|     <authors>Shaun Walker</authors> | ||||
|     <owners>.NET Foundation</owners> | ||||
|     <title>Oqtane Framework</title> | ||||
| @ -12,13 +12,13 @@ | ||||
|     <requireLicenseAcceptance>false</requireLicenseAcceptance> | ||||
|     <license type="expression">MIT</license> | ||||
|     <projectUrl>https://github.com/oqtane/oqtane.framework</projectUrl> | ||||
|     <releaseNotes>https://github.com/oqtane/oqtane.framework/releases/tag/v3.4.3</releaseNotes> | ||||
|     <releaseNotes>https://github.com/oqtane/oqtane.framework/releases/tag/v4.0.0</releaseNotes> | ||||
|     <icon>icon.png</icon> | ||||
|     <tags>oqtane</tags> | ||||
|   </metadata> | ||||
|   <files> | ||||
|     <file src="..\Oqtane.Server\bin\Release\net6.0\Oqtane.Server.dll" target="lib\net6.0" />  | ||||
|     <file src="..\Oqtane.Server\bin\Release\net6.0\Oqtane.Server.pdb" target="lib\net6.0" />  | ||||
|     <file src="..\Oqtane.Server\bin\Release\net7.0\Oqtane.Server.dll" target="lib\net7.0" />  | ||||
|     <file src="..\Oqtane.Server\bin\Release\net7.0\Oqtane.Server.pdb" target="lib\net7.0" />  | ||||
|     <file src="icon.png" target="" /> | ||||
|   </files> | ||||
| </package> | ||||
| @ -2,7 +2,7 @@ | ||||
| <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||||
|   <metadata> | ||||
|     <id>Oqtane.Shared</id> | ||||
|     <version>3.4.3</version> | ||||
|     <version>4.0.0</version> | ||||
|     <authors>Shaun Walker</authors> | ||||
|     <owners>.NET Foundation</owners> | ||||
|     <title>Oqtane Framework</title> | ||||
| @ -12,13 +12,13 @@ | ||||
|     <requireLicenseAcceptance>false</requireLicenseAcceptance> | ||||
|     <license type="expression">MIT</license> | ||||
|     <projectUrl>https://github.com/oqtane/oqtane.framework</projectUrl> | ||||
|     <releaseNotes>https://github.com/oqtane/oqtane.framework/releases/tag/v3.4.3</releaseNotes> | ||||
|     <releaseNotes>https://github.com/oqtane/oqtane.framework/releases/tag/v4.0.0</releaseNotes> | ||||
|     <icon>icon.png</icon> | ||||
|     <tags>oqtane</tags> | ||||
|   </metadata> | ||||
|   <files> | ||||
|     <file src="..\Oqtane.Shared\bin\Release\net6.0\Oqtane.Shared.dll" target="lib\net6.0" />  | ||||
|     <file src="..\Oqtane.Shared\bin\Release\net6.0\Oqtane.Shared.pdb" target="lib\net6.0" />  | ||||
|     <file src="..\Oqtane.Shared\bin\Release\net7.0\Oqtane.Shared.dll" target="lib\net7.0" />  | ||||
|     <file src="..\Oqtane.Shared\bin\Release\net7.0\Oqtane.Shared.pdb" target="lib\net7.0" />  | ||||
|     <file src="icon.png" target="" /> | ||||
|   </files> | ||||
| </package> | ||||
| @ -2,7 +2,7 @@ | ||||
| <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||||
|   <metadata> | ||||
|     <id>Oqtane.Updater</id> | ||||
|     <version>3.4.3</version> | ||||
|     <version>4.0.0</version> | ||||
|     <authors>Shaun Walker</authors> | ||||
|     <owners>.NET Foundation</owners> | ||||
|     <title>Oqtane Framework</title> | ||||
| @ -12,12 +12,12 @@ | ||||
|     <requireLicenseAcceptance>false</requireLicenseAcceptance> | ||||
|     <license type="expression">MIT</license> | ||||
|     <projectUrl>https://github.com/oqtane/oqtane.framework</projectUrl> | ||||
|     <releaseNotes>https://github.com/oqtane/oqtane.framework/releases/tag/v3.4.3</releaseNotes> | ||||
|     <releaseNotes>https://github.com/oqtane/oqtane.framework/releases/tag/v4.0.0</releaseNotes> | ||||
|     <icon>icon.png</icon> | ||||
|     <tags>oqtane</tags> | ||||
|   </metadata> | ||||
|   <files> | ||||
|     <file src="..\Oqtane.Updater\bin\Release\net6.0\publish\*.*" target="lib\net6.0" />  | ||||
|     <file src="..\Oqtane.Updater\bin\Release\net7.0\publish\*.*" target="lib\net7.0" />  | ||||
|     <file src="icon.png" target="" /> | ||||
|   </files> | ||||
| </package> | ||||
| @ -1 +1 @@ | ||||
| Compress-Archive -Path "..\Oqtane.Server\bin\Release\net6.0\publish\*" -DestinationPath "Oqtane.Framework.3.4.3.Install.zip" -Force  | ||||
| Compress-Archive -Path "..\Oqtane.Server\bin\Release\net7.0\publish\*" -DestinationPath "Oqtane.Framework.4.0.0.Install.zip" -Force  | ||||
| @ -8,14 +8,14 @@ nuget.exe pack Oqtane.Client.nuspec | ||||
| nuget.exe pack Oqtane.Server.nuspec | ||||
| nuget.exe pack Oqtane.Shared.nuspec                   | ||||
| nuget.exe pack Oqtane.Framework.nuspec | ||||
| del /F/Q/S "..\Oqtane.Server\bin\Release\net6.0\publish" > NUL | ||||
| rmdir /Q/S "..\Oqtane.Server\bin\Release\net6.0\publish" | ||||
| del /F/Q/S "..\Oqtane.Server\bin\Release\net7.0\publish" > NUL | ||||
| rmdir /Q/S "..\Oqtane.Server\bin\Release\net7.0\publish" | ||||
| dotnet publish ..\Oqtane.Server\Oqtane.Server.csproj /p:Configuration=Release | ||||
| del /F/Q/S "..\Oqtane.Server\bin\Release\net6.0\publish\wwwroot\Content" > NUL | ||||
| rmdir /Q/S "..\Oqtane.Server\bin\Release\net6.0\publish\wwwroot\Content" | ||||
| del /F/Q/S "..\Oqtane.Server\bin\Release\net7.0\publish\wwwroot\Content" > NUL | ||||
| rmdir /Q/S "..\Oqtane.Server\bin\Release\net7.0\publish\wwwroot\Content" | ||||
| setlocal ENABLEDELAYEDEXPANSION | ||||
| set retain=Oqtane.Modules.Admin.Login,Oqtane.Modules.HtmlText,Templates | ||||
| for /D %%i in ("..\Oqtane.Server\bin\Release\net6.0\publish\wwwroot\Modules\*") do ( | ||||
| for /D %%i in ("..\Oqtane.Server\bin\Release\net7.0\publish\wwwroot\Modules\*") do ( | ||||
| set /A found=0 | ||||
| for %%j in (%retain%) do ( | ||||
| if "%%~nxi" == "%%j" set /A found=1 | ||||
| @ -23,18 +23,18 @@ if "%%~nxi" == "%%j" set /A found=1 | ||||
| if not !found! == 1 rmdir /Q/S "%%i" | ||||
| ) | ||||
| set retain=Oqtane.Themes.BlazorTheme,Oqtane.Themes.OqtaneTheme,Templates | ||||
| for /D %%i in ("..\Oqtane.Server\bin\Release\net6.0\publish\wwwroot\Themes\*") do ( | ||||
| for /D %%i in ("..\Oqtane.Server\bin\Release\net7.0\publish\wwwroot\Themes\*") do ( | ||||
| set /A found=0 | ||||
| for %%j in (%retain%) do ( | ||||
| if "%%~nxi" == "%%j" set /A found=1 | ||||
| ) | ||||
| if not !found! == 1 rmdir /Q/S "%%i" | ||||
| ) | ||||
| del "..\Oqtane.Server\bin\Release\net6.0\publish\appsettings.json" | ||||
| ren "..\Oqtane.Server\bin\Release\net6.0\publish\appsettings.release.json" "appsettings.json" | ||||
| del "..\Oqtane.Server\bin\Release\net7.0\publish\appsettings.json" | ||||
| ren "..\Oqtane.Server\bin\Release\net7.0\publish\appsettings.release.json" "appsettings.json" | ||||
| C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe ".\install.ps1" | ||||
| del "..\Oqtane.Server\bin\Release\net6.0\publish\appsettings.json" | ||||
| del "..\Oqtane.Server\bin\Release\net6.0\publish\web.config" | ||||
| del "..\Oqtane.Server\bin\Release\net7.0\publish\appsettings.json" | ||||
| del "..\Oqtane.Server\bin\Release\net7.0\publish\web.config" | ||||
| C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe ".\upgrade.ps1" | ||||
| dotnet clean -c Release ..\Oqtane.Updater.sln  | ||||
| dotnet build -c Release ..\Oqtane.Updater.sln | ||||
|  | ||||
| @ -1 +1 @@ | ||||
| Compress-Archive -Path "..\Oqtane.Server\bin\Release\net6.0\publish\*" -DestinationPath "Oqtane.Framework.3.4.3.Upgrade.zip" -Force  | ||||
| Compress-Archive -Path "..\Oqtane.Server\bin\Release\net7.0\publish\*" -DestinationPath "Oqtane.Framework.4.0.0.Upgrade.zip" -Force  | ||||
		Reference in New Issue
	
	Block a user
	 sbwalker
					sbwalker