MDriven Source code instructions
(Created page with "When acquiring source code for MDriven you will receive a zip file for a given version. This zip file is enough for building the runtime parts that will be part of your appli...")
 
No edit summary
Line 1: Line 1:
When acquiring source code for MDriven you will receive a zip file for a given version.
When subscribing to the source code license you will get access to a zip file containing all the source code to build eco and modlr.


This zip file is enough for building the runtime parts that will be part of your application.
You need to massage the delivery a bit in order to build:


In order to build it yourself a few manual steps are needed.
Create folders:


1. In file explorer filter files with .noscriptbuild in directory Eco - for found files - remove the .noscriptbuild extension in file explorer if you do not already have such a file
Start


2. In folder source\Eco\Eco.Interfaces file Configuration.cs.noscriptbuild should be renamed to Configuration.cs and replace Configuration.csexp used in project Eco.Interfaces.VS2012. Make sure Configuration.cs has build action = compile
Source


3. All projects try to sign assembly with snk key ..\..\..\ecokey.snk. This key is not distributed - you will need to create your own local key. In the directory above Source save file ecokey.snk. You can create key in project properties signing:
xternal
[[File:2018-11-05 08h53 59.png|none|thumb]]
 
Extract Source.zip into Source folder (creates ECO and Modlr)
 
Extract xternal.zip into xternal
 
In the Source:
 
remove the postfix noscriptbuild  on files that have it
 
Remove Configuration.csexp files from project Eco.Interface and replace with Configuration.cs(.noscriptbuild)
 
Make sure you set build action = compile on files you include in project
 
All projects try to sign assembly with snk key ..\..\..\ecokey.snk. This key is not distributed - you will need to create your own local key. In the directory above Source save file ecokey.snk. You can create key in project properties signing. Either remove signing per project, or create your own key[[File:2018-11-05 08h53 59.png|none|thumb]]If you remove the key – you cannot GAC the assembly and you will need to remove the build action that do the Gaccing - Source look for GacUtil in "$(ProjectDir)..\..\..\Xternal\DotNetSdk\v4.0\bin\Gacutil"- you can make sure it exists to avoid changing projects
 
Remove missing resource files from project
 
Build.
 
Find output in Start/Stage/Bin and Start/Stage/Modlr
 
3.

Revision as of 09:26, 5 November 2018

When subscribing to the source code license you will get access to a zip file containing all the source code to build eco and modlr.

You need to massage the delivery a bit in order to build:

Create folders:

Start

Source

xternal

Extract Source.zip into Source folder (creates ECO and Modlr)

Extract xternal.zip into xternal

In the Source:

remove the postfix noscriptbuild  on files that have it

Remove Configuration.csexp files from project Eco.Interface and replace with Configuration.cs(.noscriptbuild)

Make sure you set build action = compile on files you include in project

All projects try to sign assembly with snk key ..\..\..\ecokey.snk. This key is not distributed - you will need to create your own local key. In the directory above Source save file ecokey.snk. You can create key in project properties signing. Either remove signing per project, or create your own key

2018-11-05 08h53 59.png

If you remove the key – you cannot GAC the assembly and you will need to remove the build action that do the Gaccing - Source look for GacUtil in "$(ProjectDir)..\..\..\Xternal\DotNetSdk\v4.0\bin\Gacutil"- you can make sure it exists to avoid changing projects

Remove missing resource files from project

Build.

Find output in Start/Stage/Bin and Start/Stage/Modlr

3.

This page was edited 146 days ago on 12/20/2023. What links here