visual studio - nuget - determine the project type before they try to install my package -


how can determine project type before try install package. wanna show them cancelation message if project type not , mvc application , cancel installation process?

do need add ps1 script file tools folder of package? if so, should write inside script?

currently seems pre-installation checks aborting install not possible. see answer david fowler here.

scott hanselman has an example on how check pre-requisites using install.ps1 script. mentions it's not possible stop installation process, "in future there pre-install or dependency check".


Comments

Popular posts from this blog

Javascript line number mapping -

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -