Solved

Compiling on the fly

Posted on 2011-02-17
3
288 Views
Last Modified: 2012-05-11
I am about to write my first T4 template which creates C# code. I wonder about being able to recompile objects on the fly.

XAML is interpreted, so my running Silverlight application could generate new XAML files and use them immediately.  True?

C# is compiled, so if I generated a new C# object, it's of no use until it's compiled. Does Microsoft have a command line C# compiler that's okay to distribute freely with an application?  (I would not want my users to need to install Visual Studio Express to use my program:)

Wondering...

newbieweb
0
Comment
Question by:newbieweb
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
bradypyl earned 500 total points
ID: 34919124
Well these is a command line compiler available in the .net 2.0 sdk, im not certain it would work if you seperate the csc.exe from the rest of the sdk though.

Little information of the command line c# compliler: http://msdn.microsoft.com/en-us/library/ms379563(v=vs.80).aspx
0
 

Author Closing Comment

by:newbieweb
ID: 34919394
thanks
0
 
LVL 1

Expert Comment

by:bradypyl
ID: 34921905
your welcome
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

860 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