Click here to Skip to main content
15,881,413 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

I am trying set paths for my C-Fortran project via Batch file & Control File. Can anybody please help me to verify that I am putting correct path syntax in these files. Because I am getting some debug assertion error or some sort of CLR error then it is difficult for me to identify troubles so just wanted to confirm whether the path setting syntax is correct or not! if not, I can suspect something else for causing error.

My project path
---------------

c:\Users\UsrAJ\My Documents\Visual Studio 2008\Projects\mg1g1_perfo



Control File Path Setting (Filename: comcheck.ctrl)
--------------------------

MG1G1-BATCH=c:/Users/UsrAJ/My Documents/Visual Studio 2008/Projects/mg1g1_perfo/input/MGProj.Batch % ascii file has to be specified in batch file




Batch File Path Setting (Filename:MGProj.Batch)
-----------------------

Project_Name=mg1g1_perfo
Date=10/01/2013
Version=1.0.0
Source_code_Path=c:\Users\UsrAJ\My Documents\Visual Studio 2008\Projects\mg1g1_perfo\source
//#Inputs#//
GEOxFilename=GEOx.csv
GEOxFilepath=c:\Users\UsrAJ\My Documents\Visual Studio 2008\Projects\mg1g1_perfo\input


Kindly help ASAP.....
Posted
Comments
Sergey Alexandrovich Kryukov 8-Feb-13 1:43am    
This is Windows. You even use Visual Studio. Why not using MSBuild instead of this outdated and ugly approach?
—SA
Ajain A K 8-Feb-13 2:21am    
Dear SA,

Thank you very much for the reply.
Unfortunatly I must follow this outdated ugly approch, you please say anyway... what I have written the commands are correct or not? and I dont know about MSBuild
and how to use(some brief details will be helpful)
Richard MacCutchan 8-Feb-13 6:05am    
What exactly is your problem?

1 solution

Please see:
http://en.wikipedia.org/wiki/MSBuild[^],
http://msdn.microsoft.com/en-us/library/wea2sca5%28v=vs.90%29.aspx[^],
http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx[^].

If does everything: works with dependencies, performs complete or incremental build based on time stamps, allows to integrate any 3-rd party tools/utilities, in particular, through writing custom tasks using MSBuild interfaces.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900