We are writing our own E-COmmerce system (usercontrols) and now we are trying to build / publish the whole website but we are not able to build it if umbraco is included becaus some .cs files are missing.
You can then install your Umbraco site outside of Visual Studio, and create an "Umbraco project" project from within Visual Studio, in which you specify the URL to your Umbraco site. In the project, you can then create controls etc., and when building the project, there are some post-built copy commands that occur automatically to make sure all the necessary files are copied over to your actual Umbraco site.
This way, you do not need to include the Umbraco files in your own project.
Build whole project for profiling
Hello,
We are writing our own E-COmmerce system (usercontrols) and now we are trying to build / publish the whole website but we are not able to build it if umbraco is included becaus some .cs files are missing.
Is there any way how we can build whole project?
Thanks
Umbraco version is 4.7
Hi Dominik,
What you can do is install Visual Studio 2010 Project Template package http://our.umbraco.org/projects/developer-tools/visual-studio-2010-project-template.
You can then install your Umbraco site outside of Visual Studio, and create an "Umbraco project" project from within Visual Studio, in which you specify the URL to your Umbraco site. In the project, you can then create controls etc., and when building the project, there are some post-built copy commands that occur automatically to make sure all the necessary files are copied over to your actual Umbraco site.
This way, you do not need to include the Umbraco files in your own project.
Hope this helps.
Cheers,
Michael.
HI Michael,
I will need some umbraco functionallity inside my usercontrols for example getting dictonary items.
Will this work?
Thanks
Hi Dominik,
Normally yes, the only thing you will need to do, is add a reference in your project to the Umbraco assemblies you need.
Cheers,
Michael.
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.