Upgrade enyimmemcached from. NET Core RC1 to RC2

Source: Internet
Author: User
Tags dotnet

The configuration in. NET Core RC1 Project.json is as follows:

{"Version": "3.2.4", "Summary": "Enyimmemcached", "frameworks": {"Dnxcore50": {}}, "Configuratio        NS ": {" Debug ": {" compilationoptions ": {" Allowunsafe ": true}}, "Release": {"compilationoptions": {"Allowunsafe": True}}, "Depe Ndencies ": {" Microsoft.Extensions.Logging.Abstractions ":" 1.0.0-* "," Newtonsoft.json ":" 8.0.3 "," Syst Em.        Linq.expressions ":" 4.0.11-* "," System.Net.Primitives ":" 4.0.11-* "," System.Net.Sockets ":" 4.1.0-* ", "System.Runtime.Serialization.Json": "4.0.1-*", "System.Runtime.Serialization.Primitives": "4.1.0-*", "Syste M.security.cryptography.algorithms ":" 4.0.0-* "," System.Threading.Timer ":" 4.0.1-* "," System.Net.NameResolut Ion ":" 4.0.0-* "," System.Console ":" 4.0.0-* "," System.IO ":" 4.0.11-* "," System.IO.FileSystem ":" 4.0.1 -* "," system.tHreading. Thread ":" 4.0.0-* "," System.Text.Encoding ":" 4.0.11-* "}}

When you upgrade to ASP. NET Core RC2, Project.json is modified to the following configuration:

{"Version": "4.0.0", "packoptions": {"Summary": "Enyimmemcachedcore"}, "Configurations": {"Debug": {"b      Uildoptions ": {" Allowunsafe ": True}}," Release ": {" buildoptions ": {" Allowunsafe ": True }}}, "Frameworks": {"netcoreapp1.0": {}}, "dependencies": {"Microsoft.Extensions.Logging.Abstracti ONS ":" 1.0.0-rc2-final "," Newtonsoft.json ":" 8.0.4-beta1 "," System.Linq.Expressions ":" 4.0.11-rc2-24027 "," Syste M.net.primitives ":" 4.0.11-rc2-24027 "," System.Net.Sockets ":" 4.1.0-rc2-24027 "," System.Runtime.Serialization.Json ":" 4.0.2-rc2-24027 "," System.Runtime.Serialization.Primitives ":" 4.1.1-rc2-24027 "," System.Security.Cryptography.Algorithms ":" 4.1.0-rc2-24027 "," System.Threading.Timer ":" 4.0.1-rc2-24027 ","     System.Net.NameResolution ":" 4.0.0-rc2-24027 "," System.Console ":" 4.0.0-rc2-24027 "," System.IO ":" 4.1.0-rc2-24027 ", "System.IO.FileSystem": "4.0.1-rc2-24027", "system.threading. Thread ":" 4.0.0-rc2-24027 "," System.Text.Encoding ":" 4.0.11-rc2-24027 "}}

The contents of the Enyim.Caching.xproj file when. NET Core RC1 are as follows:

<?XML version= "1.0" encoding= "Utf-8"?><ProjectToolsVersion= "14.0"DefaultTargets= "Build"xmlns= "http://schemas.microsoft.com/developer/msbuild/2003">  <PropertyGroup>    <visualstudioversionCondition= "' $ (visualstudioversion) ' = = '">14.0</visualstudioversion>    <VstoolspathCondition= "' $ (vstoolspath) ' = = '">$ (MSBuildExtensionsPath32) \microsoft\visualstudio\v$ (visualstudioversion)</Vstoolspath>  </PropertyGroup>  <ImportProject= "$ (vstoolspath) \dnx\microsoft.dnx.props"Condition= "' $ (vstoolspath) '! = '" />  <PropertyGroupLabel= "Globals">    <ProjectGuid>0ec50fbb-03b7-4b76-9d72-aadcb8bb3a8b</ProjectGuid>    <RootNamespace>Enyim.caching</RootNamespace>    <BaseintermediateoutputpathCondition= "' $ (baseintermediateoutputpath) ' = = '">.. \.. \artifacts\obj\$ (MSBuildProjectName)</Baseintermediateoutputpath>    <OutputPathCondition= "' $ (OutputPath) ' = = '">. \bin\</OutputPath>  </PropertyGroup>  <PropertyGroup>    <schemaversion>2.0</schemaversion>    <typescriptcompileblocked>True</typescriptcompileblocked>  </PropertyGroup>  <PropertyGroupCondition= "' $ (Configuration) |$ (Platform) ' = = ' debug| AnyCPU ' ">    <Produceoutputsonbuild>True</Produceoutputsonbuild>  </PropertyGroup>  <ImportProject= "$ (vstoolspath) \dnx\microsoft.dnx.targets"Condition= "' $ (vstoolspath) '! = '" /></Project>

When upgrading to. NET Core RC1, modify the contents of the Enyim.Caching.xproj file to:

<?XML version= "1.0" encoding= "Utf-8"?><ProjectToolsVersion= "14.0"DefaultTargets= "Build"xmlns= "http://schemas.microsoft.com/developer/msbuild/2003">  <PropertyGroup>    <visualstudioversionCondition= "' $ (visualstudioversion) ' = = '">14.0</visualstudioversion>    <VstoolspathCondition= "' $ (vstoolspath) ' = = '">$ (MSBuildExtensionsPath32) \microsoft\visualstudio\v$ (visualstudioversion)</Vstoolspath>  </PropertyGroup>   <Import  Project= "$ (vstoolspath) \dotnet\microsoft.dotnet.props"  Condition= "' $ (vstoolspath) '! = '" />   <PropertyGroupLabel= "Globals">     <projectguid>a427e18a-3ae4-4805-b70c-3b017c794dee</  ProjectGuid>     <RootNamespace>Enyim.caching</RootNamespace>    <BaseintermediateoutputpathCondition= "' $ (baseintermediateoutputpath) ' = = '">.. \.. \artifacts\obj\$ (MSBuildProjectName)</Baseintermediateoutputpath>    <OutputPathCondition= "' $ (OutputPath) ' = = '">. \bin\</OutputPath>  </PropertyGroup>  <PropertyGroup>    <schemaversion>2.0</schemaversion>    <typescriptcompileblocked>True</typescriptcompileblocked>  </PropertyGroup>  <PropertyGroupCondition= "' $ (Configuration) |$ (Platform) ' = = ' debug| AnyCPU ' ">    <Produceoutputsonbuild>True</Produceoutputsonbuild>  </PropertyGroup>   <Import  Project= "$ (vstoolspath) \dotnet.web\microsoft.dotnet.web.targets"  Condition= "' $ (vstoolspath) '! = '" /> </Project>

"RELATED LINKS"

* VS2015 compiling ASP. NET Core RC2 Project error: unknown keyword platform

* . NET Cross-platform Journey: Successfully upgraded the sample site to ASP. RC2

Upgrade enyimmemcached from. NET Core RC1 to RC2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.