Skip to content

Commit c72fbc0

Browse files
committed
Install Cors package in Website project
1 parent 69c255c commit c72fbc0

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

samples/Website/Web.config.template

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@
354354
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
355355
<dependentAssembly>
356356
<assemblyIdentity name="System.Web.Cors" publicKeyToken="31BF3856AD364E35" culture="neutral" />
357-
<bindingRedirect oldVersion="0.0.0.0-5.2.6.0" newVersion="5.2.6.0" />
357+
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
358358
</dependentAssembly>
359359
<dependentAssembly>
360360
<assemblyIdentity name="System.Threading" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
@@ -678,6 +678,10 @@
678678
<assemblyIdentity name="Microsoft.AspNet.SignalR.Core" publicKeyToken="31bf3856ad364e35" culture="neutral" />
679679
<bindingRedirect oldVersion="0.0.0.0-2.2.3.0" newVersion="2.2.3.0" />
680680
</dependentAssembly>
681+
<dependentAssembly>
682+
<assemblyIdentity name="System.Web.Cors" publicKeyToken="31bf3856ad364e35" culture="neutral" />
683+
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
684+
</dependentAssembly>
681685
</assemblyBinding>
682686
</runtime>
683687

samples/Website/Website.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@
121121
<Reference Include="Microsoft.Owin, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
122122
<HintPath>..\..\packages\Microsoft.Owin.3.1.0\lib\net45\Microsoft.Owin.dll</HintPath>
123123
</Reference>
124+
<Reference Include="Microsoft.Owin.Cors, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
125+
<HintPath>..\..\packages\Microsoft.Owin.Cors.3.1.0\lib\net45\Microsoft.Owin.Cors.dll</HintPath>
126+
</Reference>
124127
<Reference Include="Microsoft.Owin.Host.SystemWeb, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
125128
<HintPath>..\..\packages\Microsoft.Owin.Host.SystemWeb.3.1.0\lib\net45\Microsoft.Owin.Host.SystemWeb.dll</HintPath>
126129
</Reference>
@@ -262,6 +265,9 @@
262265
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
263266
<HintPath>..\..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll</HintPath>
264267
</Reference>
268+
<Reference Include="System.Web.Cors, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
269+
<HintPath>..\..\packages\Microsoft.AspNet.Cors.5.2.3\lib\net45\System.Web.Cors.dll</HintPath>
270+
</Reference>
265271
<Reference Include="System.Web.DynamicData" />
266272
<Reference Include="System.Web.Entity" />
267273
<Reference Include="System.Web.ApplicationServices" />

samples/Website/packages.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<package id="Log4Net.Async" version="2.0.4" targetFramework="net462" />
1313
<package id="Lucene.Net" version="2.9.4.1" targetFramework="net462" />
1414
<package id="Markdown" version="1.14.7" targetFramework="net462" />
15+
<package id="Microsoft.AspNet.Cors" version="5.2.3" targetFramework="net462" />
1516
<package id="Microsoft.AspNet.Identity.Core" version="2.2.1" targetFramework="net462" />
1617
<package id="Microsoft.AspNet.Identity.Owin" version="2.2.1" targetFramework="net462" />
1718
<package id="Microsoft.AspNet.Mvc" version="5.2.6" targetFramework="net462" />
@@ -29,6 +30,7 @@
2930
<package id="Microsoft.IO.RecyclableMemoryStream" version="1.2.2" targetFramework="net462" />
3031
<package id="Microsoft.Net.Compilers" version="2.8.2" targetFramework="net462" developmentDependency="true" />
3132
<package id="Microsoft.Owin" version="3.1.0" targetFramework="net462" />
33+
<package id="Microsoft.Owin.Cors" version="3.1.0" targetFramework="net462" />
3234
<package id="Microsoft.Owin.Host.SystemWeb" version="3.1.0" targetFramework="net462" />
3335
<package id="Microsoft.Owin.Security" version="3.1.0" targetFramework="net462" />
3436
<package id="Microsoft.Owin.Security.Cookies" version="3.1.0" targetFramework="net462" />

0 commit comments

Comments
 (0)