Skip to content

Commit 846066c

Browse files
committed
PR updates
1 parent 77a0f76 commit 846066c

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

src/Umbraco.Cms.Integrations.Commerce.Shopify/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static class RenderingComponent
1717
{
1818
public const string DefaultV8ViewPath = AppPluginFolderPath + "/RenderV8/Products.cshtml";
1919

20-
public const string DefaultV9ViewPath = AppPluginFolderPath + "/Render/ProductsV9.cshtml";
20+
public const string DefaultV9ViewPath = AppPluginFolderPath + "/Render/Products.cshtml";
2121
}
2222

2323
public static class Configuration

src/Umbraco.Cms.Integrations.Commerce.Shopify/build/Umbraco.Cms.Integrations.Commerce.Shopify.targets

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66

77
<Target Condition=" '$(TargetFramework)' != 'net472' " Name="CopyShopifyPropertyEditorAssets" BeforeTargets="Build">
88
<ItemGroup>
9-
<ShopifyPropertyEditorFiles Include="$(ShopifyPropertyEditorFiles)"
10-
Exclude="$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoCms.Integrations\Commerce\Shopify\RenderV8\*.*"/>
9+
<ShopifyPropertyEditorFiles Include="$(ShopifyPropertyEditorFiles)" />
10+
<ShopifyPropertyEditorFiles Condition="'$(TargetFramework)' != 'net472'" Remove="$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoCms.Integrations\Commerce\Shopify\RenderV8\*.*" />
11+
<ShopifyPropertyEditorFiles Condition="'$(TargetFramework)' == 'net472'" Remove="$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoCms.Integrations\Commerce\Shopify\Render\*.*" />
1112
</ItemGroup>
1213
<Message Text="Copying Shopify Property Editor files: $(ShopifyPropertyEditorFiles) - #@(ShopifyPropertyEditorFiles->Count()) files" Importance="high" />
1314
<Copy

src/Umbraco.Cms.Integrations.Crm.Dynamics/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static class RenderingComponent
1919
{
2020
public const string DefaultViewPath = AppPluginFolderPath + "/Render/DynamicsForm.cshtml";
2121

22-
public const string DefaultV8ViewPath = AppPluginFolderPath + "/RenderV8/DynamicsFormV8.cshtml";
22+
public const string DefaultV8ViewPath = AppPluginFolderPath + "/RenderV8/DynamicsForm.cshtml";
2323
}
2424

2525
public static class EmbedAttribute

src/Umbraco.Cms.Integrations.Crm.Dynamics/build/Umbraco.Cms.Integrations.Crm.Dynamics.targets

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
</DynamicsPropertyEditorFilesPath>
66
</PropertyGroup>
77

8-
<Target Condition=" '$(TargetFramework)' != 'net472' " Name="CopyDynamicsPropertyEditorAssets" BeforeTargets="Build">
8+
<Target Name="CopyDynamicsPropertyEditorAssets" BeforeTargets="Build">
99
<ItemGroup>
10-
<DynamicsPropertyEditorFiles Include="$(DynamicsPropertyEditorFilesPath)"
11-
Exclude="$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoCms.Integrations\Crm\Dynamics\RenderV8\*.*" />
10+
<DynamicsPropertyEditorFiles Include="$(ShopifyPropertyEditorFiles)" />
11+
<DynamicsPropertyEditorFiles Condition="'$(TargetFramework)' != 'net472'" Remove="$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoCms.Integrations\Crm\Dynamics\RenderV8\*.*" />
12+
<DynamicsPropertyEditorFiles Condition="'$(TargetFramework)' == 'net472'" Remove="$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoCms.Integrations\Crm\Dynamics\Render\*.*" />
1213
</ItemGroup>
1314
<Message Text="Copying Dynamics Property Editor files: $(DynamicsPropertyEditorFilesPath) - #@(DynamicsPropertyEditorFiles->Count()) files"
1415
Importance="high" />

0 commit comments

Comments
 (0)