diff --git a/BikeTouringGIS.Library.UnitTests/ViewModels/BikeTouringGISMapViewModelTest.cs b/BikeTouringGIS.Library.UnitTests/ViewModels/BikeTouringGISMapViewModelTest.cs index b872821..37f9250 100644 --- a/BikeTouringGIS.Library.UnitTests/ViewModels/BikeTouringGISMapViewModelTest.cs +++ b/BikeTouringGIS.Library.UnitTests/ViewModels/BikeTouringGISMapViewModelTest.cs @@ -103,7 +103,7 @@ private List GetLayers(string path) var gpxData = GetGPXData(path); _vm.AddPoIs(gpxData.WayPoints); var layerFactory = new LayerFactory(gpxData.WayPointsExtent); - _vm.AddRoutes(layerFactory.CreateRoutes(gpxData.Routes)); + _vm.AddRoutes(layerFactory.CreateRoutes("unittest", gpxData.Routes)); _vm.BikeTouringGISLayers = new ObservableCollection(_vm.Map.GetBikeTouringGISLayers()); return _vm.BikeTouringGISLayers.ToList(); } diff --git a/NuGet packaging/BikeTouringGIS-1.0.4.nupkg b/NuGet packaging/BikeTouringGIS-1.0.4.nupkg deleted file mode 100644 index be8b81b..0000000 Binary files a/NuGet packaging/BikeTouringGIS-1.0.4.nupkg and /dev/null differ diff --git a/NuGet packaging/BikeTouringGIS.1.0.1.nupkg b/NuGet packaging/BikeTouringGIS.1.0.1.nupkg deleted file mode 100644 index 3dc7da4..0000000 Binary files a/NuGet packaging/BikeTouringGIS.1.0.1.nupkg and /dev/null differ diff --git a/NuGet packaging/BikeTouringGIS.1.0.2.nupkg b/NuGet packaging/BikeTouringGIS.1.0.2.nupkg deleted file mode 100644 index b502a20..0000000 Binary files a/NuGet packaging/BikeTouringGIS.1.0.2.nupkg and /dev/null differ diff --git a/NuGet packaging/BikeTouringGIS.1.0.3.nupkg b/NuGet packaging/BikeTouringGIS.1.0.3.nupkg deleted file mode 100644 index 42c71dd..0000000 Binary files a/NuGet packaging/BikeTouringGIS.1.0.3.nupkg and /dev/null differ diff --git a/NuGet packaging/BikeTouringGIS.1.0.4.nupkg b/NuGet packaging/BikeTouringGIS.1.0.4.nupkg deleted file mode 100644 index aa74b9a..0000000 Binary files a/NuGet packaging/BikeTouringGIS.1.0.4.nupkg and /dev/null differ diff --git a/NuGet packaging/RELEASES b/NuGet packaging/RELEASES new file mode 100644 index 0000000..1727922 --- /dev/null +++ b/NuGet packaging/RELEASES @@ -0,0 +1,7 @@ +E22EDA87A4FE0D8B6C120ABC77B5C4024E167472 BikeTouringGIS-1.0.1-full.nupkg 23045464 +B992874A014F9DFE42E02A931F85245C882703EC BikeTouringGIS-1.0.2-full.nupkg 23513877 +DC931F6261B7050624299AFB74064CC977BEE138 BikeTouringGIS-1.0.3-full.nupkg 23555339 +DC931F6261B7050624299AFB74064CC977BEE138 BikeTouringGIS-1.0.3-full.nupkg 23555339 +B631EA62EAA8F22B2957D7C8E53010813E6E35D0 BikeTouringGIS-1.0.4-full.nupkg 23545791 +B631EA62EAA8F22B2957D7C8E53010813E6E35D0 BikeTouringGIS-1.0.4-full.nupkg 23545791 +DF916B5CD7777B6A85855811D19798E63F2B1BEF BikeTouringGIS-1.2.0-full.nupkg 24870890 \ No newline at end of file diff --git a/NuGet packaging/BikeTouringGIS-1.0.3.nupkg b/NuGet packaging/Setup.exe similarity index 69% rename from NuGet packaging/BikeTouringGIS-1.0.3.nupkg rename to NuGet packaging/Setup.exe index 9f13829..28319fd 100644 Binary files a/NuGet packaging/BikeTouringGIS-1.0.3.nupkg and b/NuGet packaging/Setup.exe differ diff --git a/nuget.exe b/nuget.exe new file mode 100644 index 0000000..d56c578 Binary files /dev/null and b/nuget.exe differ diff --git a/publiceer nieuwe versie BikeTouringGIS.ps1 b/publiceer nieuwe versie BikeTouringGIS.ps1 new file mode 100644 index 0000000..cb22ff0 --- /dev/null +++ b/publiceer nieuwe versie BikeTouringGIS.ps1 @@ -0,0 +1,15 @@ +$inputPath = "C:\GitHub\BikeTouringGIS\BikeTouringGIS\bin\Release" +$buildPath = "C:\GitHub\BikeTouringGIS\build" +$outputPath = "C:\GitHub\BikeTouringGIS\NuGet packaging" +[xml]$XmlDocument = Get-Content build\theRightDirection.BikeTouringGIS.nuspec +$version = $XmlDocument.package.metadata.version +Copy-Item -Path $inputPath\* -Exclude *.xml,*.pdb,*.licenses -Destination $buildPath\lib\net45 -Recurse -Force +Copy-Item -Path $inputPath\log4netconfiguration.xml -Destination $buildPath\lib\net45 -Force +.\nuget pack build\theRightDirection.BikeTouringGIS.nuspec -outputdirectory "build" +$nugetPath = Join-Path $env:USERPROFILE ".nuget\packages" +$squirrelPath = Join-Path $nugetPath "squirrel.windows\*\tools\Squirrel.exe" | Convert-Path | Select-Object -Last 1 +& $squirrelPath --releasify $buildPath\BikeTouringGIS.$version.nupkg --no-msi --icon $buildPath\BikeTouringGIS.ico --setupIcon $buildPath\BikeTouringGIS.ico --releaseDir $outputPath +Start-Sleep -Seconds 20 +remove-item -Path "$outputPath\BikeTouringGIS installer.exe" -Force -ErrorAction Ignore +Start-Sleep -Seconds 20 +Rename-Item -Path $outputPath\Setup.exe "$outputPath\BikeTouringGIS installer.exe" \ No newline at end of file