Skip to content

Commit

Permalink
Fixes #234, updating resets mvc.sitemap file. Also added strict depen…
Browse files Browse the repository at this point in the history
…dency versioning so updating the main DI package will always cause the MvcSiteMapProvider.MVCx and MvcSiteMapProvider.MVCx.Core packages to stay in sync, while leaving the MvcSiteMapProvider.MVCx.DI.[Container].Modules and MvcSiteMapProvider.Web packages alone.
  • Loading branch information
NightOwl888 committed Sep 23, 2013
1 parent bad665d commit ddc493e
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.4.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.4.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.4.0#prerelease#" />
<dependency id="MvcSiteMapProvider.Web" version="4.0#prerelease#" />
</group>
</dependencies>
</metadata>
Expand Down

0 comments on commit ddc493e

Please sign in to comment.