You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.
Sayed Ibrahim Hashimi edited this page Apr 2, 2015
·
1 revision
While developing the generators it's always good to try out your changes before checking them in. Doing so is pretty simple.
Ensure that you have removed the generators-aspnet package. To do this you can execute npm uninstall generator-aspnet. If you installed it globally then you should also add the -g option (which in some cases will require sudo).
In the generator-aspnet directory execute the command npm link. In some cases you'll have to use sudo npm link depending on configuration.
After that you should be able to try out your changes by running yo aspnet
Once you are done testing local changes then to undo the configuration above you can execute npm unlink. In many cases npm unlink will not work so you should try the following command to ensure it's gone sudo npm r generator-aspnet -g