windows:visualstudio

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
windows:visualstudio [2021/05/27 04:38] ともやんwindows:visualstudio [2023/07/31 11:10] (現在) ともやん
行 1: 行 1:
 ~~CLOSETOC~~ ~~CLOSETOC~~
-====== Visual Studio 2019 ======+====== Visual Studio ======
 {{windows:x_japan_cosplay_8644730147_.jpg?470|Visual Cosplay 2013😅💦}}\\ {{windows:x_japan_cosplay_8644730147_.jpg?470|Visual Cosplay 2013😅💦}}\\
 **Visual Cosplay 2013😅💦**\\ **Visual Cosplay 2013😅💦**\\
行 13: 行 13:
  
 ===== Visual Studio Installer の実行 ===== ===== Visual Studio Installer の実行 =====
-ダウンロードした vs_community__1505233704.1563396169.exe を実行する。\\+ダウンロードした vs_community%%__%%1505233704.1563396169.exe を実行する。\\
 {{windows:visualstudio2019_installer_001.png?470|Visual Studio 2019 Installer 001}}\\ {{windows:visualstudio2019_installer_001.png?470|Visual Studio 2019 Installer 001}}\\
 \\ \\
行 42: 行 42:
  
 ===== Visual Studio Installer の自動化 ===== ===== Visual Studio Installer の自動化 =====
-オフラインインストール用のレイアウトを **%USERPROFILE%\Visual Studio 2019 Downloads** に作成する。\\+オフラインインストール用のレイアウトを <html><code>%USERPROFILE%\Visual Studio 2019 Downloads</code></html> に作成する。\\
 Visual C++、Python 開発環境を構築する例。\\ Visual C++、Python 開発環境を構築する例。\\
 <WRAP prewrap 100%> <WRAP prewrap 100%>
行 336: 行 336:
  
 **Vcpkg インスタンス (ディレクトリ構成)**\\ **Vcpkg インスタンス (ディレクトリ構成)**\\
-<WRAP prewrap 100% #mintbl>+<WRAP prewrap 100% mintbl>
 ^ buildtrees  | 各ライブラリの作成元となるソースのサブフォルダーが含まれている。  | ^ buildtrees  | 各ライブラリの作成元となるソースのサブフォルダーが含まれている。  |
 ^ docs  | ドキュメントと例。  | ^ docs  | ドキュメントと例。  |
行 486: 行 486:
 $ git pull $ git pull
 $ ./bootstrap-vcpkg.bat $ ./bootstrap-vcpkg.bat
 +</code>
 +</WRAP>
 +<WRAP prewrap 100% #result>
 +<code powershell>
 +Downloading https://github.com/microsoft/vcpkg-tool/releases/download/2021-05-05-9f849c4c43e50d1b16186ae76681c27b0c1be9d9/vcpkg.exe -> C:\Users\tomoyan\vcpkg\vcpkg.exe
 +Done.
 +
 +Telemetry
 +---------
 +vcpkg collects usage data in order to help us improve your experience.
 +The data collected by Microsoft is anonymous.
 +You can opt-out of telemetry by re-running the bootstrap-vcpkg script with -disableMetrics,
 +passing --disable-metrics to vcpkg on the command line,
 +or by setting the VCPKG_DISABLE_METRICS environment variable.
 +
 +Read more about vcpkg telemetry at docs/about/privacy.md
 +</code>
 +</WRAP>
 +<WRAP prewrap 100%>
 +<code powershell>
 $ ./vcpkg version $ ./vcpkg version
 </code> </code>
行 491: 行 511:
 <WRAP prewrap 100% #result> <WRAP prewrap 100% #result>
 <code powershell> <code powershell>
-Vcpkg package management program version 2020.06.15-nohash+Vcpkg package management program version 2021-05-05-9f849c4c43e50d1b16186ae76681c27b0c1be9d9
  
 See LICENSE.txt for license information. See LICENSE.txt for license information.
行 2961: 行 2981:
  
 ==== 「Please install the English language pack.」が表示される ==== ==== 「Please install the English language pack.」が表示される ====
-<WRAP prewrap 100% #mincode>+<WRAP prewrap 100% mincode>
 <code> <code>
 Warning: The following VS instances are excluded because the English language pack is unavailable. Warning: The following VS instances are excluded because the English language pack is unavailable.
行 3067: 行 3087:
 本家: [[https://www.nuget.org/|NuGet Gallery | Home]]\\ 本家: [[https://www.nuget.org/|NuGet Gallery | Home]]\\
 ソースコード: [[https://github.com/NuGet/NuGet.Client|GitHub - NuGet/NuGet.Client: Client Tools for NuGet - including Visual Studio extensions, command line tools, and msbuild support. (Open issues on https://github.com/nuget/home/issues)]]\\ ソースコード: [[https://github.com/NuGet/NuGet.Client|GitHub - NuGet/NuGet.Client: Client Tools for NuGet - including Visual Studio extensions, command line tools, and msbuild support. (Open issues on https://github.com/nuget/home/issues)]]\\
 +
 +==== インストール ====
 +[[windows:scoop|Scoop]] によるインストール。\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<b class=GRN>$</b> <b class=HIY>scoop</b> search nuget
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +Results from local buckets...
 +
 +<b class=GRN>Name                   Version Source Binaries
 +----                   ------- ------ --------</b>
 +nuget-package-explorer 6.0.64  extras
 +nuget                  6.6.1   main
 +
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<b class=GRN>$</b> <b class=HIY>scoop</b> install nuget
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +Installing 'nuget' (6.6.1) [64bit] from main bucket
 +NuGet.exe (7.0 MB) [==========================================================================================] 100%
 +Checking hash of <b class=CYN>NuGet.exe</b> ... <b class=GRN>ok.</b>
 +Linking ~\scoop\apps\nuget\current => ~\scoop\apps\nuget\6.6.1
 +Creating shim for 'NuGet'.
 +<b class=GRN>'nuget' (6.6.1) was installed successfully!</b>
 +</pre></html></WRAP>
 +</WRAP>
  
 ==== ダウンロード ==== ==== ダウンロード ====
行 3173: 行 3221:
 ==== C++ プロジェクトでリンカーの出力ファイルを変更すると MSBuild が 警告: MSB8012 を吐く ==== ==== C++ プロジェクトでリンカーの出力ファイルを変更すると MSBuild が 警告: MSB8012 を吐く ====
 プロジェクトのプロパティで **[構成プロパティ] - [リンカー] - [出力ファイル]** を **$(OutDir)$(TargetName)$(TargetExt)** 以外に変更してビルドすると **MSBuild** が警告する。\\ プロジェクトのプロパティで **[構成プロパティ] - [リンカー] - [出力ファイル]** を **$(OutDir)$(TargetName)$(TargetExt)** 以外に変更してビルドすると **MSBuild** が警告する。\\
-<WRAP prewrap 100% #mincode>+<WRAP prewrap 100% mincode>
 <code> <code>
 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(1316,5): warning MSB8012: TargetPath(...\x64\Debug\pyeverything_cpp_wrapper.pyd) が Linker の OutputFile プロパティ値 (...\x64\Debug\pyeverything.pyd) と一致しません。このため、プロジェクトが正常にビルドされない可能性があります。この問題を解決するには、$(OutDir)、$(TargetName)、および $(TargetExt) の各プロパティ値が、%(Link.OutputFile) で指定されている値と一致することを確認してください。 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(1316,5): warning MSB8012: TargetPath(...\x64\Debug\pyeverything_cpp_wrapper.pyd) が Linker の OutputFile プロパティ値 (...\x64\Debug\pyeverything.pyd) と一致しません。このため、プロジェクトが正常にビルドされない可能性があります。この問題を解決するには、$(OutDir)、$(TargetName)、および $(TargetExt) の各プロパティ値が、%(Link.OutputFile) で指定されている値と一致することを確認してください。
行 3184: 行 3232:
 ====== Visual Studio と VC++ マクロ定義 ====== ====== Visual Studio と VC++ マクロ定義 ======
 ^  表記  ^  製品名  ^  他社アプリ\\ ライブラリの表記  ^  VC++ Version  ^  _MSC_VER  ^  _MSC_FULL_VER  ^ ^  表記  ^  製品名  ^  他社アプリ\\ ライブラリの表記  ^  VC++ Version  ^  _MSC_VER  ^  _MSC_FULL_VER  ^
 +| 2019 Update 9   | Visual Studio 2019\\ Version 16.9.2  |  VC16  |  14.28  |  1928 |  192829913 |
 +| 2019 Update 8   | Visual Studio 2019\\ Version 16.8.2  |  VC16  |  14.28  |  1928 |  192829334 |
 +| 2019 Update 8   | Visual Studio 2019\\ Version 16.8.1  |  VC16  |  14.28  |  1928 |  192829333 |
 +| 2019 Update 7   | Visual Studio 2019\\ Version 16.7  |  VC16  |  14.27  |  1927 |  192729112 |
 +| 2019 Update 6   | Visual Studio 2019\\ Version 16.6.2  |  VC16  |  14.26  |  1926 |  192628806 |
 +| 2019 Update 5   | Visual Studio 2019\\ Version 16.5.1  |  VC16  |  14.25  |  1925 |  192528611 |
 | 2019 Update 4   | Visual Studio 2019\\ Version 16.3.2  |  VC16  |  14.24  |  1924 |  192428314 | | 2019 Update 4   | Visual Studio 2019\\ Version 16.3.2  |  VC16  |  14.24  |  1924 |  192428314 |
 | 2019 Update 3   | Visual Studio 2019\\ Version 16.3.2  |  VC16  |  14.23  |  1923 |  192328105 | | 2019 Update 3   | Visual Studio 2019\\ Version 16.3.2  |  VC16  |  14.23  |  1923 |  192328105 |
行 3216: 行 3270:
  
 **参考文献**\\ **参考文献**\\
-[[https://qiita.com/yumetodo/items/8c112fca0a8e6b47072d|_MSC_VERと_MSC_FULL_VERをまとめる - Qiita]]\\+[[qita>yumetodo/items/8c112fca0a8e6b47072d|_MSC_VERと_MSC_FULL_VERをまとめる - Qiita]]\\
 [[https://docs.microsoft.com/ja-jp/cpp/porting/binary-compat-2015-2017?view=vs-2019|Visual Studio 2015 と Visual Studio 2019 の間の C++ バイナリ互換性 | Microsoft Docs]]\\ [[https://docs.microsoft.com/ja-jp/cpp/porting/binary-compat-2015-2017?view=vs-2019|Visual Studio 2015 と Visual Studio 2019 の間の C++ バイナリ互換性 | Microsoft Docs]]\\
 [[https://ja.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B|Microsoft Visual C++ - Wikipedia]]\\ [[https://ja.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B|Microsoft Visual C++ - Wikipedia]]\\
行 3222: 行 3276:
 [[https://docs.microsoft.com/ja-jp/visualstudio/releases/2019/release-notes|Visual Studio 2019 バージョン リリース ノート | Microsoft Docs]]\\ [[https://docs.microsoft.com/ja-jp/visualstudio/releases/2019/release-notes|Visual Studio 2019 バージョン リリース ノート | Microsoft Docs]]\\
 [[https://www.ruche-home.net/program/cpp/msvc|プログラミング/C++/VC++のC++規格対応状況 - ルーチェ's Homepage]]\\ [[https://www.ruche-home.net/program/cpp/msvc|プログラミング/C++/VC++のC++規格対応状況 - ルーチェ's Homepage]]\\
-[[https://qiita.com/yumetodo/items/8c112fca0a8e6b47072d|_MSC_VERと_MSC_FULL_VERをまとめる - Qiita]]\\ 
  
 ====== Visual Studio 2008 ====== ====== Visual Studio 2008 ======
  • windows/visualstudio.1622057913.txt.gz
  • 最終更新: 2021/05/27 04:38
  • by ともやん