Is there a way to build business functions outside Busbuild, i.e using the VS

sajadhav_pw

Member
I need to build business functions but visual studio is not working for unknown reasons.

Somewhere I had read about an article where you could create a make file and build the JDE bsfn completely in Visual Studio.
 
If VS is not working, how could you make it completely in VS. The real 'fix' is to fix VS.

Tom
 
Visual studio standalone is working. The jDE busbuild tool is failing to build the bsfn because it cannot find the right compiler. I know that JDE needs the correct VS version installed for that to work.
What I meant by building in visual studio completely is that, if there is way by creating a custom makefile?? and pointing it to the installed compiler as the busbuild tool creates automatically.
In past I had read about an article of creating such a make file project in VS and using the VS build functionality to link the bsfn to the CCUSTOM dll and the required objects. Unfortunately I cannot find that article.
 
Ok So I figured it out eventually. You "CAN" build a JDE BSFN directly from Visual Studio. Take one of the make files(*.MAK) that is generated in the OBJ folder. Modify it with the BSFN object name that you want to build. Replace the Library name also. example "CMFG"
Then in Visual studio create a new configuration(Custom Build). and then select MakeFile as the Buildtype. In the Nmake options in Command Line enter the value
"<PathtotheNamke.exe>" /NOLOGO /k /c /a /s /f <PathtotheMakFile>. click ok.
when you build from Visual Studio it will build similar to how BUSBUILD.exe builds the bsfn. Cheers.
 
Back
Top