-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
629eceb
commit c781b59
Showing
122 changed files
with
19,168 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
<?xml version="1.0" encoding="windows-1252" ?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<MSBuildCommunityTasksPath Condition="'$(MSBuildCommunityTasksPath)' == ''">$(MSBuildProjectDirectory)\BuildScripts</MSBuildCommunityTasksPath> | ||
<MSBuildDnnBinPath Condition="'$(MSBuildDnnBinPath)' == ''">$(MSBuildProjectDirectory)\..\..\bin</MSBuildDnnBinPath> | ||
<MSBuildCommunityTasksLib>$(SolutionDir)\Tests\Dependencies\MSbuild\MSBuild.Community.Tasks.dll</MSBuildCommunityTasksLib> | ||
</PropertyGroup> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.AspNet.InstallAspNet" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.AssemblyInfo" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Attrib" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SqlExecute" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.FileUpdate" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.FtpUpload" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.FxCop" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.GacUtil" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.GetSolutionProjects" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.ILMerge" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Mail" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Move" /> | ||
|
||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Math.Add" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Math.Divide" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Math.Modulo" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Math.Multiple" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Math.Subtract" /> | ||
|
||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.NDoc" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.NUnit" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Prompt" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.RegistryRead" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.RegistryWrite" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.RegexMatch" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.RegexReplace" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Script" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.ServiceController" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.ServiceQuery" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Sleep" /> | ||
|
||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.IIS.AppPoolController" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.IIS.AppPoolCreate" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.IIS.AppPoolDelete" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.IIS.WebDirectoryCreate" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.IIS.WebDirectoryDelete" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.IIS.WebDirectoryScriptMap" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.IIS.WebDirectorySetting" /> | ||
|
||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Install.InstallAssembly" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Install.UninstallAssembly" /> | ||
|
||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Schema.TaskSchema" /> | ||
|
||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SqlServer.ExecuteDDL" /> | ||
|
||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssAdd" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssCheckin" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssCheckout" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssClean" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssDiff" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssGet" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssHistory" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssLabel" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.SourceSafe.VssUndoCheckout" /> | ||
|
||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Subversion.SvnCheckout" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Subversion.SvnClient" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Subversion.SvnCopy" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Subversion.SvnCommit" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Subversion.SvnExport" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Subversion.SvnInfo" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Subversion.SvnUpdate" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Subversion.SvnVersion" /> | ||
|
||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Tfs.TfsVersion" /> | ||
|
||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.TemplateFile" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Time" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Unzip" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Version" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.WebDownload" /> | ||
|
||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Xml.XmlMassUpdate" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Xml.XmlQuery" /> | ||
|
||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.XmlRead" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.XmlUpdate" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Xslt" /> | ||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.Zip" /> | ||
|
||
<UsingTask AssemblyFile="$(MSBuildCommunityTasksLib)" TaskName="MSBuild.Community.Tasks.JavaScript.JSCompress" /> | ||
|
||
<ItemGroup> | ||
<FxCopRuleAssemblies Include="UsageRules.dll"/> | ||
<FxCopRuleAssemblies Include="SecurityRules.dll"/> | ||
<FxCopRuleAssemblies Include="PortabilityRules.dll"/> | ||
<FxCopRuleAssemblies Include="PerformanceRules.dll"/> | ||
<FxCopRuleAssemblies Include="MobilityRules.dll"/> | ||
<FxCopRuleAssemblies Include="InteroperabilityRules.dll"/> | ||
<FxCopRuleAssemblies Include="GlobalizationRules.dll"/> | ||
<FxCopRuleAssemblies Include="DesignRules.dll"/> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
<?xml version="1.0" encoding="windows-1252"?> | ||
|
||
<!-- WARNING, WARNING, WARNING --> | ||
<!-- REMEMBER THAT IF YOU MODIFY THE TARGETS FILE YOU NEED TO CLOSE/OPEN THE PROJECT FOR THE CHANGES TO TAKE EFFECT --> | ||
|
||
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="MSBuild.Community.Tasks.Targets" /> | ||
<Target Name="PackageModule" Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<XmlRead Prefix="n" | ||
Namespace="http://schemas.microsoft.com/developer/msbuild/2003" | ||
XPath="dotnetnuke/packages/package[1]/@version" | ||
XmlFileName="Resources\$(DNNFileName).dnn"> | ||
<Output TaskParameter="Value" PropertyName="Version" /> | ||
</XmlRead> | ||
|
||
<!--in VS $year$ we exclude the packages folder --> | ||
<ItemGroup> | ||
<InstallInclude Include="**\*.ascx" Exclude="packages\**" /> | ||
<InstallInclude Include="**\*.asmx" Exclude="packages\**" /> | ||
<InstallInclude Include="**\*.ashx" Exclude="packages\**" /> | ||
<InstallInclude Include="**\*.css" Exclude="packages\**" /> | ||
<InstallInclude Include="**\*.html" Exclude="packages\**" /> | ||
<InstallInclude Include="**\*.htm" Exclude="packages\**" /> | ||
<InstallInclude Include="**\*.resx" Exclude="packages\**" /> | ||
<InstallInclude Include="**\*.aspx" Exclude="packages\**" /> | ||
<InstallInclude Include="**\*.js" Exclude="packages\**" /> | ||
<InstallInclude Include="**\*.txt" Exclude="**\obj\**;**\_ReSharper*\**;packages\**;" /> | ||
<InstallInclude Include="**\images\*.*" Exclude="packages\**" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<SourceInclude Include="**\*.ascx" /> | ||
<SourceInclude Include="**\*.asmx" /> | ||
<SourceInclude Include="**\*.ashx" /> | ||
<SourceInclude Include="**\*.css" /> | ||
<SourceInclude Include="**\*.xsl" /> | ||
<SourceInclude Include="**\*.html" /> | ||
<SourceInclude Include="**\*.htm" /> | ||
<SourceInclude Include="**\*.resx" /> | ||
<SourceInclude Include="**\*.xml" Exclude="**\obj\**;**\_ReSharper*\**;" /> | ||
<SourceInclude Include="**\*.aspx" /> | ||
<SourceInclude Include="**\*.js" /> | ||
<SourceInclude Include="**\*.txt" Exclude="**\obj\**;**\_ReSharper*\**;" /> | ||
<SourceInclude Include="**\images\*.*" /> | ||
<SourceInclude Include="**\*.cs" /> | ||
<SourceInclude Include="**\*.cs.designer" /> | ||
<SourceInclude Include="**\*.csproj" /> | ||
<SourceInclude Include="**\*.targets" /> | ||
<SourceInclude Include="**\*.sln" /> | ||
</ItemGroup> | ||
|
||
<CreateItem Include="Resources\$(DNNFileName).dnn"> | ||
<Output TaskParameter="Include" ItemName="PackageManifestFiles" /> | ||
</CreateItem> | ||
|
||
<CreateItem Include="**\License.txt"> | ||
<Output TaskParameter="Include" ItemName="PackageTxtFiles" /> | ||
</CreateItem> | ||
|
||
<CreateItem Include="**\ReleaseNotes.htm"> | ||
<Output TaskParameter="Include" ItemName="PackageTxtFiles" /> | ||
</CreateItem> | ||
|
||
<CreateItem Include="**\*.sqldataprovider"> | ||
<Output TaskParameter="Include" ItemName="SqlDataProviderFiles" /> | ||
</CreateItem> | ||
|
||
<CreateItem Include="Resources\CleanUp\*.txt"> | ||
<Output TaskParameter="Include" ItemName="CleanUpFiles" /> | ||
</CreateItem> | ||
|
||
<Copy SourceFiles="$(MSBuildDnnBinPath)\$(AssemblyName).dll" DestinationFolder="$(MSBuildProjectDirectory)\Package" /> | ||
<Copy SourceFiles="@(SqlDataProviderFiles)" DestinationFolder="$(MSBuildProjectDirectory)\Package\%(RecursiveDir)" /> | ||
<Copy SourceFiles="@(PackageManifestFiles)" DestinationFolder="$(MSBuildProjectDirectory)\Package" /> | ||
<Copy SourceFiles="@(PackageTxtFiles)" DestinationFolder="$(MSBuildProjectDirectory)\Package" /> | ||
<Copy SourceFiles="@(CleanUpFiles)" DestinationFolder="$(MSBuildProjectDirectory)\Package\Resources\CleanUp" /> | ||
|
||
<!-- create the INSTALL RESOURCES.ZIP file --> | ||
<Copy SourceFiles="@(InstallInclude)" DestinationFolder="$(MSBuildProjectDirectory)\ResourcesZip\%(RecursiveDir)" /> | ||
|
||
<CreateItem Include="$(MSBuildProjectDirectory)\ResourcesZip\**\*.*"> | ||
<Output TaskParameter="Include" ItemName="ResourcesContent" /> | ||
</CreateItem> | ||
|
||
<Zip Files="@(ResourcesContent)" WorkingDirectory="$(MSBuildProjectDirectory)\ResourcesZip" ZipFileName="Resources.$(Extension)" /> | ||
<Copy SourceFiles="$(MSBuildProjectDirectory)\Resources.$(Extension)" DestinationFolder="package/" /> | ||
|
||
<CreateItem Include="$(MSBuildProjectDirectory)\Package\**\*.*"> | ||
<Output TaskParameter="Include" ItemName="OutputContent" /> | ||
</CreateItem> | ||
<!-- Create the Install package --> | ||
<Zip Files="@(OutputContent)" WorkingDirectory="$(MSBuildProjectDirectory)\Package" ZipFileName="$(PackageName)_$(Version)_Install.$(Extension)" /> | ||
<!-- Copy the Install package to the Packages folder --> | ||
<Copy SourceFiles="$(MSBuildProjectDirectory)\$(PackageName)_$(Version)_Install.$(Extension)" DestinationFolder="install/" /> | ||
|
||
<RemoveDir Directories ="$(MSBuildProjectDirectory)\Package" /> | ||
<RemoveDir Directories ="$(MSBuildProjectDirectory)\ResourcesZip" /> | ||
|
||
<Copy SourceFiles="$(MSBuildDnnBinPath)\$(AssemblyName).dll" DestinationFolder="$(MSBuildProjectDirectory)\Package" /> | ||
<Copy SourceFiles="@(SqlDataProviderFiles)" DestinationFolder="$(MSBuildProjectDirectory)\Package\%(RecursiveDir)" /> | ||
<Copy SourceFiles="@(PackageManifestFiles)" DestinationFolder="$(MSBuildProjectDirectory)\Package" /> | ||
<Copy SourceFiles="@(PackageTxtFiles)" DestinationFolder="$(MSBuildProjectDirectory)\Package" /> | ||
|
||
<!-- create the SOURCE RESOURCES.ZIP file --> | ||
<Copy SourceFiles="@(SourceInclude)" DestinationFolder="$(MSBuildProjectDirectory)\ResourcesZip\%(RecursiveDir)" /> | ||
|
||
<CreateItem Include="$(MSBuildProjectDirectory)\ResourcesZip\**\*.*"> | ||
<Output TaskParameter="Include" ItemName="SourceContent" /> | ||
</CreateItem> | ||
|
||
<Zip Files="@(SourceContent)" WorkingDirectory="$(MSBuildProjectDirectory)\ResourcesZip" ZipFileName="Resources.$(Extension)" /> | ||
<Copy SourceFiles="$(MSBuildProjectDirectory)\Resources.$(Extension)" DestinationFolder="package/" /> | ||
|
||
<CreateItem Include="$(MSBuildProjectDirectory)\Package\**\*.*"> | ||
<Output TaskParameter="Include" ItemName="OutputSource" /> | ||
</CreateItem> | ||
|
||
<Zip Files="@(OutputSource)" WorkingDirectory="$(MSBuildProjectDirectory)\Package" ZipFileName="$(PackageName)_$(Version)_Source.$(Extension)" /> | ||
<Copy SourceFiles="$(MSBuildProjectDirectory)\$(PackageName)_$(Version)_Source.$(Extension)" DestinationFolder="install/" /> | ||
|
||
<Delete Files="$(MSBuildProjectDirectory)\$(PackageName)_$(Version)_Install.$(Extension)" /> | ||
<Delete Files="$(MSBuildProjectDirectory)\$(PackageName)_$(Version)_Source.$(Extension)" /> | ||
|
||
<Delete Files="$(MSBuildProjectDirectory)\Resources.Zip" /> | ||
|
||
<RemoveDir Directories ="$(MSBuildProjectDirectory)\Package" /> | ||
|
||
<RemoveDir Directories ="$(MSBuildProjectDirectory)\ResourcesZip" /> | ||
</Target> | ||
</Project> |
Oops, something went wrong.