Skip to content

Commit

Permalink
Fixes #234, upgrading resets the Mvc.sitemap file.
Browse files Browse the repository at this point in the history
  • Loading branch information
NightOwl888 committed Sep 23, 2013
1 parent d5e6a4e commit c35b9be
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build/runbuild.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -392,5 +392,5 @@ function Get-Prerelease-Text {
if ($packageVersion.Contains("-")) {
$prerelease = $packageVersion.SubString($packageVersion.IndexOf("-")) -replace "\d+", ""
}
return $prerelease
return ".0$prerelease"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
<iconUrl>http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=mvcsitemap&amp;DownloadId=196029</iconUrl>
<dependencies>
<group targetFramework="net35">
<dependency id="MvcSiteMapProvider.MVC#mvc_version#" version="4.0.0#prerelease#" />
<dependency id="MvcSiteMapProvider.MVC#mvc_version#" version="[$version$]" />
</group>
<group targetFramework="net40">
<dependency id="MvcSiteMapProvider.MVC#mvc_version#" version="4.0.0#prerelease#" />
<dependency id="MvcSiteMapProvider.MVC#mvc_version#" version="[$version$]" />
</group>
<group targetFramework="net45">
<dependency id="MvcSiteMapProvider.MVC#mvc_version#" version="4.0.0#prerelease#" />
<dependency id="MvcSiteMapProvider.MVC#mvc_version#" version="[$version$]" />
</group>
</dependencies>
<frameworkAssemblies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@
<iconUrl>http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=mvcsitemap&amp;DownloadId=196029</iconUrl>
<dependencies>
<group targetFramework="net35">
<dependency id="MvcSiteMapProvider.MVC#mvc_version#.DI.#di_container_name#.Modules" version="4.0.0#prerelease#" />
<dependency id="MvcSiteMapProvider.MVC#mvc_version#.DI.#di_container_name#.Modules" version="4.0#prerelease#" />
<dependency id="MvcSiteMapProvider.MVC#mvc_version#" version="[$version$]" />
</group>
<group targetFramework="net40">
<dependency id="MvcSiteMapProvider.MVC#mvc_version#.DI.#di_container_name#.Modules" version="4.0.0#prerelease#" />
<dependency id="MvcSiteMapProvider.MVC#mvc_version#.DI.#di_container_name#.Modules" version="4.0#prerelease#" />
<dependency id="MvcSiteMapProvider.MVC#mvc_version#" version="[$version$]" />
<dependency id="WebActivatorEx" version="2.0.1" />
</group>
<group targetFramework="net45">
<dependency id="MvcSiteMapProvider.MVC#mvc_version#.DI.#di_container_name#.Modules" version="4.0.0#prerelease#" />
<dependency id="MvcSiteMapProvider.MVC#mvc_version#.DI.#di_container_name#.Modules" version="4.0#prerelease#" />
<dependency id="MvcSiteMapProvider.MVC#mvc_version#" version="[$version$]" />
<dependency id="WebActivatorEx" version="2.0.1" />
</group>
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions nuget/mvcsitemapprovider/MvcSiteMapProvider.Shared.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
<dependencies>
<group targetFramework="net35">
<dependency id="MvcSiteMapProvider.MVC#mvc_version#.Core" version="[$version$]" />
<dependency id="MvcSiteMapProvider.Web" version="4.3.0#prerelease#" />
<dependency id="MvcSiteMapProvider.Web" version="4.0#prerelease#" />
</group>
<group targetFramework="net40">
<dependency id="MvcSiteMapProvider.MVC#mvc_version#.Core" version="[$version$]" />
<dependency id="MvcSiteMapProvider.Web" version="4.3.0#prerelease#" />
<dependency id="MvcSiteMapProvider.Web" version="4.0#prerelease#" />
</group>
<group targetFramework="net45">
<dependency id="MvcSiteMapProvider.MVC#mvc_version#.Core" version="[$version$]" />
<dependency id="MvcSiteMapProvider.Web" version="4.3.0#prerelease#" />
<dependency id="MvcSiteMapProvider.Web" version="4.0#prerelease#" />
</group>
</dependencies>
</metadata>
Expand Down

0 comments on commit c35b9be

Please sign in to comment.