Solved

Compiling on the fly

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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!
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

728 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