-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please clarify instructions to debug code generation #504
Comments
Hello, We will also have a look at the instructions, in order to clarify them. |
Sometimes it is enough to replace the files in the bin folder of the web projects, but is more reliable to replace the files in the nuget folder. Or remove the nuget and add explicit references to locally compiled files. But I would definitely recommend to try the latest versions, there is no intention to make fixes to 4.6.x versions. |
Thanks, I'll give it another try. |
Good news: I was able to debug the code generation and I found the problem: a missing config file referenced by our app.config. To pinpoint the problem I wrote a simple logger proxy that wrapped the injected ILoggingService. I found the error via a breakpoint in the LogError method and then following the stack trace. |
Hello,
We are using an older version of OpenRiaServices (4.6.3). The code generation has been working correctly on my computer for months, but recently it alwas fails with the dreaded error "Exception has been thrown by the target of an invocation". The error is normally not caused by changes in our code as 3 of my colleagues don't have this error. One other has though.
As we don't have any idea of the cause I'm afraid we don't have any other solution then try to debug the code generation?
I've tried to follow the instructions (https://github.com/OpenRIAServices/OpenRiaServices/wiki/Debugging-Open-Ria-Code-generation-source) but no breakpoints are hit.
Probably we did not correctly perform step 2:
This instruction doesn't clearly state to which destination you have to copy these files?
Could you please add this info?
Thanks in advance.
Best regards,
Johan
The text was updated successfully, but these errors were encountered: