asp.net mvc 4 - Can Orchard 1.8.x be installed on a build server that does not have Visual Studio Installed? -


I also asked this question at Concern Ford, but there is no happiness yet. So here it is again ...

Please read for some more details.

If a developer with .NET 4/4 SDK came with a command prompt (like previous SDK) I would not be asking this question.

But since the orchard has been built .net 4.5 I am creating errors using the old SDK. It seems that my only choice is to establish Visual Studio Express on Build Server

I am doing that when we speak at this point, the question is only academic, but I am still curious.

Edit is still not a pleasure. Even after installing VS 2013 Express Web, vcvarsall.bat which usually configures build environment still does not exist. So this is no longer a question of curiosity Express Edition also can not make my construction environment help.

Seth

Here's my answer ... copy and paste from the forum has gone .

This is a late reply. The bottom line is that I finally got build build server to build garden projects. I'm not sure whether this is a complete answer or not, as much as I did I should have answered. But I'm pretty sure this will work.

One more thing to note ... it is quite possible that all these steps are not required. I tried a lot of things and in the end there was no need for some steps. It can also reflect a problem on our build server ... especially the fact that I had to add registry entries manually

But here it is without details.

.NET Install Framework for Windows SDK 7.1

Install Visual Studio 2013 Express for Web Site.

Install Visual Studio 2013 build tool

Finally, even after ... this does not work until I have added the following registry keys. The file will attach but I do not know how. Save the line between the lines in a fixBuild.reg file then double click ...


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE \ SOFTWARE \ WOW6432Node \ Microsoft \ VisualStudio \ SxS \ VC7] < "FrameworkDir32" = "C: \ Windows Microsoft .NET \ Framework \"
"FrameworkDir64" = "C: \ Windows \ Microsoft.NET \ Framework64"
"11.0" = "C: \ Program Files "X.0" Program Files (x86) \ Microsoft Visual Studio 12.0 \ VC \ "


Finally, in fact To build, I created a batch file that produces.
Save the line between the rows in a doBuild.cmd file. Be sure to keep it in the root of the source download ... Then click to double ... ...


Call "C: \ Program Files (x86) \ Microsoft Visual Studio 12.0 \ Common7 \ Tools \ VsDevCmd.bat "
msbuild / t: Fastbild Orchard proj
The first line prepares your environment. Build the project using the FastBuild target in the second Orchard.proj file. You can read that file if you want to try another build target.

******* Edit - One thing I have forgotten to mention and this is the job that you have to do to work, that is, you have to edit some CSPRA files because the command line Construction fails with such errors ...

\ orchard \ src \ orchard .Web \ Modules \ CKEditor \ CKEditor.csproj (337,6): Error: Include "Placement.info" The name of the "none" element should be "content". \ Orchard \ src \ orchard.Web \ Modules \ Orchard.Tokens \ Test \ Orchard.Tokens.Tests.csproj (82,6): Error: "app.config" sh \ Orchard \ src \ Orchard.Web \ Modules \ TinyMceDeluxe \ TinyMceDeluxe.csproj (377,6): Error: To join "app.config" element name must be "Cont \ Orchard \ src \ Orchard.Web \ Modules \ Upgrade \ Upgrade \ Csproj \" (156) , 6): Error: "no" element to be included in "app.config" should be named "content." [C: \ US \ Orchard \ src \ Orchard.Web \ Themes \ Themes.csproj (280 , 6): Error: To be included in "Above \ View \ Material-Story.Detail.cshtml", the "None" element should be named Hey

It's ok to decide what the error is right. Open the csproj files and replace / replace "

In addition, some projects reference app.config files that are not present in the source You have to remove those references too, I generally remove the content node completely or the group completely.

Seth

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -