You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
5.1 KiB
JavaScript
1 line
5.1 KiB
JavaScript
"use strict";(self.webpackChunkfurion=self.webpackChunkfurion||[]).push([[4415],{2635:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>c,default:()=>p,frontMatter:()=>s,metadata:()=>i,toc:()=>a});var o=t(5893),r=t(1151),d=t(4996);const s={id:"net6-to-net7",title:"2.10 .NET6 \u5347\u7ea7 .NET7",sidebar_label:"2.10 .NET6 \u5347\u7ea7 .NET7",description:"\u4e86\u89e3\u5982\u4f55\u4ece .NET6 \u5347\u7ea7\u5230 .NET7"},c=void 0,i={id:"net6-to-net7",title:"2.10 .NET6 \u5347\u7ea7 .NET7",description:"\u4e86\u89e3\u5982\u4f55\u4ece .NET6 \u5347\u7ea7\u5230 .NET7",source:"@site/docs/net6-to-net7.mdx",sourceDirName:".",slug:"/net6-to-net7",permalink:"/docs/net6-to-net7",draft:!1,unlisted:!1,editUrl:"https://gitee.com/dotnetchina/Furion/tree/v4/handbook/docs/net6-to-net7.mdx",tags:[],version:"current",lastUpdatedBy:"\u767e\u5c0f\u50e7",lastUpdatedAt:1700811349,formattedLastUpdatedAt:"Nov 24, 2023",frontMatter:{id:"net6-to-net7",title:"2.10 .NET6 \u5347\u7ea7 .NET7",sidebar_label:"2.10 .NET6 \u5347\u7ea7 .NET7",description:"\u4e86\u89e3\u5982\u4f55\u4ece .NET6 \u5347\u7ea7\u5230 .NET7"},sidebar:"docs",previous:{title:"2.9 .NET5 \u5347\u7ea7 .NET6",permalink:"/docs/net5-to-net6"},next:{title:"2.11 .NET7 \u5347\u7ea7 .NET8 \u2728",permalink:"/docs/net7-to-net8"}},l={},a=[{value:"2.10.1 \u5347\u7ea7\u6ce8\u610f\u4e8b\u9879",id:"2101-\u5347\u7ea7\u6ce8\u610f\u4e8b\u9879",level:2},{value:"2.10.1.1 \u5b89\u88c5 <code>.NET7 SDK</code>",id:"21011-\u5b89\u88c5-net7-sdk",level:3},{value:"2.10.1.2 \u7f16\u8f91 <code>.csproj</code> \u6587\u4ef6",id:"21012-\u7f16\u8f91-csproj-\u6587\u4ef6",level:3},{value:"2.10.1.3 \u5347\u7ea7 <code>NuGet</code> \u5305",id:"21013-\u5347\u7ea7-nuget-\u5305",level:3},{value:"2.10.1.4 \u91cd\u65b0\u7f16\u8bd1\u6574\u4e2a\u89e3\u51b3\u65b9\u6848",id:"21014-\u91cd\u65b0\u7f16\u8bd1\u6574\u4e2a\u89e3\u51b3\u65b9\u6848",level:3}];function h(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",p:"p",strong:"strong",...(0,r.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.admonition,{title:".NET7 \u53d1\u5e03",type:"caution",children:(0,o.jsx)(n.p,{children:(0,o.jsx)(n.strong,{children:"\ud83d\ude80\ud83c\udf89\ud83d\udd25 2022 \u5e74 11 \u6708 08 \u65e5\uff0c\u5fae\u8f6f\u53d1\u5e03\u4e86 .NET7 \u9996\u4e2a\u6b63\u5f0f\u7248\u3002"})})}),"\n",(0,o.jsx)(n.h2,{id:"2101-\u5347\u7ea7\u6ce8\u610f\u4e8b\u9879",children:"2.10.1 \u5347\u7ea7\u6ce8\u610f\u4e8b\u9879"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsxs)(n.strong,{children:["\u76ee\u524d\u4f7f\u7528 ",(0,o.jsx)(n.code,{children:"Furion"})," \u6240\u6709\u7248\u672c\uff080.x-3.x\uff09\u7684\u7528\u6237\u5747\u53ef\u4ee5\u5feb\u901f\u65e0\u7f1d\u5347\u7ea7\u81f3 ",(0,o.jsx)(n.code,{children:"Furion v4.x"})," \u7248\u672c\uff0c\u53ea\u9700\u8981\u505a\u5c11\u91cf\u66f4\u6539\u5373\u53ef\u3002"]})}),"\n",(0,o.jsxs)(n.h3,{id:"21011-\u5b89\u88c5-net7-sdk",children:["2.10.1.1 \u5b89\u88c5 ",(0,o.jsx)(n.code,{children:".NET7 SDK"})]}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.a,{href:"https://dotnet.microsoft.com/download/dotnet/7.0",children:"https://dotnet.microsoft.com/download/dotnet/7.0"})}),"\n",(0,o.jsxs)(n.h3,{id:"21012-\u7f16\u8f91-csproj-\u6587\u4ef6",children:["2.10.1.2 \u7f16\u8f91 ",(0,o.jsx)(n.code,{children:".csproj"})," \u6587\u4ef6"]}),"\n",(0,o.jsxs)(n.p,{children:["\u7f16\u8f91\u89e3\u51b3\u65b9\u6848\u6240\u6709\u9879\u76ee\u7684 ",(0,o.jsx)(n.code,{children:".csproj"})," \u6587\u4ef6\uff0c\u5e76\u66ff\u6362 ",(0,o.jsx)(n.code,{children:"<TargetFramework>net6.0</TargetFramework>"})," \u4e3a ",(0,o.jsx)(n.code,{children:"<TargetFramework>net7.0</TargetFramework>"}),"\uff0c\u5982\uff1a"]}),"\n",(0,o.jsx)("img",{src:(0,d.Z)("img/net73.png")}),"\n",(0,o.jsxs)(n.p,{children:["\u5f53\u7136\u4e5f\u53ef\u4ee5\u4f7f\u7528 ",(0,o.jsx)(n.code,{children:"Ctrl + F"})," \u5168\u5c40\u66ff\u6362"]}),"\n",(0,o.jsx)("img",{src:(0,d.Z)("img/net74.png")}),"\n",(0,o.jsxs)(n.h3,{id:"21013-\u5347\u7ea7-nuget-\u5305",children:["2.10.1.3 \u5347\u7ea7 ",(0,o.jsx)(n.code,{children:"NuGet"})," \u5305"]}),"\n",(0,o.jsxs)(n.p,{children:["\u5c06 ",(0,o.jsx)(n.code,{children:"Furion"})," \u6240\u6709\u5305\u5347\u7ea7\u81f3 ",(0,o.jsx)(n.code,{children:"v4.9.1.7"})," \u7248\u672c\uff0c\u540c\u65f6 ",(0,o.jsx)(n.code,{children:"Microsoft"})," \u6240\u6709\u5305\u5347\u7ea7\u81f3 ",(0,o.jsx)(n.code,{children:"v7.0.14"})," \u7248\u672c\uff0c\u5982\uff1a"]}),"\n",(0,o.jsx)("img",{src:(0,d.Z)("img/net75.png")}),"\n",(0,o.jsx)(n.h3,{id:"21014-\u91cd\u65b0\u7f16\u8bd1\u6574\u4e2a\u89e3\u51b3\u65b9\u6848",children:"2.10.1.4 \u91cd\u65b0\u7f16\u8bd1\u6574\u4e2a\u89e3\u51b3\u65b9\u6848"}),"\n",(0,o.jsx)(n.p,{children:"\u5347\u7ea7\u5b8c\u6210\uff01\uff01\uff01"})]})}function p(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>s});var o=t(7294);const r={},d=o.createContext(r);function s(e){const n=o.useContext(d);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),o.createElement(d.Provider,{value:n},e.children)}}}]); |