Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions OptimizelySDK.DemoApp/OptimizelySDK.DemoApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>OptimizelySDK.DemoApp</RootNamespace>
<AssemblyName>OptimizelySDK.DemoApp</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<MvcBuildViews>false</MvcBuildViews>
<UseIISExpress>true</UseIISExpress>
<IISExpressSSLPort />
Expand Down Expand Up @@ -52,8 +52,8 @@
<HintPath>..\packages\Antlr.3.4.1.9004\lib\Antlr3.Runtime.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="log4net, Version=2.0.13.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.13\lib\net45\log4net.dll</HintPath>
<Reference Include="log4net, Version=3.3.0.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.3.3.0\lib\net462\log4net.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll</HintPath>
Expand Down
2 changes: 1 addition & 1 deletion OptimizelySDK.DemoApp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ Finally, the "Messages" page lists the logs generated by Optimizely SDK in chron

This demo app is not part of the published SDK package. It contains third-party libraries copied into `Scripts` (jQuery, jQuery Validation, Bootstrap, Modernizr, Respond.js). Security scanners report findings in them, such as `innerHTML` or non-literal regular expressions. These are the libraries' own code, run only in this demo app, and are not changed here. To update a library, update its package in `packages.config` and replace the files in `Scripts`.

`log4net` stays at 2.0.13. The advisory for versions before 3.3.0 is about `XmlLayout`, and this app only uses `PatternLayout` (see `Log4Net.config`). The fixed log4net 3.x needs .NET Framework 4.6.2 or newer, and this app targets 4.5.
The app targets .NET Framework 4.6.2, the lowest version that the current `log4net` 3.x supports.
4 changes: 2 additions & 2 deletions OptimizelySDK.DemoApp/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
</system.Web>
-->
<system.web>
<compilation debug="true" targetFramework="4.5">
<compilation debug="true" targetFramework="4.6.2">
<assemblies>
<add assembly="System.Net.Http.WebRequest, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</assemblies>
</compilation>
<httpRuntime targetFramework="4.5" />
<httpRuntime targetFramework="4.6.2" />
</system.web>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
Expand Down
2 changes: 1 addition & 1 deletion OptimizelySDK.DemoApp/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<package id="bootstrap" version="5.3.0" targetFramework="net45" />
<package id="jQuery" version="3.7.0" targetFramework="net45" />
<package id="jQuery.Validation" version="1.21.0" targetFramework="net45" />
<package id="log4net" version="2.0.13" targetFramework="net45" />
<package id="log4net" version="3.3.0" targetFramework="net462" />
<package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.Web.Optimization" version="1.1.3" targetFramework="net45" />
Expand Down
Loading