So I wanted to try and contribute to the Umbraco source code and did the following.
Forked the Umbraco project on Github
Cloned it using Github for Windows to my local disk
Ran the build.bat in the build-folder
Launched the umbraco.sln and hit F5 to build and debug
And now I get the "A server error occurred - This is most likely due to an error during application startup" error. I tried to delete the local folder and re-clone it (again with Github for Windows). But the same error pops up.
Im running (as administrator):
the newest version of Github for Desktop (3.3.1.0)
Visual Studio Professional 2015 (14.0.247200 Update 1)
Thanks Andy. Running the "grunt build" did the trick.
If anyone drops by this thread with the same problem and, like me, isn't familar with grunt here's a step by step:
Right click the "gruntFile.js" in the Umbraco.Web.UI.Client-project and click "Task Runner Explorer".
Then collapse the "Tasks"-node in the tree and look for "Alias Tasks" and then the "build" node. Right click the build node and click "Run". It should say "Done, without errors." when its completed it's tasks.
A server error occurred on first build
So I wanted to try and contribute to the Umbraco source code and did the following.
And now I get the "A server error occurred - This is most likely due to an error during application startup" error. I tried to delete the local folder and re-clone it (again with Github for Windows). But the same error pops up.
Im running (as administrator):
Any ideas?
Just comparing with what I do, try ignoring the build.bat file and just open the cloned solution in Visual Studio and do a rebuild.
You'll also need to run
grunt build
in theUmbraco.Web.UI.Client
folder to build the front-end.Then make sure the
Umbraco.Web.UI
project is the start-up project and run with F5 or Ctrl + F5.Oh, and check you are in
dev-v7
branch to be using the code from the latest work on version 7.Andy
Thanks Andy. Running the "grunt build" did the trick.
If anyone drops by this thread with the same problem and, like me, isn't familar with grunt here's a step by step:
Right click the "gruntFile.js" in the Umbraco.Web.UI.Client-project and click "Task Runner Explorer".
Then collapse the "Tasks"-node in the tree and look for "Alias Tasks" and then the "build" node. Right click the build node and click "Run". It should say "Done, without errors." when its completed it's tasks.
Hello
I get same error. Also i did this Right click the "gruntFile.js" in the Umbraco.Web.UI.Client-project and click "Task Runner Explorer".
but stuck here.
is working on a reply...