Does this function work for C++/CLI? I created C++/CLI Windows Forms application and added Load event handler: private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) { }
After setting cursor on the function name "Move Implementation to Source File" is disabled. In unmanaged C++ project it works. I am working with build 1539.
using VS2005 and VA 1539 I have created a new CLR Windows Form Application, I am assuming this is the same project type as you.
double clicking on the form in the designer took me to this new function, the one you have posted here. however there is no matching cpp file in the solution.
after adding a matching cpp file, "Form1.cpp" file in my case, VA offers me Move Implementation to Source File, which works quite happily and the resulting code compiles, so I am assuming VA's actions were valid.
can you try creating a matching cpp file and making sure it is part of the solution?