Open dhaligas opened 8 years ago
Not with what is currently available in the GitHub repository. It only works from inside Xamarin Studio or MonoDevelop.
I did look at this with SharpDevelop so you could update and install NuGet packages and have PowerShell scripts run. It needed a custom build of SharpDevelop so it was not a small binary you could ship.
Another problem if you want this to run on Mac and Linux is that Pash is missing some features so some NuGet powershell scripts do not work correctly.
@mrward thanks for the quick response ... managing nuget is a pain of which your addin alleviates some pain
I want to make some other suggestions for this Powershell Extension:
Getting Enable-Migrations, Add-Migration, Update-Database and the scaffolding to work is non-trivial. I got that working in SharpDevelop but only by creating custom versions of the the corresponding NuGet packages. The official NuGet packages only work with Visual Studio.
Getting Enable-Migrations, Add-Migration, Update-Database and the scaffolding to work is non-trivial. I got that working in SharpDevelop but only by creating custom versions of the the corresponding NuGet packages. The official NuGet packages only work with Visual Studio.
@mrward Can you please explain in Wiki how to make these customizations? I want to contribute.
One problem is that EntityFramework and MvcScaffolding rely on parts of the Visual Studio object model which are implemented in SharpDevelop but not for Xamarin Studio. Both use the FileCodeModel which is something I have not implemented for Xamarin Studio. It is also made more complicated since Xamarin Studio has moved from NRefactory (Xamarin Studio 5) to Roslyn (Xamarin Studio 6).
Code first migrations with EF in SharpDevelop
MVC Scaffolding in SharpDevelop
MVC Scaffolding source for SharpDevelop
EntityFramework 5 and 6 for SharpDevelop
The work done on the above has not been updated for at least three years if not longer.
@mrward I would like to be able to manage my nuget packages Installs / Updates etc from the command line.
Is this possible using the powershell command you have built?