VS Code compile errors for dotnet in BC17

RodtmcleanRodtmclean Member Posts: 87
edited 2020-12-15 in NAV Three Tier
Hi,

I'm preparing a baseapp for BC17, it is all going well but I've had an issue after installing and then uninstalling NAV 2015 on my machine for an emergency. I'm now getting a handful of .dotnet compilation issues for BC17. Note, I have repaired/uninstalled/reinstalled BC17.

I'm wondering in anyone has come accross this before?

0xuyx7jswbfu.png


I'm moving to a docker development model, though I would still like to develop locally on my laptop.

Regards
Roddy

Best Answer

  • RodtmcleanRodtmclean Member Posts: 87
    Answer ✓
    Update the assembly probing paths, removed c:\windows\assembly and changed it to c:/windows/microsoft.net/assembly/. This ensure the correct mscorlib is referenced. Unsure why it stopped working before.

Answers

  • RodtmcleanRodtmclean Member Posts: 87
    An old mscorlib is being referenced, will post solution when found :)
  • RodtmcleanRodtmclean Member Posts: 87
    Answer ✓
    Update the assembly probing paths, removed c:\windows\assembly and changed it to c:/windows/microsoft.net/assembly/. This ensure the correct mscorlib is referenced. Unsure why it stopped working before.
Sign In or Register to comment.