Solved

Compiling on the fly

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

749 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