Hi,
I'm trying to modify a web control called TrvExpTransAddEdit, however I keep getting errors when I do the build, even before changing any code.
I've tried this on AX2012 CU2 and R2 CU7 and have the same issues.
What I did was, I opened visual studio 2010, then go to Web > Web Files > Web Controls > TrvExpTransAddEdit, right click and edit. After that if I try to do a build, I will get these errors:
The type or namespace name 'Portal' does not exist in the namespace 'Microsoft.Dynamics' (are you missing an assembly reference?)
The type or namespace name 'AxActionPaneControl' does not exist in the namespace 'Microsoft.Dynamics.Framework.Portal.UI.WebControls.WebParts' (are you missing an assembly reference?)
If I do it a different way, create a new VS project of type EP Web Application, and add the TrvExpTransAddEdit into the project and do a build, I will get the same errors.
If I add EP Proxy Project > EPApplicatonProxies, and do a build on the solution, I still get an error:
The type or namespace name 'AxActionPaneControl' does not exist in the namespace 'Microsoft.Dynamics.Framework.Portal.UI.WebControls.WebParts' (are you missing an assembly reference?)
If I open the reference of Microsoft.Dynamics.Framework.Portal, I can confirm that there is not UI.WebControls.WebParts.AxActionPaneControl node.
I also tried to add reference C:\Program Files\Microsoft Dynamics AX\60\VSTools\Bin\Microsoft.Dynamics.Framework.Portal.SharePoint.dll, but I still get the same error.
Anyone know the correct way of opening the web control so that I can do the build successfully?
Thanks