dotnetコマンドのビルドで、#if-#endifのDefineConstantsを認識しない
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
「[[マイクロソフト系技術情報 Wiki>http://techinfoofmicros...
-[[戻る>MSBuild]]
* 目次 [#kb96d803]
#contents
*概要 [#x44f2c16]
Linux上の.NET Core環境でdotnetコマンドのビルドで~
条件付きコンパイルシンボル(DefineConstants)に設定した値...
*詳細 [#m6d5dcea]
-以下のConditionがLinux環境と異なるっぽい。
<PropertyGroup Condition="'$(Configuration)|$(Platform)'...
-単純にConditionを削除したら動作した。
<PropertyGroup Condition="'$(Configuration)|$(Platform)'...
<DefineConstants>TRACE;NETCORE</DefineConstants>
</PropertyGroup>
>↓ ↓ ↓
<PropertyGroup>
<DefineConstants>TRACE;NETCORE</DefineConstants>
</PropertyGroup>
*参考 [#b0cb71d4]
-DefineConstants should be considered for CoreCompile inc...
https://github.com/Microsoft/msbuild/issues/3350
-c# - How to use custom preprocessor directives in .Net C...
https://stackoverflow.com/questions/43743808/how-to-use-c...
----
Tags: [[:テスト]], [[:デバッグ]], [[:デプロイ]], [[:.NET...
終了行:
「[[マイクロソフト系技術情報 Wiki>http://techinfoofmicros...
-[[戻る>MSBuild]]
* 目次 [#kb96d803]
#contents
*概要 [#x44f2c16]
Linux上の.NET Core環境でdotnetコマンドのビルドで~
条件付きコンパイルシンボル(DefineConstants)に設定した値...
*詳細 [#m6d5dcea]
-以下のConditionがLinux環境と異なるっぽい。
<PropertyGroup Condition="'$(Configuration)|$(Platform)'...
-単純にConditionを削除したら動作した。
<PropertyGroup Condition="'$(Configuration)|$(Platform)'...
<DefineConstants>TRACE;NETCORE</DefineConstants>
</PropertyGroup>
>↓ ↓ ↓
<PropertyGroup>
<DefineConstants>TRACE;NETCORE</DefineConstants>
</PropertyGroup>
*参考 [#b0cb71d4]
-DefineConstants should be considered for CoreCompile inc...
https://github.com/Microsoft/msbuild/issues/3350
-c# - How to use custom preprocessor directives in .Net C...
https://stackoverflow.com/questions/43743808/how-to-use-c...
----
Tags: [[:テスト]], [[:デバッグ]], [[:デプロイ]], [[:.NET...
ページ名: