Hi ;
I just upgraded our Winforms solution to use .NET5. We are using VS 2019 16.9.4. Ever since the conversion to .NET5 all the build macros we use in the pre and post build events have started showing up as empty during compilation. When you look at the values in the Build Event editor they show the correct values. It is just at compile time that they show up as empty.
When i revert the code back to using .Net Framework 4.8 the macros go back to working.
Does any one know how to correct this? Has anyone else had this issue?