<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      C# 項目的依賴設置

      不同版本的C#, 其項目依賴設置有不同的寫法.

      下面內容摘自 https://fossa.com/blog/managing-dependencies-net-csproj-packagesconfig/

      .NET Framework pre-NuGet (before 2010)

      Prior to the advent of .NET Core, a project was represented by a .csproj file, and all the dependencies were represented in the same file. If you wanted to reference a third-party library, you had to find it on the web, download it, place it in a folder, and add a project reference to it in the .csproj file.

      .NET Framework with NuGet (2010 - 2016)

      A project was represented by a .csproj file but the dependencies (including NuGet package references) were kept separately in a packages.config file. Here, you could get your third-party libraries from the NuGet central public collection and transfer your project to another machine without copying the libraries — simply copy the packages.config file and do a package restore.

      Initial .NET Core (2015 - 2017)

      The first .NET Core projects created in Visual Studio 2015 were represented by an .xproj file (similar to .csproj) and the dependencies (NuGet package references) stored in a project.json file. This approach is now deprecated.

      .NET Core is born (2017 - today)

      Since Visual Studio 2017, a project has been represented by a **.csproj ** file with dependencies (NuGet package references) listed in the **PackageReference ** section of this file. For some types of projects, dependencies are still kept in that separate packages.config file.

      Disable nuget restore when build

      nuget restore 會自動解析項目配置文件的依賴項, 并在需要的時候從nuget倉庫下載依賴程序文件, 這個restore會在build/publish/run/test/new/pack時自動觸發的, 但這會拉慢編譯速度. 可以在項目根目錄增加一個 Nuget.config 文件, 在文件中禁用自動 nuget restore.

      <?xml version="1.0" encoding="utf-8"?>
      <configuration>
        <packageRestore>
          <!-- Opts out of both Automatic Package Restore and MSBuild-Integrated Package Restore -->
          <add key="enabled" value="False" />
      
          <!-- Opts out of Automatic Package Restore in Visual Studio -->
          <add key="automatic" value="False" />
        </packageRestore>
      </configuration>
      

      手動執行restore命令為:

      # restore 當前目錄中的項目
      dotnet restore
      
      #restore 指定項目
      dotnet restore ./projects/app1/app1.csproj
      
      posted @ 2024-12-25 21:44  harrychinese  閱讀(344)  評論(0)    收藏  舉報
      主站蜘蛛池模板: 中文字幕有码高清日韩| 国产91特黄特色A级毛片| 免费看成人aa片无码视频吃奶| 国产亚洲av产精品亚洲| 国产免费性感美女被插视频| 成人无码视频97免费| 人妻激情文学| 97碰碰碰免费公开在线视频| 国产中文字幕精品喷潮| 亚洲欧美综合一区二区三区| 精品 无码 国产观看| 色吊a中文字幕一二三区| 亚洲国产午夜精品理论片| 国产精品免费视频不卡| 亚洲人成电影网站 久久影视| 日本道高清一区二区三区| 国产精品无码无卡在线播放| 久久精品国产久精国产果冻传媒| 亚洲精品福利一区二区三区蜜桃| 亚洲一卡2卡3卡4卡精品| 宜春市| 国产自产对白一区| 在线播放国产精品三级网| 亚洲男人天堂2018| 午夜一区二区三区视频| 国产美女免费永久无遮挡| 亚洲成av一区二区三区| 色综合色综合综合综合综合| 性欧美vr高清极品| 含紧一点h边做边走动免费视频| 免费看婬乱a欧美大片| 玩弄放荡人妻少妇系列| 成人三级视频在线观看不卡| 斗六市| 网友自拍视频一区二区三区| 一本精品99久久精品77| 国产精品久久久久久福利69堂| 亚洲永久一区二区三区在线| 亚洲国产成人精品综合色| 欧美亚洲国产一区二区三区| 国产首页一区二区不卡|