Skip to content

Commit 77a0f76

Browse files
committed
Update Shopify and Dynamics to exclude V8 rendering view.
1 parent 9965a4b commit 77a0f76

File tree

8 files changed

+13
-12
lines changed

8 files changed

+13
-12
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static class Constants
1515

1616
public static class RenderingComponent
1717
{
18-
public const string DefaultV8ViewPath = AppPluginFolderPath + "/Render/Products.cshtml";
18+
public const string DefaultV8ViewPath = AppPluginFolderPath + "/RenderV8/Products.cshtml";
1919

2020
public const string DefaultV9ViewPath = AppPluginFolderPath + "/Render/ProductsV9.cshtml";
2121
}

src/Umbraco.Cms.Integrations.Commerce.Shopify/Umbraco.Cms.Integrations.Commerce.Shopify.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PackageIconUrl></PackageIconUrl>
1111
<PackageProjectUrl>https://github.com/umbraco/Umbraco.Cms.Integrations/blob/main/src/Umbraco.Cms.Integrations.Commerce.Shopify</PackageProjectUrl>
1212
<RepositoryUrl>https://github.com/umbraco/Umbraco.Cms.Integrations</RepositoryUrl>
13-
<Version>1.3.0</Version>
13+
<Version>1.3.1</Version>
1414
<Authors>Umbraco HQ</Authors>
1515
<Company>Umbraco</Company>
1616
<PackageTags>Umbraco;Umbraco-Marketplace</PackageTags>

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
@@ -4,9 +4,10 @@
44
<ShopifyPropertyEditorFiles>$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoCms.Integrations\Commerce\Shopify\**\*.*</ShopifyPropertyEditorFiles>
55
</PropertyGroup>
66

7-
<Target Name="CopyShopifyPropertyEditorAssets" BeforeTargets="Build">
7+
<Target Condition=" '$(TargetFramework)' != 'net472' " Name="CopyShopifyPropertyEditorAssets" BeforeTargets="Build">
88
<ItemGroup>
9-
<ShopifyPropertyEditorFiles Include="$(ShopifyPropertyEditorFiles)" />
9+
<ShopifyPropertyEditorFiles Include="$(ShopifyPropertyEditorFiles)"
10+
Exclude="$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoCms.Integrations\Commerce\Shopify\RenderV8\*.*"/>
1011
</ItemGroup>
1112
<Message Text="Copying Shopify Property Editor files: $(ShopifyPropertyEditorFiles) - #@(ShopifyPropertyEditorFiles->Count()) files" Importance="high" />
1213
<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 + "/Render/DynamicsFormV8.cshtml";
22+
public const string DefaultV8ViewPath = AppPluginFolderPath + "/RenderV8/DynamicsFormV8.cshtml";
2323
}
2424

2525
public static class EmbedAttribute

src/Umbraco.Cms.Integrations.Crm.Dynamics/Umbraco.Cms.Integrations.Crm.Dynamics.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PackageIconUrl></PackageIconUrl>
1111
<PackageProjectUrl>https://github.com/umbraco/Umbraco.Cms.Integrations/blob/main/src/Umbraco.Cms.Integrations.Crm.Dynamics</PackageProjectUrl>
1212
<RepositoryUrl>https://github.com/umbraco/Umbraco.Cms.Integrations</RepositoryUrl>
13-
<Version>1.3.6</Version>
13+
<Version>1.3.7</Version>
1414
<Authors>Umbraco HQ</Authors>
1515
<Company>Umbraco</Company>
1616
<PackageTags>Umbraco;Umbraco-Marketplace</PackageTags>

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44
$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoCms.Integrations\Crm\Dynamics\**\*.*
55
</DynamicsPropertyEditorFilesPath>
66
</PropertyGroup>
7-
<Target Name="CopyDynamicsPropertyEditorAssets" BeforeTargets="Build">
7+
8+
<Target Condition=" '$(TargetFramework)' != 'net472' " Name="CopyDynamicsPropertyEditorAssets" BeforeTargets="Build">
89
<ItemGroup>
9-
<DynamicsPropertyEditorFiles Include="$(DynamicsPropertyEditorFilesPath)" />
10+
<DynamicsPropertyEditorFiles Include="$(DynamicsPropertyEditorFilesPath)"
11+
Exclude="$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoCms.Integrations\Crm\Dynamics\RenderV8\*.*" />
1012
</ItemGroup>
11-
<Message
12-
Text="Copying Dynamics Property Editor files: $(DynamicsPropertyEditorFilesPath) - #@(DynamicsPropertyEditorFiles->Count()) files"
13+
<Message Text="Copying Dynamics Property Editor files: $(DynamicsPropertyEditorFilesPath) - #@(DynamicsPropertyEditorFiles->Count()) files"
1314
Importance="high" />
1415
<Copy SourceFiles="@(DynamicsPropertyEditorFiles)"
1516
DestinationFiles="@(DynamicsPropertyEditorFiles->'$(MSBuildProjectDirectory)\App_Plugins\UmbracoCms.Integrations\Crm\Dynamics\%(RecursiveDir)%(Filename)%(Extension)')"
1617
SkipUnchangedFiles="true" />
17-
1818
</Target>
1919

2020
<Target Name="ClearDynamicsPropertyEditorAssets" BeforeTargets="Clean">
2121
<ItemGroup>
2222
<DynamicsPropertyEditorDir
23-
Include="$(MSBuildProjectDirectory)\App_Plugins\UmbracoCms\Crm\Dynamics\" />
23+
Include="$(MSBuildProjectDirectory)..\App_Plugins\UmbracoCms\Crm\Dynamics\" />
2424
</ItemGroup>
2525
<Message Text="Clear old Dynamics Property Editor data" Importance="high" />
2626
<RemoveDir Directories="@(DynamicsPropertyEditorDir)" />

0 commit comments

Comments
 (0)