久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

        <tfoot id='2jjQp'></tfoot>
        <legend id='2jjQp'><style id='2jjQp'><dir id='2jjQp'><q id='2jjQp'></q></dir></style></legend>

        <small id='2jjQp'></small><noframes id='2jjQp'>

        • <bdo id='2jjQp'></bdo><ul id='2jjQp'></ul>
      1. <i id='2jjQp'><tr id='2jjQp'><dt id='2jjQp'><q id='2jjQp'><span id='2jjQp'><b id='2jjQp'><form id='2jjQp'><ins id='2jjQp'></ins><ul id='2jjQp'></ul><sub id='2jjQp'></sub></form><legend id='2jjQp'></legend><bdo id='2jjQp'><pre id='2jjQp'><center id='2jjQp'></center></pre></bdo></b><th id='2jjQp'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='2jjQp'><tfoot id='2jjQp'></tfoot><dl id='2jjQp'><fieldset id='2jjQp'></fieldset></dl></div>
      2. Visual Studio 2010 不會像應該的那樣從屬于依賴項的

        Visual Studio 2010 not autolinking static libraries from projects that are dependencies as it should be supposed to(Visual Studio 2010 不會像應該的那樣從屬于依賴項的項目中自動鏈接靜態庫) - IT屋-程序員軟件開發技

                <tbody id='Bofbj'></tbody>
              <i id='Bofbj'><tr id='Bofbj'><dt id='Bofbj'><q id='Bofbj'><span id='Bofbj'><b id='Bofbj'><form id='Bofbj'><ins id='Bofbj'></ins><ul id='Bofbj'></ul><sub id='Bofbj'></sub></form><legend id='Bofbj'></legend><bdo id='Bofbj'><pre id='Bofbj'><center id='Bofbj'></center></pre></bdo></b><th id='Bofbj'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Bofbj'><tfoot id='Bofbj'></tfoot><dl id='Bofbj'><fieldset id='Bofbj'></fieldset></dl></div>
              <tfoot id='Bofbj'></tfoot>
                <bdo id='Bofbj'></bdo><ul id='Bofbj'></ul>
                <legend id='Bofbj'><style id='Bofbj'><dir id='Bofbj'><q id='Bofbj'></q></dir></style></legend>
                1. <small id='Bofbj'></small><noframes id='Bofbj'>

                  本文介紹了Visual Studio 2010 不會像應該的那樣從屬于依賴項的項目中自動鏈接靜態庫的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..
                  • 使用 C++ 控制臺命令行項目創建新解決方案
                  • 創建一個新項目,一個 C++ 靜態庫
                  • 使命令行項目依賴于庫
                  • 確保在配置 => 鏈接器 => 常規(默認情況下)中打開鏈接庫依賴項"
                  • Visual Studio 仍不會鏈接庫.

                  我該如何解決這個問題?它適用于 Visual Studio 2008.

                  How can I fix this? It worked in Visual Studio 2008.

                  推薦答案

                  這仍然有效,但 已在 VS 2010 中更改:

                  在 VS2010 中,我們停止支持定義隱式引用的項目依賴項,我們還引入了一種在項目級別定義項目依賴項的新方法.由于項目引用和項目依賴項是接近的概念,都適用于項目,因此在項目文件中以一致的方式將它們一起表示是有意義的.正如您將在下面的片段中看到的,項目引用定義和項目依賴項定義之間的唯一區別在于定義輸出程序集包含的元數據/排除到主項目鏈接命令行中/從主項目鏈接命令行中排除.盡管我們沒有刪除項目依賴項"對話框,但我們建議通過框架和引用"對話框定義新的項目依賴項.您需要將屬性頁 UI 中的引用程序集輸出"屬性設置為 false(對于項目依賴項)和 true(對于項目引用)."

                  "With VS2010, we stopped supporting project dependencies defining implicit references and we also introduced a new way of defining project dependencies at the project level. Since a project reference and a project dependency are close concepts, both applying to a project, it made sense to have them represented together, in a consistent way, in the project file. As you will see in the snippets below, the only difference between a project reference definition and a project dependency definition consists in metadata that defines the output assembly inclusion/exclusion into/from the main project link command line. Although we did not remove the "Project Dependencies" dialog, we recommend defining new project dependencies via the "Framework and References" dialog. You need to set the "Reference Assembly Output" property in the property page UI to false for a project dependency and to true for a project reference."

                  只需在控制臺項目上右鍵,選擇屬性->通用屬性->框架和引用->添加新引用",添加靜態庫項目;還要檢查右側的鏈接庫依賴項"是否為 True.似乎適用于調試和發布版本.你每天學習新的東西.;)

                  Just right-click on the console project, select "Properties->Common Properties->Framework and References->Add New Reference" and add the static library project; also check that "Link Library Dependencies" is True on the right hand side. Seems to work for debug and release builds. You learn something new every day. ;)

                  這篇關于Visual Studio 2010 不會像應該的那樣從屬于依賴項的項目中自動鏈接靜態庫的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Why do two functions have the same address?(為什么兩個函數的地址相同?)
                  Why the initializer of std::function has to be CopyConstructible?(為什么 std::function 的初始化程序必須是可復制構造的?)
                  mixing templates with polymorphism(混合模板與多態性)
                  When should I use the keyword quot;typenamequot; when using templates(我什么時候應該使用關鍵字“typename?使用模板時)
                  Dependent name resolution amp; namespace std / Standard Library(依賴名稱解析命名空間 std/標準庫)
                  gcc can compile a variadic template while clang cannot(gcc 可以編譯可變參數模板,而 clang 不能)

                    <tfoot id='JOMK7'></tfoot>

                      <i id='JOMK7'><tr id='JOMK7'><dt id='JOMK7'><q id='JOMK7'><span id='JOMK7'><b id='JOMK7'><form id='JOMK7'><ins id='JOMK7'></ins><ul id='JOMK7'></ul><sub id='JOMK7'></sub></form><legend id='JOMK7'></legend><bdo id='JOMK7'><pre id='JOMK7'><center id='JOMK7'></center></pre></bdo></b><th id='JOMK7'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='JOMK7'><tfoot id='JOMK7'></tfoot><dl id='JOMK7'><fieldset id='JOMK7'></fieldset></dl></div>
                        <tbody id='JOMK7'></tbody>

                      <small id='JOMK7'></small><noframes id='JOMK7'>

                        <bdo id='JOMK7'></bdo><ul id='JOMK7'></ul>

                          <legend id='JOMK7'><style id='JOMK7'><dir id='JOMK7'><q id='JOMK7'></q></dir></style></legend>

                            主站蜘蛛池模板: ww亚洲ww亚在线观看 | 亚洲一区国产精品 | 久久久久久久久久久久亚洲 | 一级a爱片久久毛片 | 超碰成人免费 | 午夜激情视频在线 | 日本一区二区三区在线观看 | 国产精品不卡视频 | 日日噜噜噜夜夜爽爽狠狠视频97 | 欧美精品区 | 国产丝袜一区二区三区免费视频 | 91精品国产色综合久久不卡蜜臀 | 亚洲va欧美va天堂v国产综合 | 夜夜夜夜夜夜曰天天天 | 欧美综合视频 | 精品亚洲一区二区三区 | 欧美精品电影一区 | 国产精品久久久久久久久久三级 | 成人午夜在线 | 久久久久久国产精品免费免费 | 超碰免费在| 国产一区二区三区免费观看视频 | 国产色视频网站 | 国产精品毛片久久久久久久 | 中文字幕在线人 | 精品国产乱码久久久久久1区2区 | 久久精品国产一区二区电影 | 七七婷婷婷婷精品国产 | 国产h视频 | 中文字幕一区二区三区四区 | 国产精品久久影院 | 久久精品国产亚洲一区二区 | 欧美日韩国产综合在线 | 欧美一级二级视频 | 久久99深爱久久99精品 | 欧美日韩在线观看视频网站 | 亚洲精品乱| 免费在线观看h片 | 欧美一区二区大片 | 丝袜 亚洲 另类 欧美 综合 | 国产成人久久精品一区二区三区 |