Solved

I need the command line compiler for C#

Posted on 2011-03-11
2
222 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

948 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now