i coding c# winforms application user can create , run own dynamic scripts using csharpcodeprovider class.
i have working simple code (as string), , multiple class files (external files), yet not sure on how load whole c# project , compile , invoke code.
i have done research , cannot find required information, such tutorial or example code.
i using winforms application, simple form , button example of c# project compile , invoke.
can please tell me source files need add whole c# project compiling , invoking correclty? need include .resx .designer.cs files? also, there specific referenced assemblies need add?
a csharp project file msbuild build script.
if allowing users create own macros or scripts extensions product, shouldn't worry using .csproj file. doing fine purpose.
if want go beyond macros , scripts, , allow users create , share plugins dlls, should give them template project , advise them use visual studio community edition create dlls.
Comments
Post a Comment