c++ - Compile c code as c# -


hi may strange question have c++ code compile c# code using visual studio 2012.

the code self compatible , compile both compilers.

what have c# compiler treat .c files .cs files , compile them c#, reason still need particular c++ file old library dont want have 2 copies of code when update something.

currently have batch file copies .c code c++ project within solution c# project within same solution , uses pre processor , compiles loose breakpoints, etc , bit of problem.

the file extension not relevant set build action compile in properties of file. syntax highlighting might have problems not compiler.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -