Solved

Compiling on the fly

Posted on 2011-02-17
3
290 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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 …

738 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