diff --git a/debug.bat b/debug.bat
index 4d0c76a..c32fda5 100644
--- a/debug.bat
+++ b/debug.bat
@@ -1,2 +1,2 @@
@echo off
-dotnet build src/Skybrud.Umbraco.Redirects.Import/Skybrud.Umbraco.Redirects.Import.csproj --configuration Debug /t:rebuild /t:pack -p:PackageOutputPath=c:\nuget\Umbraco10
\ No newline at end of file
+dotnet build src/Skybrud.Umbraco.Redirects.Import/Skybrud.Umbraco.Redirects.Import.csproj --configuration Debug /t:rebuild /t:pack -p:PackageOutputPath=c:\nuget\Umbraco13
\ No newline at end of file
diff --git a/src/Skybrud.Umbraco.Redirects.Import/RedirectsImportManifestFilter.cs b/src/Skybrud.Umbraco.Redirects.Import/RedirectsImportManifestFilter.cs
index 3c012be..567dece 100644
--- a/src/Skybrud.Umbraco.Redirects.Import/RedirectsImportManifestFilter.cs
+++ b/src/Skybrud.Umbraco.Redirects.Import/RedirectsImportManifestFilter.cs
@@ -8,10 +8,12 @@ public class RedirectsImportManifestFilter : IManifestFilter {
///
public void Filter(List manifests) {
+
manifests.Add(new PackageManifest {
AllowPackageTelemetry = true,
PackageName = RedirectsImportPackage.Name,
- Version = RedirectsImportPackage.InformationalVersion,
+ Version = RedirectsImportPackage.InformationalVersion.Split('+')[0],
+ PackageId = RedirectsImportPackage.Alias,
BundleOptions = BundleOptions.Independent,
Scripts = new[] {
$"/App_Plugins/{RedirectsImportPackage.Alias}/Scripts/App.js",
@@ -25,6 +27,7 @@ public void Filter(List manifests) {
$"/App_Plugins/{RedirectsImportPackage.Alias}/Styles/Default.css"
}
});
+
}
}
\ No newline at end of file
diff --git a/src/Skybrud.Umbraco.Redirects.Import/RedirectsImportService.Xlsx.cs b/src/Skybrud.Umbraco.Redirects.Import/RedirectsImportService.Xlsx.cs
index deeba2a..4b7acdc 100644
--- a/src/Skybrud.Umbraco.Redirects.Import/RedirectsImportService.Xlsx.cs
+++ b/src/Skybrud.Umbraco.Redirects.Import/RedirectsImportService.Xlsx.cs
@@ -3,7 +3,7 @@
using Skybrud.Umbraco.Redirects.Exceptions;
using System.Linq;
-namespace Skybrud.Umbraco.Redirects.Import;
+namespace Skybrud.Umbraco.Redirects.Import;
public partial class RedirectsImportService {
@@ -42,7 +42,7 @@ public virtual DataTable ToDataTable(XLWorkbook workbook) {
// Iterate through the columns of the row
foreach (IXLCell cell in row.Cells(firstCell.Address.ColumnNumber, lastCell.Address.ColumnNumber)) {
- table.Rows[^1][cell.WorksheetColumn().ColumnNumber() - 1] = cell.Value.GetText();
+ table.Rows[^1][cell.WorksheetColumn().ColumnNumber() - 1] = cell.Value.ToString();
}
}
diff --git a/src/Skybrud.Umbraco.Redirects.Import/Skybrud.Umbraco.Redirects.Import.csproj b/src/Skybrud.Umbraco.Redirects.Import/Skybrud.Umbraco.Redirects.Import.csproj
index 8258e97..7283ab2 100644
--- a/src/Skybrud.Umbraco.Redirects.Import/Skybrud.Umbraco.Redirects.Import.csproj
+++ b/src/Skybrud.Umbraco.Redirects.Import/Skybrud.Umbraco.Redirects.Import.csproj
@@ -3,14 +3,14 @@
- 10.0
- net6.0
+ 12.0
+ net8.0
App_Plugins/$(AssemblyName)
enable
- 4.0.2
+ 13.0.0-alpha000
build$([System.DateTime]::UtcNow.ToString(`yyyyMMddHHmm`))
Limbo
Anders Bjerner
@@ -24,7 +24,7 @@
Skybrud.Umbraco.Redirects.Import
Skybrud, Umbraco, Redirects, Import, Export, Limbo, Umbraco-Marketplace
MIT
- https://packages.skybrud.dk/skybrud.umbraco.redirects.import/v4/
+ https://packages.skybrud.dk/skybrud.umbraco.redirects.import/v13/
Limbo.png
git
https://github.com/skybrud/Skybrud.Umbraco.Redirects.Import
@@ -35,10 +35,10 @@
-
-
-
-
+
+
+
+