|
17 | 17 | </PropertyGroup>
|
18 | 18 |
|
19 | 19 | <ItemGroup>
|
20 |
| - <PackageReference Include="MSBuild.Umbraco.Packaging" Version="1.0.2"> |
21 |
| - <PrivateAssets>all</PrivateAssets> |
22 |
| - </PackageReference> |
23 | 20 | <PackageReference Include="UmbracoCms.Web" Version="8.1.0" />
|
24 | 21 | <PackageReference Include="UmbracoForms.Core" Version="8.7.4" />
|
25 | 22 | </ItemGroup>
|
|
42 | 39 | <Exec Command="xcopy /E /Y /I "$(ProjectDir)App_Plugins\UmbracoForms.Integrations\Crm\Hubspot" "$(SolutionDir)\Umbraco.Forms.Integrations.TestSite\App_Plugins\UmbracoForms.Integrations\Crm\Hubspot"
EXIT 0" />
|
43 | 40 | </Target>
|
44 | 41 |
|
45 |
| - <!-- |
46 |
| - Create Umbraco package zip along with NuGet when dotnet pack is called. |
47 |
| - See and hat-tip: |
48 |
| - - https://24days.in/umbraco-cms/2019/umbraco-packages-2019/packaging/ |
49 |
| - - https://github.com/callumbwhyte/msbuild-umbraco-packaging |
50 |
| - --> |
51 |
| - <UsingTask AssemblyFile="$(TargetDir)\MSBuild.Umbraco.Packaging.dll" TaskName="MSBuild.Umbraco.Packaging.GatherAssemblies" /> |
52 |
| - |
53 |
| - <Target Name="UmbracoGatherFiles"> |
54 |
| - <GatherAssemblies Dependencies="@(ReferenceCopyLocalPaths)" |
55 |
| - PackageRefs="@(PackageReference);@(ProjectReference)"> |
56 |
| - <Output TaskParameter="Assemblies" ItemName="PackageAssemblies" /> |
57 |
| - </GatherAssemblies> |
58 |
| - |
59 |
| - <Copy SourceFiles="$(TargetPath)" DestinationFolder="$(TempFolder)\bin\" /> |
60 |
| - <Copy SourceFiles="@(PackageAssemblies)" DestinationFolder="$(TempFolder)\bin\" /> |
61 |
| - |
62 |
| - <Copy SourceFiles="@(Content)" DestinationFiles="$(TempFolder)%(RelativeDir)%(Filename)%(Extension)" /> |
63 |
| - </Target> |
64 |
| - |
65 |
| - <UsingTask AssemblyFile="$(TargetDir)\MSBuild.Umbraco.Packaging.dll" TaskName="MSBuild.Umbraco.Packaging.GenerateManifest" /> |
66 |
| - |
67 |
| - <Target Name="UmbracoPackage" AfterTargets="Pack" DependsOnTargets="UmbracoClean;UmbracoGatherFiles"> |
68 |
| - <GenerateManifest TargetDirectory="$(TempFolder)" |
69 |
| - Name="$(Product)" |
70 |
| - Description="$(Description)" |
71 |
| - Version="$(Version)" |
72 |
| - UmbracoVersion="$(UmbracoVersion)" |
73 |
| - Author="$(Authors)" |
74 |
| - AuthorUrl="$(AuthorUrl)" |
75 |
| - ProjectUrl="$(PackageProjectUrl)" |
76 |
| - IconUrl="$(PackageIconUrl)" |
77 |
| - LicenseUrl="$(PackageLicenseUrl)" /> |
78 |
| - </Target> |
79 |
| - |
80 |
| - <Target Name="UmbracoPackage" AfterTargets="Pack" DependsOnTargets="UmbracoClean;UmbracoGatherFiles"> |
81 |
| - <ZipDirectory SourceDirectory="$(TempFolder)" |
82 |
| - DestinationFile="$(DestFolder)\$(Product).$(Version).zip" |
83 |
| - Overwrite="true" /> |
84 |
| - </Target> |
85 |
| - |
86 |
| - <Target Name="UmbracoClean" AfterTargets="Clean"> |
87 |
| - <RemoveDir Directories="$(TempFolder)" /> |
88 |
| - </Target> |
89 |
| - |
90 | 42 | </Project>
|
0 commit comments