Thank you for reporting this issue.
It seems like an issue of VS2010 rather than ADR. Please refer to this article:
Please try to apply VS2010 hotfix-2066987 to resolve this issue.
Please let us know if it works.
I am experiencing similar behavior with Visual Studio 2010 Professional. I've applied the hotfix from Microsoft (2066987) and the same behavior continues. I've attached a screenshot of the VS designer right before it crashes and has to be restarted.
Any ideas would be greatly appreciated.
Thank you for your question.
Since ADR 2011 required .NET 3.5 runtime, please insure to select Target Framework as .NET Framework 3.5 for your project.
Please let me know if you have any further question.
I have the same problem with integration the ADR2011 in Visual Studio Premium via the COM component. I have checked several combinations:
- x86 or x64 machine with C# or VB .NET -> crashes in WIndows Forms Designer
- Framwork 3.5 or Framework 4.0 -> crashes in WIndows Forms Designer
- installing HotFix from MS Support KB2066987 -> same result
- installing Visual Studio SP 1 -> same result
So I didn't find a combination to integrate the ADR2011 in VS2010. Does anybody know what to to? The error is the same as described in the previous comments.
Yes I have. My solution was to use Visual Studio 2008 with .NET Framework 2, build a DLL and use this DLL in your VS2010 project. This works fine.
It seems to me, by reading the messages in this tread, which go back to over a year, that the situation with using the ADR 2012 with VS2010, has not changed.
I just started with developing an application that uses the RealDWG to create a set of drawings based on templates and change the values of attributed blocks. This part works fine. However, since that the RealDWG does not displays or prints out but it can save drawing files to the dxf format, I planned to use ADR to view and print out completed drawings.
So far I wasn’t able to use the Autodesk DWF Viewer Control with VS2010; VS2010 crushes immediately after inserting the control into a form. I then created a DLL using the VS2008, but it didn’t work. By the way, with VS2008, I have to use the .NET Framework 2.0 to make the programme works.
With no success in the above attempts, I created a line command for ADR to print out a specific file. It worked well with the DWF files but will not work with DXF files. This is unfortunate, since that the RealDWG SDK will not save DWG to DWF format.
Herbert He, the Autodesk SW Engineer, has made a comment stating that this seems to be a VS2010 issue rather than ADR. If this is so, I would like to see more specific or detailed explanation and conformation about ADR 2012 compatibilities with the VS2010, including a working sample, VB or C#.
If in the meantime if an updated ADR is available, please advice.
I am not a professional programmer, but if so many other users are reporting the same issue, I trust that it should not be ignored
Engineering & Manufacturing Systems Specialist
Access a broad range of knowledge to help get the most out of your products and services.