Commits

Anton Afanasyev  committed 9a55658

Corrected building & packaging paths for the new sln location

  • Participants
  • Parent commits 74cbc8d
  • Branches full-example

Comments (0)

Files changed (2)

File CS/BuildScripts/ModulePackage.targets

     <!-- Create the Install package -->    
     <Zip Files="@(OutputInstall)" WorkingDirectory="$(MSBuildProjectDirectory)\Package" ZipFileName="$(DNN_Package_Name)_$(Version)_Install.$(DNN_Package_Extension)" />
     <!-- Copy the Install package to the Packages folder -->
-    <Copy SourceFiles="$(MSBuildProjectDirectory)\$(DNN_Package_Name)_$(Version)_Install.$(DNN_Package_Extension)" DestinationFolder="$(SolutionDir)dnn\build\packages\" />
+    <Copy SourceFiles="$(MSBuildProjectDirectory)\$(DNN_Package_Name)_$(Version)_Install.$(DNN_Package_Extension)" DestinationFolder="$(SolutionDir)..\dnn\build\packages\" />
 
     <!-- clean up -->
     <Delete Files="$(MSBuildProjectDirectory)\$(DNN_Package_Name)_$(Version)_Install.$(DNN_Package_Extension)" />
     <!-- Create the Source package -->    
     <Zip Files="@(OutputSource)" WorkingDirectory="$(MSBuildProjectDirectory)\Package" ZipFileName="$(DNN_Package_Name)_$(Version)_Source.$(DNN_Package_Extension)" />
     <!-- Copy the Source package to the Packages folder -->
-    <Copy SourceFiles="$(MSBuildProjectDirectory)\$(DNN_Package_Name)_$(Version)_Source.$(DNN_Package_Extension)" DestinationFolder="$(SolutionDir)dnn\build\packages\" />
+    <Copy SourceFiles="$(MSBuildProjectDirectory)\$(DNN_Package_Name)_$(Version)_Source.$(DNN_Package_Extension)" DestinationFolder="$(SolutionDir)..\dnn\build\packages\" />
 
     <!-- cleanup -->
     <Delete Files="$(MSBuildProjectDirectory)\$(DNN_Package_Name)_$(Version)_Source.$(DNN_Package_Extension)" />

File CS/ModuleName.csproj

     <DebugSymbols>true</DebugSymbols>
     <DebugType>full</DebugType>
     <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <OutputPath>$(SolutionDir)dnn\build\Debug\</OutputPath>
+    <OutputPath>$(SolutionDir)..\dnn\build\Debug\</OutputPath>
     <WarningLevel>1</WarningLevel>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
     <DefineConstants>TRACE</DefineConstants>
     <Optimize>true</Optimize>
-    <OutputPath>$(SolutionDir)dnn\build\Release\</OutputPath>
+    <OutputPath>$(SolutionDir)..\dnn\build\Release\</OutputPath>
     <DocumentationFile>$safeprojectname$.xml</DocumentationFile>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="DotNetNuke">
       <SpecificVersion>False</SpecificVersion>
-      <HintPath>$(SolutionDir)dnn\_refs\dnn\DotNetNuke.dll</HintPath>
+      <HintPath>$(SolutionDir)..\dnn\_refs\dnn\DotNetNuke.dll</HintPath>
     </Reference>
     <Reference Include="Microsoft.ApplicationBlocks.Data">
       <SpecificVersion>False</SpecificVersion>
-      <HintPath>$(SolutionDir)dnn\_refs\dnn\Microsoft.ApplicationBlocks.Data.dll</HintPath>
+      <HintPath>$(SolutionDir)..\dnn\_refs\dnn\Microsoft.ApplicationBlocks.Data.dll</HintPath>
     </Reference>
     <Reference Include="System" />
     <Reference Include="System.Core" />