- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, Write to ask for solutions to problems.
I'm working on a tool that works outside of a Windows Form.
I completed the implementation by ActiveX method, but because of the speed problem, pattern was re-implemented in .NET.
I confirmed that it works well with AutoCAD 2018 by implementing the following in .Net.
Here is part of the code I used.
(Sorry, I didn't know how to put the code in the box like everyone else, so I inserted it as an image)
However, problems have been reported with users of AutoCAD 2008.
The following message is said to occur.
[This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded]
I searched for this issue and found that I can lower the version of the .NET Framework in the project properties.
But I met other problems.
In Visual Studio 2019, lowering the version of the .NET Framework in the project properties to less than 4.0 causes a build error.
A warning occurs in the Microsoft.CSharp entry in the reference, and an error states that creation could not be made.
(error CS0656 Microsoft.CSHarp.RuntimeBinder.CharpArgumentInfo.Create...)
As a result, netloads fail in AutoCAD 2008 for dlls built with the 4.7.2 .NET Framework and After setting the version of the .NET Framework low, the build fails.
I would appreciate it if someone can let me know how to solve this problem.
Thanks.
Solved! Go to Solution.