[FIXED] Weird 19.2 build error

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
wjstarck
Posts: 935
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

[FIXED] Weird 19.2 build error

Post by wjstarck » Mon Jul 22, 2019 4:58 pm

I keep getting the following error when I try to build my plugin solution in VS 2019

Code: Select all

3>------ Rebuild All started: Project: Anesthesia, Configuration: Release x86 ------
3>CSC : error CS0006: Metadata file '..\opendental19.1\ODR\bin\Debug\ODR.dll' could not be found
I don't know why it's looking for ODR.dll in the previous version's bin folder but I suspect that's not really the error.

Any ideas?
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

User avatar
wjstarck
Posts: 935
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: [FIXED] Weird 19.2 build error

Post by wjstarck » Mon Jul 22, 2019 5:28 pm

OK.

Seems like VS 2019 munges the .csproj file when it is renamed from a prior version (e.g. after branching). It doesn't change the paths of all the references to the new solution name paths. Probably a bug in VS. So I had to edit the anesthesia.csproj file manually.
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

Post Reply