Overtaking Vulcan Projects into X# Projects
Posted: Thu Jun 23, 2016 7:05 am
I am working with Vulcan in VS. I have now installed the new X#-Release. So I tried to find a simple solution to overtake the projects into X#.
- First I have made a test project in X# and inserted the compiler settings as I have them in Vulcan.
- I have copied this file into the file Xsprojtemplate.txt as attached.
- I exchanged some project specific text with place holders for single values:
{VNGUID}, {VNNAME}, {VNOUTPUTPATH}
- I deleted the itemgroups and inserted a placeholder {VNITEMGRPS}
- Now with the code in XSConverter.prg I read the VNPROJ-File, read the data necessary, read the template, substitute the variables and save it as a XSPROJ-File in the same directory.
- To the item groups with the references the two DLLs VULCANRT and VULCANRTFUNCS have to be added.
- Then I made a new solution file and added the XSProj files using the same code.
Currently I am stuck with some compiler errors, but I am sure that with the next build of X# I can go on.
Arne
- First I have made a test project in X# and inserted the compiler settings as I have them in Vulcan.
- I have copied this file into the file Xsprojtemplate.txt as attached.
- I exchanged some project specific text with place holders for single values:
{VNGUID}, {VNNAME}, {VNOUTPUTPATH}
- I deleted the itemgroups and inserted a placeholder {VNITEMGRPS}
- Now with the code in XSConverter.prg I read the VNPROJ-File, read the data necessary, read the template, substitute the variables and save it as a XSPROJ-File in the same directory.
- To the item groups with the references the two DLLs VULCANRT and VULCANRTFUNCS have to be added.
- Then I made a new solution file and added the XSProj files using the same code.
Currently I am stuck with some compiler errors, but I am sure that with the next build of X# I can go on.
Arne