@krconnect To debug the VS Addin code:
Closed this issue · 4 comments
@shashisadasivan hello, i'm using visual studio 2017 with D365FO. I'm trying to run the addin but I have the error below:
@krconnect To debug the VS Addin code:
- First open VS with the VS add inproject
- Open a second VS instance and open a D365 project
- From the first instance (with the VS add in project), attach the solution to a process (Debub > Attach to process) & select devenv.exe
This will now allow you to debug the code that runs in the Add in
For the Labels:
Look for the files under the Labels directory: lAbelCreatorMainMenuAddIn.cs, LabelFactory.cs, LabelHelper.cs
Let me also know which issue you are looking at
Originally posted by @shashisadasivan in #26 (comment)
@shashisadasivan hello, i'm using visual studio 2017 with D365FO. I'm trying to run the addin but I have the error below:
@krconnect To debug the VS Addin code:
1. First open VS with the VS add inproject 2. Open a second VS instance and open a D365 project 3. From the first instance (with the VS add in project), attach the solution to a process (Debub > Attach to process) & select devenv.exe This will now allow you to debug the code that runs in the Add in
For the Labels: Look for the files under the Labels directory: lAbelCreatorMainMenuAddIn.cs, LabelFactory.cs, LabelHelper.cs
Let me also know which issue you are looking at
Originally posted by @shashisadasivan in #26 (comment)
Have you tried to compile the VS Addin application ? can you make sure the references are correct to the D365 assemblies.
On each machine the D365 Add ins are installed in a different folder name so you have to find that folder and update it first.
yes, i can compile, the dlls are generated, i can use it on d365, but i can't debug to implement the changes i need. Obter o Outlook para Androidhttps://aka.ms/AAb9ysg
…
________________________________ From: Shashi @.> Sent: Wednesday, November 10, 2021 1:08:06 AM To: shashisadasivan/SSD365VSAddIn @.> Cc: krconnect @.>; Mention @.> Subject: Re: [shashisadasivan/SSD365VSAddIn] @krconnect To debug the VS Addin code: (Issue #54) @shashisadasivanhttps://github.com/shashisadasivan hello, i'm using visual studio 2017 with D365FO. I'm trying to run the addin but I have the error below: [Capture]https://user-images.githubusercontent.com/28067580/140931071-69e2bae4-ab6c-4428-a72c-720b77c3686b.PNG @krconnecthttps://github.com/krconnect To debug the VS Addin code: 1. First open VS with the VS add inproject 2. Open a second VS instance and open a D365 project 3. From the first instance (with the VS add in project), attach the solution to a process (Debub > Attach to process) & select devenv.exe This will now allow you to debug the code that runs in the Add in For the Labels: Look for the files under the Labels directory: lAbelCreatorMainMenuAddIn.cs, LabelFactory.cs, LabelHelper.cs Let me also know which issue you are looking at Originally posted by @shashisadasivanhttps://github.com/shashisadasivan in #26 (comment)<#26 (comment)> Have you tried to compile the VS Addin application ? can you make sure the references are correct to the D365 assemblies. On each machine the D365 Add ins are installed in a different folder name so you have to find that folder and update it first. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<#54 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGWEN7E3RRMQ66QBYNCI7T3ULHV2NANCNFSM5HVHOEKA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Are you using VS 2017 ?
I havent come across this issue. Some searching is pointing to x86/x64 .
Is the Debug set to "Any CPU" ?
Yes, I am using VS2017 Professional.
I changed debugging to x86 and it worked. Thank you very much!