AvaloniaVS icon indicating copy to clipboard operation
AvaloniaVS copied to clipboard

Designer takes the assembly only from Debug

Open rstm-sf opened this issue 3 years ago • 1 comments

Hello!

Designer takes the assembly only from Debug. If I choose Release, it still takes from the Debug

rstm-sf avatar Dec 19 '20 08:12 rstm-sf

I've had a quick look at this and think I've found a less than ideal workaround.

If you change the build configuration to Release, unload the project, and then reload, a call to get the TargetPath will occur. This will then ensure the design is loading from the Release directory.

I'll have a look to see how we can detect build configuration changes and then do this automagically. If I can get it resolved, then I'll submit a PR.

MikeCodesDotNET avatar Feb 14 '21 16:02 MikeCodesDotNET