When I worked with feathercowboy on this feature to support native library project, he tried with package restore when his package was missing. It worked for him because his imported .targets file only contained added properties. It didn't contain any <Target> elements. Perhaps MSBuild is happy to evaluate properties on demand after the package restore phase. I'll ask him to reply on this thread to confirm.
Hence, we need to think more about always raising build errors when build packages are missing. I don't want to raise build errors at least with the native library packages. Give me some time to talk to feathercowboy. I'll get back to this thread on Monday when I find out.
Hence, we need to think more about always raising build errors when build packages are missing. I don't want to raise build errors at least with the native library packages. Give me some time to talk to feathercowboy. I'll get back to this thread on Monday when I find out.