Solved

Compiling on the fly

Posted on 2011-02-17
3
285 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

760 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

20 Experts available now in Live!

Get 1:1 Help Now