C# Rules File
-
Can somebody give me the C# Compiler rules file? I'm using Visual C++ 2008 Express Edition, and I have the C# Compiler v3.5 for .NET 3.5. I want to be able to compile C# source files in my IDE. Replies and Questions are welcome
-
Not sure I understand what you want. the C# compiler is part of .NET, not Visual Studio. it could be found as C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe (the exact path depends on your .NET version). and the csc help appears when giving "csc /?" at the "DOS prompt" :)
Luc Pattyn
:badger: :jig: :badger:
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
:jig: :badger: :jig:
I know that! I copied the C# Compiler to the bin folder at Visual C++ root. What I'm talking about is about a file of extension ".rules" that contains the rules for compiling the sources files like the rules file for compiling ".asm" files
-
I know that! I copied the C# Compiler to the bin folder at Visual C++ root. What I'm talking about is about a file of extension ".rules" that contains the rules for compiling the sources files like the rules file for compiling ".asm" files
I don't have a rules file on my disk, and yet I compile C# code every day. And I wouldn't know what would be "rules" for a compiler. Also I don't see "rules" mentioned anywhere in the CSC help. Can you give some examples? :)
Luc Pattyn
:badger: :jig: :badger:
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
:jig: :badger: :jig:
-
I don't have a rules file on my disk, and yet I compile C# code every day. And I wouldn't know what would be "rules" for a compiler. Also I don't see "rules" mentioned anywhere in the CSC help. Can you give some examples? :)
Luc Pattyn
:badger: :jig: :badger:
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
:jig: :badger: :jig:
for example the Visual C++ has a file which contains the command line parameters for the Microsoft Macro Assembler. see the link below for a full description of rule files: http://msdn.microsoft.com/en-us/library/xfsbz6cw(VS.100).aspx[^]
-
for example the Visual C++ has a file which contains the command line parameters for the Microsoft Macro Assembler. see the link below for a full description of rule files: http://msdn.microsoft.com/en-us/library/xfsbz6cw(VS.100).aspx[^]
OK, that is new to me. I created my own IDE for C and C#, for C# it calls csc.exe directly, and for C it uses third-party compilers, not MS ones. That's how I never encountered rules. Looking here[^] I see rules stuff in the Visual Studio C++ branch, not in the C# branch. And I don't see much use for such rules thing in a C# environment, where code is always managed code and gets translated into IL instructions, without calling on other tools. :)
Luc Pattyn
:badger: :jig: :badger:
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
:jig: :badger: :jig:
-
OK, that is new to me. I created my own IDE for C and C#, for C# it calls csc.exe directly, and for C it uses third-party compilers, not MS ones. That's how I never encountered rules. Looking here[^] I see rules stuff in the Visual Studio C++ branch, not in the C# branch. And I don't see much use for such rules thing in a C# environment, where code is always managed code and gets translated into IL instructions, without calling on other tools. :)
Luc Pattyn
:badger: :jig: :badger:
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
:jig: :badger: :jig:
I think it's better to do a custom build step to all C# source files
-
OK, that is new to me. I created my own IDE for C and C#, for C# it calls csc.exe directly, and for C it uses third-party compilers, not MS ones. That's how I never encountered rules. Looking here[^] I see rules stuff in the Visual Studio C++ branch, not in the C# branch. And I don't see much use for such rules thing in a C# environment, where code is always managed code and gets translated into IL instructions, without calling on other tools. :)
Luc Pattyn
:badger: :jig: :badger:
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
:jig: :badger: :jig:
-
Can somebody give me the C# Compiler rules file? I'm using Visual C++ 2008 Express Edition, and I have the C# Compiler v3.5 for .NET 3.5. I want to be able to compile C# source files in my IDE. Replies and Questions are welcome
That should be included with Visual C# 2008 Express - install that, and find the files you want. I presume you want to hack it so that you can use C++ and C# projects together in a single solution, rather than having to have the two IDEs open separately?
Help me! I'm turning into a grapefruit! Buzzwords!
-
That should be included with Visual C# 2008 Express - install that, and find the files you want. I presume you want to hack it so that you can use C++ and C# projects together in a single solution, rather than having to have the two IDEs open separately?
Help me! I'm turning into a grapefruit! Buzzwords!
I'm fine for now. I've just downloaded a nice substitute of Visual C# - SharpDevelop, and I can use it to make Visual C# projects and solutions
-
Can somebody give me the C# Compiler rules file? I'm using Visual C++ 2008 Express Edition, and I have the C# Compiler v3.5 for .NET 3.5. I want to be able to compile C# source files in my IDE. Replies and Questions are welcome
I don't need anymore the C# Rules File because I have now the Visual C# 2008 Express Edition. Thanks for your help.