-
Notifications
You must be signed in to change notification settings - Fork 756
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3167 from valadas/fix-merge-build
Fixes errors with previous build scripts following PB merge
- Loading branch information
Showing
5 changed files
with
109 additions
and
63 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
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
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
34 changes: 19 additions & 15 deletions
34
Dnn.AdminExperience/Extensions/Content/Dnn.PersonaBar.Extensions/Module.build
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 |
---|---|---|
@@ -1,18 +1,22 @@ | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<PropertyGroup> | ||
<BuildScriptsPath>$(SolutionDir)\Build\BuildScripts</BuildScriptsPath> | ||
<WebsitePath>$(SolutionDir)\Website</WebsitePath> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<PropertyGroup> | ||
<BuildScriptsPath>$(MSBuildProjectDirectory)\..\..\..\Build\BuildScripts</BuildScriptsPath> | ||
</PropertyGroup> | ||
|
||
<Import Project="$(BuildScriptsPath)\Package.targets" /> | ||
<Import Project="$(BuildScriptsPath)\Module.build"/> | ||
|
||
<PropertyGroup> | ||
<WebsitePath>$(MSBuildProjectDirectory)\..\..\..\..\Website</WebsitePath> | ||
<WebsiteBinPath>$(WebsitePath)\bin</WebsiteBinPath> | ||
<WebsiteBinProvidersPath>$(WebsitePath)\bin\Providers</WebsiteBinProvidersPath> | ||
<WebsiteInstallPath>$(WebsitePath)\Install\Module</WebsiteInstallPath> | ||
<Extension>zip</Extension> | ||
<DNNFileName>Dnn.PersonaBar.Extensions</DNNFileName> | ||
<PackageName>Dnn.PersonaBar.Extensions</PackageName> | ||
<ModuleFolderName>$(WebsitePath)\DesktopModules\admin\Dnn.PersonaBar\Modules\</ModuleFolderName> | ||
<YarnWorkingDirectory>..\..\..\package.json</YarnWorkingDirectory> | ||
</PropertyGroup> | ||
|
||
<Import Project="$(BuildScriptsPath)\Package.Targets" /> | ||
<Import Project="$(BuildScriptsPath)\Module.Build"/> | ||
<WebsiteInstallPath>$(WebsitePath)\Install\Module</WebsiteInstallPath> | ||
<Extension>zip</Extension> | ||
<DNNFileName>Dnn.PersonaBar.Extensions</DNNFileName> | ||
<PackageName>Dnn.PersonaBar.Extensions</PackageName> | ||
<ModuleFolderName>$(WebsitePath)\DesktopModules\admin\Dnn.PersonaBar\Modules\</ModuleFolderName> | ||
<YarnWorkingDirectory>..\..\..\package.json</YarnWorkingDirectory> | ||
</PropertyGroup> | ||
|
||
</Project> |
38 changes: 21 additions & 17 deletions
38
Dnn.AdminExperience/Library/Dnn.PersonaBar.UI/Module.build
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 |
---|---|---|
@@ -1,20 +1,24 @@ | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="..\..\..\Dnn_Platform.build" /> | ||
<PropertyGroup> | ||
<Extension>zip</Extension> | ||
<DNNFileName>Dnn.PersonaBar.UI</DNNFileName> | ||
<PackageName>Dnn.PersonaBar.UI</PackageName> | ||
<ModuleFolderName>$(WebsitePath)\DesktopModules\admin\Dnn.PersonaBar</ModuleFolderName> | ||
</PropertyGroup> | ||
<Import Project="$(BuildScriptsPath)\Package.Targets" /> | ||
<Import Project="$(BuildScriptsPath)\Module.Build"/> | ||
<PropertyGroup> | ||
<BuildScriptsPath>$(MSBuildProjectDirectory)\..\..\Build\BuildScripts</BuildScriptsPath> | ||
<WebsitePath>$(MSBuildProjectDirectory)\..\..\..\Website</WebsitePath> | ||
<WebsiteBinPath>$(WebsitePath)\bin</WebsiteBinPath> | ||
<WebsiteBinProvidersPath>$(WebsitePath)\bin\Providers</WebsiteBinProvidersPath> | ||
<WebsiteInstallPath>$(WebsitePath)\Install\Module</WebsiteInstallPath> | ||
<Extension>zip</Extension> | ||
<DNNFileName>Dnn.PersonaBar.UI</DNNFileName> | ||
<PackageName>Dnn.PersonaBar.UI</PackageName> | ||
<ModuleFolderName>$(WebsitePath)\DesktopModules\admin\Dnn.PersonaBar</ModuleFolderName> | ||
</PropertyGroup> | ||
<Import Project="$(BuildScriptsPath)\Package.targets" /> | ||
<Import Project="$(BuildScriptsPath)\Module.build"/> | ||
|
||
<Target Name="CopyBin"> | ||
<Copy SourceFiles="$(MSBuildProjectDirectory)\bin\$(AssemblyName).dll" DestinationFolder="$(WebsitePath)/bin" /> | ||
<Copy SourceFiles="$(MSBuildProjectDirectory)\bin\$(AssemblyName).pdb" DestinationFolder="$(WebsitePath)/bin" /> | ||
<Copy SourceFiles="$(MSBuildProjectDirectory)\bin\$(AssemblyName).xml" DestinationFolder="$(WebsitePath)/bin" /> | ||
<Copy SourceFiles="$(MSBuildProjectDirectory)\bin\Dnn.PersonaBar.Library.dll" DestinationFolder="$(WebsitePath)/bin" /> | ||
<Copy SourceFiles="$(MSBuildProjectDirectory)\bin\Dnn.PersonaBar.Library.pdb" DestinationFolder="$(WebsitePath)/bin" /> | ||
<Copy SourceFiles="$(MSBuildProjectDirectory)\bin\Dnn.PersonaBar.Library.xml" DestinationFolder="$(WebsitePath)/bin" /> | ||
</Target> | ||
<Target Name="CopyBin"> | ||
<Copy SourceFiles="$(MSBuildProjectDirectory)\bin\$(AssemblyName).dll" DestinationFolder="$(WebsitePath)/bin" /> | ||
<Copy SourceFiles="$(MSBuildProjectDirectory)\bin\$(AssemblyName).pdb" DestinationFolder="$(WebsitePath)/bin" /> | ||
<Copy SourceFiles="$(MSBuildProjectDirectory)\bin\$(AssemblyName).xml" DestinationFolder="$(WebsitePath)/bin" /> | ||
<Copy SourceFiles="$(MSBuildProjectDirectory)\bin\Dnn.PersonaBar.Library.dll" DestinationFolder="$(WebsitePath)/bin" /> | ||
<Copy SourceFiles="$(MSBuildProjectDirectory)\bin\Dnn.PersonaBar.Library.pdb" DestinationFolder="$(WebsitePath)/bin" /> | ||
<Copy SourceFiles="$(MSBuildProjectDirectory)\bin\Dnn.PersonaBar.Library.xml" DestinationFolder="$(WebsitePath)/bin" /> | ||
</Target> | ||
</Project> |