diff --git a/nuget/Microsoft.Windows.CppWinRT.targets b/nuget/Microsoft.Windows.CppWinRT.targets index d13295acc..2e5e26178 100644 --- a/nuget/Microsoft.Windows.CppWinRT.targets +++ b/nuget/Microsoft.Windows.CppWinRT.targets @@ -828,7 +828,8 @@ $(XamlMetaDataProviderPch) - %(AdditionalOptions) /bigobj /await + %(AdditionalOptions) /bigobj + %(AdditionalOptions) /await %(AdditionalIncludeDirectories);$(GeneratedFilesDir) diff --git a/nuget/readme.md b/nuget/readme.md index 7dfd928b7..4a33b8eb6 100644 --- a/nuget/readme.md +++ b/nuget/readme.md @@ -36,7 +36,7 @@ It sets the following project properties and item metadata: | XamlLanguage | CppWinRT | Directs the Xaml compiler to generate C++/WinRT code | | ClCompile.CompileAsWinRT | *false | Enables ISO C++ compilation (disables C++/CX) | | ClCompile.LanguageStandard | *stdcpp17 | Enables C++17 language features | -| ClCompile.AdditionalOptions | /bigobj /await | Enables support for large object files and coroutines | +| ClCompile.AdditionalOptions | /bigobj | Enables support for large object files | | ClCompile.AdditionalIncludeDirectories | GeneratedFilesDir | Adds $(GeneratedFilesDir) to the C++ include dirs | | Link.AdditionalDependencies | WindowsApp.lib | Umbrella library for Windows Runtime imports | | Midl.AdditionalOptions | /reference ... | Enables faster compilation with winmd references (versus idl imports) |