我有一个托管的c ++ / CLI项目,正在VS2019中工作。当我输入该行时:
String^ TempPath = System::IO::Path::GetTempPath();
我得到标题中显示的错误。是什么在扩展我的方法调用,为什么VS2019将其“扩展”到一个不存在的方法?
Error box displayed when I hover my mouse over the GetTempPath() call
我有一个托管的c ++ / CLI项目,正在VS2019中工作。当我输入以下行时:String ^ TempPath = System :: IO :: Path :: GetTempPath();我得到标题中显示的错误。什么正在扩展我的方法...
我知道'A'的来源。我只是假定Visual Studio不会将宏应用于.NET Framework类方法。 (我错了!)