Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Fallback Processor Feature #26

Open
wants to merge 74 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 66 commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
8005c68
Remove lib ReadMe file
Mar 28, 2016
e7693f9
Add Sitecore NuGet folder
Mar 28, 2016
ed76358
Ignore packages
Mar 28, 2016
97dfea3
Remove direct references to Sitecore
Mar 28, 2016
8b3cd80
Remove direct references to Sitecore
Mar 28, 2016
389ada4
Remove direct references to Sitecore
Mar 28, 2016
5f62c5c
Add Sitecore NuGet
Mar 28, 2016
53abfa2
Add Sitecore NuGet
Mar 28, 2016
d9f9630
NuGet In Project
Mar 28, 2016
0f33af7
Sitecore NuGet Packages
Mar 28, 2016
cc01e98
Sitecore NuGet Packages
Mar 28, 2016
24b7f3c
Add Create and Delete Event Handlers to config file. Also formated co…
Mar 28, 2016
6931f80
Add Sitecore NuGet packages
Mar 28, 2016
aaf75c3
Create Field FallBack Item Deleted Handler
Mar 28, 2016
9a634ba
Created Default Template Demo Folder Item
Mar 29, 2016
985a2ae
Create Deafult Items Demp Folder Item
Mar 29, 2016
e32e57d
Moved events handlers to their own config file to keep from confilict…
Mar 30, 2016
d5200e5
Add properties to get default locations
Mar 30, 2016
65a1c57
Create FieldFallbackEvents config file. Leave in example suffix until…
Mar 30, 2016
71ab4fd
Create Initial DefaultValuesItemProcessor
Mar 30, 2016
6a9215b
Change Demo Folder type in Sitecore
Mar 31, 2016
11a3afe
Move Processor Config from Kernel to Processor Project
Mar 31, 2016
1e5eb62
Changed event from item:created to item:saved when creating new templ…
Mar 31, 2016
87f1346
Field Fall back Item Deleted Handler Place Holder add comment that th…
Mar 31, 2016
68559cc
Alpha version of FieldFallBackItemCreatedHandler. This will create a …
Mar 31, 2016
824be34
Add NuGet Packages and new files to Processors project
Mar 31, 2016
d4786ba
Added DemoFolder for Auto create items for Sitecore
Mar 31, 2016
185c164
Create item extensions for use within the module
Apr 5, 2016
017809a
Add the database to the config file to ensure we are only working wit…
Apr 5, 2016
107b608
Major refacroting to Created Handler to use background timer, Extensi…
Apr 5, 2016
6391aa0
Added database setting to the config file and changed the event from …
Apr 5, 2016
dff92ed
Modify GetParentContnetPath parameter. Add specific extension method …
Apr 6, 2016
c1b5228
Modify to check for template to include folders. Conditionally create…
Apr 6, 2016
91cadae
Include ItemExtension Class
Apr 6, 2016
b428cea
Add Fallback Defaults Folder ID for custom base folder template
Apr 6, 2016
720f7d5
Add method to get Fallback Defaults Folder ID from config file
Apr 6, 2016
55dfab2
Change GetItem for folder to use ID from config file
Apr 6, 2016
142a2fa
Add Folder items
Apr 6, 2016
2497f93
Add Items to Project
Apr 6, 2016
c879b50
Refactored and renamed Extension Method. Fixed bug in getting the ful…
Apr 6, 2016
dfe0ddc
Code cleanup
Apr 6, 2016
0d1327b
Code GetFallbackValue method for Default values.
Apr 6, 2016
965c7e1
Renamed config file to be identififiable with the Processor that util…
Apr 7, 2016
76d0b0b
Basic Documentation of DefaultValuesItemProcessor in FieldFallback_01…
Apr 7, 2016
c4e867a
Disable item:deleting event handler
Apr 7, 2016
cc56996
Rename DefaultValuesItemProcessor to DefaultValuesFallbackProcessor
Apr 7, 2016
645c9cc
Remove delete event handler. Add processor patch for handling templat…
Apr 8, 2016
6579c4a
Change Get Value Safe parameters
Apr 12, 2016
e281e3a
Remove the Delete Handler and move the delete process to a Pipeline P…
Apr 12, 2016
1f58ac6
Create the DeleteItems Pipeline that is responsible for deleting/recy…
Apr 12, 2016
f7345f2
Remove Fallback Delete Handler from project
Apr 12, 2016
1bbf227
Changed Usage description to correctly state order of Fallback for th…
Apr 13, 2016
c271014
Add ReadMe.md to FieldFallback project and modify Solution ReadMe.md
Apr 18, 2016
919c86e
Remove comment
Apr 26, 2016
6ccd9ff
Changed setting names to be more inline with processor it applies to
Apr 26, 2016
599375a
Renamed files to be inline with processors and refactored DeleteItems
Apr 26, 2016
1840d85
Fixed processor location
Apr 26, 2016
77af779
Removed ItemExtension and replaced with class
Apr 26, 2016
a897625
Changes from renaming extension method
Apr 26, 2016
7321aa2
Renamed Linq identifier for clarification
Apr 26, 2016
1b2f964
Inherit DefaultValuesItem from CustomItemBase allowing it to gain its…
May 13, 2016
a7f463b
Code reduction on return of Item
May 13, 2016
e8a8d94
Change usage of DefaultvaluesItem
May 13, 2016
d0c230d
added applicationhost.config to the .gitignore
May 26, 2016
bee744d
removed TDS Global config file from the solution
May 26, 2016
75e6e98
Commented out the DefaultValuesFallbackProcessor by default
May 26, 2016
e594af8
Change the processor to return the item from the database and not the…
Jun 13, 2016
42ebc85
Move constructor to top of method
Jun 14, 2016
8ce79a9
Add more documentation. Make sure to remove .example for this to be i…
Jun 14, 2016
25a604f
Change comment to be more descriptive
Jun 15, 2016
1f92a75
Reduce code to simplify getting content path. There is no reason to g…
Jun 15, 2016
4d83fe1
Create Default Items for Fallback Item
Jun 27, 2016
427cf63
Moved properties from seperate config file to base config file
Jun 27, 2016
bea5a96
Reorganize config files
Jun 27, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,7 @@ BuiltFiles_*.txt
lib/Sitecore*.dll

# we want to include the root 'release' directory since that is where we supply the latest release
!/release/
!/release/
src/packages/Sitecore.6.5.0.120706/Sitecore.6.5.0.120706.nupkg
src/packages/Sitecore.6.5.0.120706/tools/install.ps1
src/.vs/config/applicationhost.config
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Field Fallback is the ability for a field's value to come from somewhere other t
* Lateral Fallback - A field falls back to the value of another field, or chain of fields
* Default Fallback - A field falls back to a text value or a token that is transformed at render time (not item creation time!)
* Language fallback - This is based on [Alex Shyba's Language Fallback module](http://trac.sitecore.net/LanguageFallback)
* Default Value Fallback - A field falls back to a Content Item that is created when the template is created

The concept for this module came about when Alex Shyba released his Language Fallback module. While the initial prototype, written by [Elena Zlateva](http://twitter.com/ezlateva), was heavily based on Alex' work there isn't too much remaining in the FieldFallback.Kernel project. However, to support language fallback while using the Field Fallback module we have provided Partial Language Fallback in the Processors.Globalization project. This code is still very much original to Alex. [Charles Turano](http://sdn.sitecore.net/MVP/MVPs/Charles%20Turano.aspx) also provided some much appreciated help around performance tuning and getting this to be as fast as possible.

Expand Down
8 changes: 0 additions & 8 deletions lib/Readme.txt

This file was deleted.

13 changes: 11 additions & 2 deletions src/Demo.Sitecore.Master/Demo.Sitecore.Master.scproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand Down Expand Up @@ -134,6 +135,10 @@
<ChildItemSynchronization>KeepAllChildrenSynchronized</ChildItemSynchronization>
<ItemDeployment>AlwaysUpdate</ItemDeployment>
</SitecoreItem>
<SitecoreItem Include="sitecore\content\FieldFallbackDemo\DefaultItemsDemoFolder.item">
<ChildItemSynchronization>KeepAllChildrenSynchronized</ChildItemSynchronization>
<ItemDeployment>AlwaysUpdate</ItemDeployment>
</SitecoreItem>
<SitecoreItem Include="sitecore\content\FieldFallbackDemo\LateralDemos.item">
<Icon>/temp/IconCache/Applications/16x16/lightbulb_on.png</Icon>
<ChildItemSynchronization>KeepAllChildrenSynchronized</ChildItemSynchronization>
Expand Down Expand Up @@ -302,6 +307,10 @@
<ChildItemSynchronization>KeepAllChildrenSynchronized</ChildItemSynchronization>
<ItemDeployment>AlwaysUpdate</ItemDeployment>
</SitecoreItem>
<SitecoreItem Include="sitecore\templates\FieldFallbackDemo\DefaultTemplatesDemoFolder.item">
<ChildItemSynchronization>KeepAllChildrenSynchronized</ChildItemSynchronization>
<ItemDeployment>AlwaysUpdate</ItemDeployment>
</SitecoreItem>
<SitecoreItem Include="sitecore\templates\FieldFallbackDemo\Folder.item">
<Icon>/temp/IconCache/Applications/16x16/lightbulb_on.png</Icon>
<ChildItemSynchronization>KeepAllChildrenSynchronized</ChildItemSynchronization>
Expand Down Expand Up @@ -406,7 +415,7 @@
<Name>Demo.Web</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets" />
<Import Project="$(MSBuildExtensionsPath)\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets" Condition="Exists('$(MSBuildExtensionsPath)\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets')" />
<!-- After the package is generated, copy it up to the /trunk/release directory -->
<Target Name="AfterGeneratePackage" Condition=" '$(Configuration)' == 'Release' ">
<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
----item----
version: 1
id: {0E261AC4-227A-4B25-AA38-EC4AF10AA989}
database: master
path: /sitecore/content/FieldFallbackDemo/DefaultItemsDemoFolder
parent: {1C980364-5C74-4CDD-9C08-E718672C8ED5}
name: DefaultItemsDemoFolder
master: {00000000-0000-0000-0000-000000000000}
template: {0EF07759-6627-43BD-A7C7-AE6C0EFB985A}
templatekey: Folder

----version----
language: en
version: 1
revision: fd774789-9e28-45fa-b94b-7614e6e49e76

----field----
field: {25BED78C-4957-4165-998A-CA1B52F67497}
name: __Created
key: __created
content-length: 15

20160329T100623
----field----
field: {8CDC337E-A112-42FB-BBB4-4143751E123F}
name: __Revision
key: __revision
content-length: 36

fd774789-9e28-45fa-b94b-7614e6e49e76
----field----
field: {D9CF14B1-FA16-4BA6-9288-E8A174D4D522}
name: __Updated
key: __updated
content-length: 34

20160329T100623:635948427832628422
----field----
field: {BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A}
name: __Updated by
key: __updated by
content-length: 14

sitecore\admin
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
----item----
version: 1
id: {4328FA62-B0B8-4410-8ECA-8616D5487926}
database: master
path: /sitecore/templates/FieldFallbackDemo/DefaultTemplatesDemoFolder
parent: {FCB3EB2F-2EAE-45E0-9653-5CC9DF7F114B}
name: DefaultTemplatesDemoFolder
master: {00000000-0000-0000-0000-000000000000}
template: {0437FEE2-44C9-46A6-ABE9-28858D9FEE8C}
templatekey: Template Folder

105 changes: 100 additions & 5 deletions src/Demo.Web/Demo.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<TargetFrameworkProfile />
<UseGlobalApplicationHostFile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -39,17 +40,111 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Sitecore.Client">
<HintPath>..\..\lib\Sitecore.Client.dll</HintPath>
<Reference Include="ComponentArt.Web.UI, Version=2010.1.2637.35, Culture=neutral, PublicKeyToken=9bc9f846553156bb, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\ComponentArt.Web.UI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Sitecore.Kernel">
<HintPath>..\..\lib\Sitecore.Kernel.dll</HintPath>
<Reference Include="HtmlAgilityPack, Version=1.4.0.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\HtmlAgilityPack.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="ITHit.WebDAV.Server, Version=2.1.1.108, Culture=neutral, PublicKeyToken=d057f7b1134051b5, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\ITHit.WebDAV.Server.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Lucene.Net, Version=2.3.1.3, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Lucene.Net.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Mvp.Xml, Version=2.0.2158.1055, Culture=neutral, PublicKeyToken=dd92544dc05f5671, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Mvp.Xml.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Newtonsoft.Json, Version=3.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Newtonsoft.Json.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RadEditor.Net2, Version=7.2.0.0, Culture=neutral, PublicKeyToken=852c9eb6525c1b53, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\RadEditor.Net2.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Sitecore.Analytics, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Sitecore.Analytics.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Sitecore.Apps.Loader, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Sitecore.Apps.Loader.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Sitecore.Automation.MarketingAutomation, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Sitecore.Automation.MarketingAutomation.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Sitecore.Client, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Sitecore.Client.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Sitecore.Kernel, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Sitecore.Kernel.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Sitecore.Logging, Version=1.2.0.30715, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Sitecore.Logging.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="sitecore.nexus, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\sitecore.nexus.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Sitecore.NVelocity, Version=0.4.2.8580, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Sitecore.NVelocity.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Sitecore.Oracle, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Sitecore.Oracle.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Sitecore.Publishing.WebDeploy, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Sitecore.Publishing.WebDeploy.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Sitecore.Update, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Sitecore.Update.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Sitecore.Zip, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Sitecore.Zip.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Stimulsoft.Base, Version=2009.3.600.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Stimulsoft.Base.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Stimulsoft.Database, Version=2009.3.600.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Stimulsoft.Database.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Stimulsoft.Report, Version=2009.3.600.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Stimulsoft.Report.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Stimulsoft.Report.Web, Version=2009.3.600.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Stimulsoft.Report.Web.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Stimulsoft.Report.WebDesign, Version=2009.3.600.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Stimulsoft.Report.WebDesign.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Xml.Linq" />
<Reference Include="Telerik.Web.UI, Version=2011.1.315.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL">
<HintPath>..\packages\Sitecore.6.5.0.120706\lib\Telerik.Web.UI.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\CommonAssemblyInfo.cs">
Expand Down Expand Up @@ -93,6 +188,7 @@
</Compile>
</ItemGroup>
<ItemGroup>
<Content Include="packages.config" />
<None Include="web.config" />
<None Include="web.Debug.config">
<DependentUpon>web.config</DependentUpon>
Expand All @@ -109,7 +205,6 @@
<Content Include="sitecore modules\FieldFallbackDemo\LateralSublayout.ascx" />
<Content Include="sitecore modules\FieldFallbackDemo\SideNavigation.xslt" />
</ItemGroup>

<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
Expand Down
4 changes: 4 additions & 0 deletions src/Demo.Web/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Sitecore" version="6.5.0.120706" targetFramework="net35" />
</packages>
7 changes: 5 additions & 2 deletions src/FieldFallback.sln
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.40629.0
# Visual Studio 14
VisualStudioVersion = 14.0.25123.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "02. General Fallback", "02. General Fallback", "{2B3D124A-AB61-411E-B2A0-AACB4BBDB224}"
ProjectSection(SolutionItems) = preProject
ReadMe.md = ReadMe.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "03. Language Fallback", "03. Language Fallback", "{331B2DC2-D515-42EB-9FD9-D2C7A3CB9658}"
EndProject
Expand Down
5 changes: 3 additions & 2 deletions src/Kernel.Sitecore.Master/Kernel.Sitecore.Master.scproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand Down Expand Up @@ -104,7 +105,7 @@
<Name>Kernel</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets" />
<Import Project="$(MSBuildExtensionsPath)\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets" Condition="Exists('$(MSBuildExtensionsPath)\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets')" />
<!-- After the package is generated, copy it up to the /trunk/release directory -->
<Target Name="AfterGeneratePackage" Condition=" '$(Configuration)' == 'Release' ">
<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Kernel/Configuration/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ public static bool EditEnabled
}
}
}
}
}
Loading