We use subversion as source control at our company. The database is on our dev server and the code runs in visual studio.
I've build a site on my machine and committed it to the subversion.
If my collegae opens the solution from the subversion he has all the files and there are no build errors. But, the plugins look like their not installed...
The files are in the app_plugins folder but are not initiated?
Are you installing the plugins via Nuget or though the Umbraco Package Installer in the back office.
For source control purposes I find it best to install what you can via Nuget. Then if the package isn't availabe through nuget add it to a "lib" folder in the solution for source control. These packages in the "lib" folder will need to be installed manually on the other dev machines because they could be putting files in various places including the Bin directory (which you don't want to put into source control).
By taking this approach it gives you the best level of control for non-nuget packages. The packages will only need to be installed once on each developers machine (unless you update the package then it will need re-installing).
Unfortunately I've not had a chance to use Umbraco forms so I'm not certain how you access the data for it. I would start by debugging the code and stepping through to see where the data is in the object.
When you were accessing the values before, you code looked incorrect as the Equals method normally checks to see if a value is equal to what you are passing it.
What data type is Values? Is it a key value pair collection?
if so, you could try:
Ok, something changed. After deleting the project from his machine, and geting a new version from source control, Optimus(plugin) magically appeared.
We also have uCommerce installed via the Umbraco packagemanager.
It does show up in the umbraco tree, but if we click on it we get a null reference error.
umbraco plugins not working source control
Hi,
We use subversion as source control at our company. The database is on our dev server and the code runs in visual studio.
I've build a site on my machine and committed it to the subversion.
If my collegae opens the solution from the subversion he has all the files and there are no build errors. But, the plugins look like their not installed...
The files are in the app_plugins folder but are not initiated?
Thanks guys.
Have you also matched the dlls at your colleague's end. And cleared app data?
Manish
Hi Manish,
Thanks for your reply.
I've just deleted everything in his App_Data folder and then we rebuilded the solution. Still nothing.
What Dll's are the ones we should match?
Frans
Frans
Is there any dll generated at your end while installing plugin which is not at your colleague's end.
Manish
Hi Frans,
Are you installing the plugins via Nuget or though the Umbraco Package Installer in the back office.
For source control purposes I find it best to install what you can via Nuget. Then if the package isn't availabe through nuget add it to a "lib" folder in the solution for source control. These packages in the "lib" folder will need to be installed manually on the other dev machines because they could be putting files in various places including the Bin directory (which you don't want to put into source control).
By taking this approach it gives you the best level of control for non-nuget packages. The packages will only need to be installed once on each developers machine (unless you update the package then it will need re-installing).
Nik
Hi Naveed,
Unfortunately I've not had a chance to use Umbraco forms so I'm not certain how you access the data for it. I would start by debugging the code and stepping through to see where the data is in the object.
When you were accessing the values before, you code looked incorrect as the Equals method normally checks to see if a value is equal to what you are passing it.
What data type is Values? Is it a key value pair collection? if so, you could try:
for example.
Ok, something changed. After deleting the project from his machine, and geting a new version from source control, Optimus(plugin) magically appeared.
We also have uCommerce installed via the Umbraco packagemanager. It does show up in the umbraco tree, but if we click on it we get a null reference error.
We reinstalled it but it is still not ok...
Nevermind. It works. We logged out and logged back in. Than it was fixed.
Thanks for the help.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.