ID

Uploaded

Status

Description

Work Items

Action

3578
by tzahik1
Aug 13, 2009
8:07 PM

Being evaluated

Hi.
loved your work.
But it missed the Files component on .dnn
so i added 'ContentFilesComponent' class that will do basically like AssemblyComponent.

here is the demo msbuild script to use it :

<!-- Update the manifest file (base on MSBuild.DotNetNuke.Tasks.Targets) -->
<!--<Target Name="UpdateManifest" Condition="'$(ConfigurationName)'=='Release' and Exists('$(MSBuildExtensionsPath)\MSBuildDotNetNukeTasks\MSBuild.DotNetNuke.Tasks.Targets')">-->
<Target Name="UpdateManifest" >
<CreateItem Include="$(InstallDir)\*.sqldataprovider">
<Output TaskParameter="Include" ItemName="scriptFiles" />
</CreateItem>
<CreateItem Include="$(BinDir)\*.dll">
<Output TaskParameter="Include" ItemName="assemblyFiles" />
</CreateItem>
<CreateItem Include="@(Content)">
<Output TaskParameter="Include" ItemName="ContentForInstall"/>
</CreateItem>

<ScriptComponent ManifestFile="$(InstallDir)\AtrizAStoreTestManifest.dnn"
BasePath="DesktopModules\$(ModuleName)"
Path="Installation"
Files="@(scriptFiles)">
</ScriptComponent>
<AssemblyComponent ManifestFile="$(InstallDir)\AtrizAStoreTestManifest.dnn"
Path="bin"
Files="@(assemblyFiles)">
</AssemblyComponent>
<ContentFilesComponent ManifestFile="$(InstallDir)\AtrizAStoreTestManifest.dnn"
BasePath="DesktopModules\$(ModuleName)"
ProjectDir="$(MSBuildProjectDirectory)"
Files="@(ContentForInstall)">
</ContentFilesComponent>

</Target>
you also need to add in 'MSBuild.DotNetNuke.Tasks.Targets' file the line with
UsingTask ....

Zahi Kramer

Download

View All
  • 1-1 of 1 Patches
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Patches