[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

I need the command line compiler for C#

Posted on 2011-03-11
2
Medium Priority
?
234 Views
Last Modified: 2012-06-27
I need to write a script that will:

1) Execute a stored procedure
2) Execute EdmGen.exe to Update the (Entity Framework) .edmx file
3) Execute a command line compiler to recompile mmy program

What scriping language would I use? Is there still such a thing as a DOS batch file? Is that the correct method?

Where do I find the path for the C# compiler in Visual Studio 2010 Professional?

Thanks,
newbieweb
0
Comment
Question by:newbieweb
2 Comments
 
LVL 23

Accepted Solution

by:
wdosanjos earned 2000 total points
ID: 35111223
I think you should use MSBuild for your Step 3.  Visual Studio uses it behind the scenes to build projects.

More here:
http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx
0
 

Author Closing Comment

by:newbieweb
ID: 35113012
Thanks!
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
There may be issues when you are trying to access Outlook or send & receive emails or due to Outlook crash which leads to corrupt or damaged PST file. To eliminate the corruption from your PST file, you need to repair the corrupt Outlook PST file. U…
Suggested Courses
Course of the Month9 days, 11 hours left to enroll

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question