Skip to content

Commit 35f1735

Browse files
committed
Updated a dependencies in sample projects
1 parent aaae5b9 commit 35f1735

File tree

4 files changed

+21
-16
lines changed

4 files changed

+21
-16
lines changed

samples/JavaScriptEngineSwitcher.Sample.AspNet4.Mvc4/JavaScriptEngineSwitcher.Sample.AspNet4.Mvc4.csproj

+17-5
Original file line numberDiff line numberDiff line change
@@ -50,22 +50,34 @@
5050
</PropertyGroup>
5151
<ItemGroup>
5252
<Reference Include="Microsoft.CSharp" />
53+
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
54+
<HintPath>..\..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
55+
</Reference>
56+
<Reference Include="Microsoft.Web.Mvc.FixedDisplayModes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
57+
<HintPath>..\..\packages\Microsoft.AspNet.Mvc.FixedDisplayModes.1.0.0\lib\net40\Microsoft.Web.Mvc.FixedDisplayModes.dll</HintPath>
58+
</Reference>
5359
<Reference Include="System" />
5460
<Reference Include="System.Core" />
5561
<Reference Include="System.Web" />
5662
<Reference Include="System.Web.Abstractions" />
57-
<Reference Include="System.Web.Routing" />
58-
<Reference Include="System.Configuration" />
63+
<Reference Include="System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
64+
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.Helpers.dll</HintPath>
65+
</Reference>
5966
<Reference Include="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
60-
<Private>True</Private>
6167
<HintPath>..\..\packages\Microsoft.AspNet.Mvc.4.0.30506.0\lib\net40\System.Web.Mvc.dll</HintPath>
6268
</Reference>
69+
<Reference Include="System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
70+
<HintPath>..\..\packages\Microsoft.AspNet.Razor.2.0.30506.0\lib\net40\System.Web.Razor.dll</HintPath>
71+
</Reference>
72+
<Reference Include="System.Web.Routing" />
73+
<Reference Include="System.Configuration" />
6374
<Reference Include="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
64-
<Private>True</Private>
6575
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.WebPages.dll</HintPath>
6676
</Reference>
77+
<Reference Include="System.Web.WebPages.Deployment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
78+
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.WebPages.Deployment.dll</HintPath>
79+
</Reference>
6780
<Reference Include="System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
68-
<Private>True</Private>
6981
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.WebPages.Razor.dll</HintPath>
7082
</Reference>
7183
</ItemGroup>

samples/JavaScriptEngineSwitcher.Sample.AspNetCore21.Mvc21/JavaScriptEngineSwitcher.Sample.AspNetCore21.Mvc21.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
<ProjectReference Include="../../src/JavaScriptEngineSwitcher.Jurassic/JavaScriptEngineSwitcher.Jurassic.csproj" />
2828
<ProjectReference Include="../../src/JavaScriptEngineSwitcher.Msie/JavaScriptEngineSwitcher.Msie.csproj" />
2929
<ProjectReference Include="../../src/JavaScriptEngineSwitcher.NiL/JavaScriptEngineSwitcher.NiL.csproj" />
30-
<ProjectReference Include="../../src/JavaScriptEngineSwitcher.Node/JavaScriptEngineSwitcher.Node.csproj" />
3130
<ProjectReference Include="../JavaScriptEngineSwitcher.Sample.Logic/JavaScriptEngineSwitcher.Sample.Logic.csproj" />
3231
<ProjectReference Include="../../src/JavaScriptEngineSwitcher.Vroom/JavaScriptEngineSwitcher.Vroom.csproj" />
3332
</ItemGroup>

samples/JavaScriptEngineSwitcher.Sample.AspNetCore21.Mvc21/Startup.cs

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using Jering.Javascript.NodeJS;
2-
using Microsoft.AspNetCore.Builder;
1+
using Microsoft.AspNetCore.Builder;
32
using Microsoft.AspNetCore.Hosting;
43
using Microsoft.AspNetCore.Http;
54
using Microsoft.AspNetCore.Mvc;
@@ -13,7 +12,6 @@
1312
using JavaScriptEngineSwitcher.Jurassic;
1413
using JavaScriptEngineSwitcher.Msie;
1514
using JavaScriptEngineSwitcher.NiL;
16-
using JavaScriptEngineSwitcher.Node;
1715
using JavaScriptEngineSwitcher.Sample.Logic.Services;
1816
using JavaScriptEngineSwitcher.Vroom;
1917

@@ -55,9 +53,6 @@ public void ConfigureServices(IServiceCollection services)
5553
{
5654
services.AddSingleton(Configuration);
5755

58-
// Add Jering Node.js service to the services container.
59-
services.AddNodeJS();
60-
6156
// Add JavaScriptEngineSwitcher services to the services container.
6257
services.AddJsEngineSwitcher(options =>
6358
options.DefaultEngineName = ChakraCoreJsEngine.EngineName
@@ -70,7 +65,6 @@ public void ConfigureServices(IServiceCollection services)
7065
options.EngineMode = JsEngineMode.ChakraIeJsRt;
7166
})
7267
.AddNiL()
73-
.AddNode(services)
7468
.AddVroom()
7569
;
7670

samples/JavaScriptEngineSwitcher.Sample.Logic/JavaScriptEngineSwitcher.Sample.Logic.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@
3535
</ItemGroup>
3636

3737
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
38-
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="3.1.21" />
38+
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="3.1.22" />
3939
</ItemGroup>
4040

4141
<ItemGroup Condition=" '$(TargetFramework)' == 'net5.0' ">
42-
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="5.0.12" />
42+
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="5.0.13" />
4343
</ItemGroup>
4444

4545
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
46-
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="6.0.0" />
46+
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="6.0.1" />
4747
</ItemGroup>
4848

4949
</Project>

0 commit comments

Comments
 (0)