Fixes merges, sln builds now, just need to run tests and fix them

This commit is contained in:
Shannon
2015-05-05 16:53:52 +10:00
parent 2ea4acbc6f
commit fba98eb7f6
29 changed files with 332 additions and 221 deletions

View File

@@ -102,29 +102,7 @@ namespace Umbraco.Core.Configuration
return _umbracoSettings;
}
/// <summary>
/// Only for testing
/// </summary>
/// <param name="value"></param>
public void SetBaseRestExtensions(IBaseRestSection value)
{
_baseRestExtensions = value;
}
/// <summary>
/// Gets the IBaseRestSection
/// </summary>
public IBaseRestSection BaseRestExtensions()
{
if (_baseRestExtensions == null)
{
var ex = new ConfigurationErrorsException("Could not load the " + typeof(IBaseRestSection) + " from config file, ensure the web.config and BaseRestExtensions.config files are formatted correctly");
LogHelper.Error<UmbracoConfig>("Config error", ex);
throw ex;
}
return _baseRestExtensions;
}
//TODO: Add other configurations here !
}

View File

@@ -23,7 +23,7 @@ namespace Umbraco.Core.Configuration
/// Gets the version comment (like beta or RC).
/// </summary>
/// <value>The version comment.</value>
public static string CurrentComment { get { return "RC"; } }
public static string CurrentComment { get { return ""; } }
// Get the version of the umbraco.dll by looking at a class in that dll
// Had to do it like this due to medium trust issues, see: http://haacked.com/archive/2010/11/04/assembly-location-and-medium-trust.aspx