yesterday I restructured my files and projects a bit and since I did this I have this new errormessage ” Must use PackageReference”.
I quickly found out that I have to migrate the packages.config to PackageReferences to solve this problem.
So I did the migration as shown (once with every transitive dependencies checked and once with only the Top-level dependencies).
This worked completely fine for all the projects, instead of “Microsoft.Office.Interop.Excel”. After the migration the reference is bugged and the “new” behavior is hard to explain. In general the reference exists and I can use it in the using section without any problems but, without doing anything I have tons of errors because of whatever reason…
There are several datatypes that can be resolved but the properties for “Rows” and “Cells” are not being found.
I am very curious about this, did I miss something, did the migration miss something? Or might this be a problem with that package?
I am thankful for every helpful response because I cannot carry on right now..