Skip to content

Commit

Permalink
Removed DNN deprecated references and repackaged. Still need further …
Browse files Browse the repository at this point in the history
…testing before release.
  • Loading branch information
ChrisHammond committed Mar 28, 2024
1 parent 04c4016 commit 1f9bf51
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 46 deletions.
3 changes: 0 additions & 3 deletions BuildScripts/ModulePackage.targets
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
<Copy SourceFiles="@(PackageManifestFiles)" DestinationFolder="$(MSBuildProjectDirectory)\Package" />
<Copy SourceFiles="@(PackageTxtFiles)" DestinationFolder="$(MSBuildProjectDirectory)\Package" />

<Copy SourceFiles="$(MSBuildDnnBinPath)\DotNetNuke.Web.Deprecated.dll" DestinationFolder="$(MSBuildProjectDirectory)\Package\bin"/>

<!-- create the INSTALL RESOURCES.ZIP file -->
<Copy SourceFiles="@(InstallInclude)" DestinationFolder="$(MSBuildProjectDirectory)\ResourcesZip\%(RecursiveDir)" />
Expand Down Expand Up @@ -99,8 +98,6 @@
<Copy SourceFiles="@(SqlDataProviderFiles)" DestinationFolder="$(MSBuildProjectDirectory)\Package\%(RecursiveDir)" />
<Copy SourceFiles="@(PackageManifestFiles)" DestinationFolder="$(MSBuildProjectDirectory)\Package" />
<Copy SourceFiles="@(PackageTxtFiles)" DestinationFolder="$(MSBuildProjectDirectory)\Package" />

<Copy SourceFiles="$(MSBuildDnnBinPath)\DotNetNuke.Web.Deprecated.dll" DestinationFolder="$(MSBuildProjectDirectory)\Package\bin"/>

<!-- create the SOURCE RESOURCES.ZIP file -->
<Copy SourceFiles="@(SourceInclude)" DestinationFolder="$(MSBuildProjectDirectory)\ResourcesZip\%(RecursiveDir)" />
Expand Down
3 changes: 1 addition & 2 deletions Edit.ascx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<%@ Control Language="C#" Inherits="Christoc.Modules.dnnsimplearticle.Edit" AutoEventWireup="True"
CodeBehind="Edit.ascx.cs" %>
<%@ Register TagPrefix="dnndep" Assembly="DotNetNuke.Web.Deprecated" Namespace="DotNetNuke.Web.UI.WebControls" %>
<%@ Register TagPrefix="dnn" Assembly="DotNetNuke" Namespace="DotNetNuke.UI.WebControls" %>
<%@ Register TagPrefix="dnn" Assembly="DotNetNuke.Web" Namespace="DotNetNuke.Web.UI.WebControls" %>
<%@ Register TagPrefix="dnn" Assembly="DotNetNuke.Web.Deprecated" Namespace="DotNetNuke.Web.UI.WebControls" %>

<%@ Register TagPrefix="dnn" TagName="label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx" %>
<%@ Register TagPrefix="dnn" TagName="URL" Src="~/controls/URLControl.ascx" %>
Expand Down
2 changes: 2 additions & 0 deletions ReleaseNotes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Content CSV export in module settings, used primarily to shift to Jekyll.
Added btn btn-primary/secondary to the article list previous and next links (bootstrap)
Add ModuleSearchBase for DNN Search integration for Articles.
Fixed permalink urls for articles that don't have a permalink yet.
Removed unneccessary DNN.web.deprecated references.


<h3>v00.02.07</h3>
Added PermaLink for Articles table to control URL for articles.
Expand Down
38 changes: 16 additions & 22 deletions dnnsimplearticle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,37 +58,34 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="DotNetNuke, Version=9.10.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\DotNetNuke.Core.9.10.2\lib\net45\DotNetNuke.dll</HintPath>
<Reference Include="DotNetNuke, Version=9.11.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\DotNetNuke.Core.9.11.2\lib\net45\DotNetNuke.dll</HintPath>
</Reference>
<Reference Include="DotNetNuke.Abstractions, Version=9.11.2.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\bin\DotNetNuke.Abstractions.dll</HintPath>
</Reference>
<Reference Include="DotNetNuke.DependencyInjection, Version=9.10.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\DotNetNuke.DependencyInjection.9.10.2\lib\netstandard2.0\DotNetNuke.DependencyInjection.dll</HintPath>
<Reference Include="DotNetNuke.DependencyInjection, Version=9.11.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\DotNetNuke.DependencyInjection.9.11.2\lib\netstandard2.0\DotNetNuke.DependencyInjection.dll</HintPath>
</Reference>
<Reference Include="DotNetNuke.Instrumentation, Version=9.10.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\DotNetNuke.Instrumentation.9.10.2\lib\net45\DotNetNuke.Instrumentation.dll</HintPath>
<Reference Include="DotNetNuke.Instrumentation, Version=9.11.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\DotNetNuke.Instrumentation.9.11.2\lib\net45\DotNetNuke.Instrumentation.dll</HintPath>
</Reference>
<Reference Include="DotNetNuke.log4net, Version=3.0.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\DotNetNuke.Instrumentation.9.10.2\lib\net45\DotNetNuke.log4net.dll</HintPath>
<Reference Include="DotNetNuke.log4net, Version=3.0.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\DotNetNuke.Instrumentation.9.11.2\lib\net45\DotNetNuke.log4net.dll</HintPath>
</Reference>
<Reference Include="DotNetNuke.Web, Version=9.10.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\DotNetNuke.Web.9.10.2\lib\net45\DotNetNuke.Web.dll</HintPath>
<Reference Include="DotNetNuke.Web, Version=9.11.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\DotNetNuke.Web.9.11.2\lib\net45\DotNetNuke.Web.dll</HintPath>
</Reference>
<Reference Include="DotNetNuke.Web.Client, Version=9.11.2.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\bin\DotNetNuke.Web.Client.dll</HintPath>
</Reference>
<Reference Include="DotNetNuke.Web.Deprecated, Version=9.10.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\DotNetNuke.Web.Deprecated.9.10.2\lib\net45\DotNetNuke.Web.Deprecated.dll</HintPath>
</Reference>
<Reference Include="DotNetNuke.WebUtility, Version=4.2.1.783, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\DotNetNuke.Web.9.10.2\lib\net45\DotNetNuke.WebUtility.dll</HintPath>
<HintPath>packages\DotNetNuke.Web.9.11.2\lib\net45\DotNetNuke.WebUtility.dll</HintPath>
</Reference>
<Reference Include="Microsoft.ApplicationBlocks.Data, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\DotNetNuke.Core.9.10.2\lib\net45\Microsoft.ApplicationBlocks.Data.dll</HintPath>
<HintPath>packages\DotNetNuke.Core.9.11.2\lib\net45\Microsoft.ApplicationBlocks.Data.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.DependencyInjection, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>packages\Microsoft.Extensions.DependencyInjection.2.1.1\lib\net461\Microsoft.Extensions.DependencyInjection.dll</HintPath>
Expand All @@ -106,13 +103,13 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\bin\System.Net.Http.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http.Formatting, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>packages\Microsoft.AspNet.WebApi.Client.5.2.7\lib\net45\System.Net.Http.Formatting.dll</HintPath>
<Reference Include="System.Net.Http.Formatting, Version=5.2.9.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>packages\Microsoft.AspNet.WebApi.Client.5.2.9\lib\net45\System.Net.Http.Formatting.dll</HintPath>
</Reference>
<Reference Include="System.Web" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Web.Http, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>packages\Microsoft.AspNet.WebApi.Core.5.2.7\lib\net45\System.Web.Http.dll</HintPath>
<Reference Include="System.Web.Http, Version=5.2.9.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>packages\Microsoft.AspNet.WebApi.Core.5.2.9\lib\net45\System.Web.Http.dll</HintPath>
</Reference>
<Reference Include="System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>packages\Microsoft.AspNet.Razor.3.2.9\lib\net45\System.Web.Razor.dll</HintPath>
Expand All @@ -122,9 +119,6 @@
<Reference Include="System.Configuration" />
<Reference Include="System.Web.Services" />
<Reference Include="System.Xml.Linq" />
<Reference Include="Telerik.Web.UI, Version=2013.2.717.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL">
<HintPath>packages\DotNetNuke.Web.Deprecated.9.10.2\lib\net45\Telerik.Web.UI.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Import Include="DotNetNuke" />
Expand Down
3 changes: 0 additions & 3 deletions dnnsimplearticle.dnn
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@
<assembly>
<name>dnnsimplearticle.dll</name>
</assembly>
<assembly>
<name>DotNetNuke.Web.Deprecated.dll</name>
</assembly>

</assemblies>
</component>
Expand Down
Binary file modified install/DNNSimpleArticle_00.02.08_Install.zip
Binary file not shown.
Binary file modified install/DNNSimpleArticle_00.02.08_Source.zip
Binary file not shown.
Binary file modified obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
Binary file not shown.
13 changes: 6 additions & 7 deletions packages.config
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="DotNetNuke.Core" version="9.10.2" targetFramework="net472" />
<package id="DotNetNuke.DependencyInjection" version="9.10.2" targetFramework="net472" />
<package id="DotNetNuke.Instrumentation" version="9.10.2" targetFramework="net472" />
<package id="DotNetNuke.Web" version="9.10.2" targetFramework="net472" />
<package id="DotNetNuke.Web.Deprecated" version="9.10.2" targetFramework="net472" />
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.7" targetFramework="net472" />
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.7" targetFramework="net472" />
<package id="DotNetNuke.Core" version="9.11.2" targetFramework="net472" />
<package id="DotNetNuke.DependencyInjection" version="9.11.2" targetFramework="net472" />
<package id="DotNetNuke.Instrumentation" version="9.11.2" targetFramework="net472" />
<package id="DotNetNuke.Web" version="9.11.2" targetFramework="net472" />
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.9" targetFramework="net472" />
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.9" targetFramework="net472" />
<package id="Microsoft.Extensions.DependencyInjection" version="2.1.1" targetFramework="net472" />
<package id="Microsoft.Extensions.DependencyInjection.Abstractions" version="2.1.1" targetFramework="net472" />
<package id="MSBuildTasks" version="1.5.0.235" targetFramework="net472" developmentDependency="true" />
Expand Down
18 changes: 9 additions & 9 deletions web.config
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<remove name="OPTIONSVerbHandler" />
<remove name="TRACEVerbHandler" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
</system.webServer>

<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
Expand All @@ -16,4 +9,11 @@
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
<system.webServer>
<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<remove name="OPTIONSVerbHandler" />
<remove name="TRACEVerbHandler" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
</system.webServer></configuration>

0 comments on commit 1f9bf51

Please sign in to comment.