简体   繁体   中英

How to use nuget with Visual Studio for phpproj type project

I have installed VS.php and Phalanger for developing a PHP project in Visual Studio.

I am able to debug the PHP project successfully, now I am looking for to add 'bootstrap' as a package through nuget.

By using "Manage NuGet Packages for solution" option, when I choose to install 'bootstrap' package, the VS show following mesasge.

'bootstrap' could not be installed because it is not compatible with any project in the solution. The package doesn't target any framework.

Its a phpproj; PHP project created from VS.php extension, how can i use nuget with phpproj type project.

VS.php is only PHP extension, nothing to do with Phalanger.

Phalanger comes with Phalanger Tools for Visual Studio ( https://visualstudiogallery.msdn.microsoft.com/419916fb-ec89-4f18-ba97-75cf66037797 ). It cannot co-exist with VS.php since both provide PHP Editor functionality.

Then, if you create new Phalanger Web Project, it should allow you such features as NuGet.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM