首页 > 解决方案 > Best way to make a WPF application that will later become a library for a AutoCAD .net program

问题描述

I'm making a .net program for AutoCAD that is using a WPF window as the interface. At the moment I'm designing the WPF window as an application and then changing it to a library that I reference in to the AutoCAD .net program. I'm doing this so I can quickly check how the WPF window is working with out having to start up AutoCAD every time I want to check just the WPF application.

Doing it this way is rather tedious though as I have to repeatedly alter the WPF window project from application to library and this sometimes causes things that I previously had working in the application to no longer work in the library (such as resources).

I'm wondering if there is a better way I could approach this. Ideally I'd like to not have to reference in the WPF window and just have it as part of the AutoCAD .net program in such a way that I can easily launch just the WPF part to check it without having to start AutoCAD too.

标签: c#wpfautocadautocad-plugin

解决方案


推荐阅读