 |
|
 |
from where i can get compiler pls send le link
|
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Another dumb reply.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
 |
|
 |
apart from compiling i also need to profile the compiled code, is there a library that does this programatically?
|
|
|
|
 |
|
 |
Hi;
if you use Reflector to de-compile code compilation code, yu'l see the FrameWork do following actions to compile your source code "without using csc":
1- save entire source code into a temporary file.
2- execute csc to compile the source code.
3- if it asked to be compiled into memory, result file will be loaded into memory, and compiled assembly will be deleted, otherwise copy compiled assembly into file which asked.
good luck;
reza
|
|
|
|
 |
|
 |
Good job with this compiler.
-----
Note: *** Never give me an answer have anything to do with Visual Studio. I don't have this program, and it'll be that way for a long, long time. ***
|
|
|
|
 |
|
 |
consider a situation in which there are multiple projects in a solution and one project's dll(which v get after compiling it) is refrenced by other projects in that solution.All the build information of a project is present in .csproj file of that proj for compilation of project.In the situation, mentioned above,as there is dependency of all other projects on the dll of another project in the same solution,in this case there is a tag in .csproj file with the name that contains path info of refered dll.
But if a project has the reference of the dll that is not in the same solution,then in this case path of that dll is present in the tag instead of in .csproj file of that project.so now i have to ask that am i right?i mean that whether i have extracted this information rightly.if not then plz can u tell what in actual happens because this information is requred in one of my applications.thanks in advance
sam
|
|
|
|
 |
|
 |
i guess you are right, but not much sure!
long ago i hav explored this for some purpose and got the same facts! may be some other person has better idea!!
|
|
|
|
 |
|
 |
You ARE still using csc.exe, albiet indirectly.
The CSharpCodeProvider internally uses csc.exe to compile code, so this article is a bit misleading.
flaming red dingo
|
|
|
|
 |
|
 |
Try to compile windows application. All is good but all time have a Console in time window openning. Any ideas to avoid this
|
|
|
|
 |
|
 |
Did you set "winexe" instead of "exe" ?
Wizard_01
|
|
|
|
 |
|
 |
just add one statement to hide the Window
and one to exit the process
ProcessStartInfo pInfo = new ProcessStartInfo(appName.Text.ToString());
// Hide the Window.
pInfo.WindowStyle= ProcessWindowStyle.Hidden;
Process pro = new Process();
pro.StartInfo = pInfo;
// Do the job.
pro.Start();
// Exit the process from memory after finishing the job.
pro.WaitForExit();
you will see nothing
Check Processes List in TaskManager to make sure it's exist there.
dont forget to remove
Console.ReadLine() from the sample code
|
|
|
|
 |
|
 |
How can I add a Strong Name key for the generated assembly to reference?
para saaan naman ito
|
|
|
|
 |
|
 |
You must use Visual Studio overwish sn.exe tool, which is included in .NET SDK
Wizard_01
|
|
|
|
 |
|
 |
what I mean is, I'm using CodeDom to generate my classes and compile it into an assembly, the problem that I was saying before is how can I add/reference the strong name key(.snk file) for the compiled assembly to have a valid Strong Name. I was thinking before that it should be passed as a paramter in the CompilerParameters, however I found out that I can add it as a CodeSnippet using the AssemblyKeyFile attribute :
.
having a variable for the location of the .snk file...
But thanks for the reply ^_^
para saaan naman ito
|
|
|
|
 |
|
 |
Yes, so ... look in to MSDN documentation on ms-help://MS.VSCC.2003/MS.MSDNQTR.2004APR.1033/cpguide/html/cpconassigningassemblystrongname.htm - Signing an Assembly with a Strong Name.
Wizard_01
|
|
|
|
 |
|
|
 |
|
|
 |
|
 |
i am a computer science student and i was assigned by our instructor to research about compiler.. i have choosen the c# compiler to be my research topic..... would u give me some information about c# compiler? tnx
|
|
|
|
 |
|
 |
Hello all:
I hope someone cant help me, I am trying to recompile a DLL thats allready loaded to my application and when a try to delete or rewrite the file it trows and error, this is because the file is in use, so I want to now If there is a way to Unload this DLL from the references and then be abble to modify the file.
Thanks on Advance
JA
|
|
|
|
 |
|
 |
Hi
You cannot simply Unload a Dll like this, but do not be desesperate...
I've been searching for this information myselft, and I found an article pretty interesting about this.
http://www.codeproject.com/csharp/DynamicPluginManager.asp[^]
Read this. First It load dll dynamically and second use the AppDomain class to be able to re-load a modified Dll.
hope it answer your question, but don't thank me... I only refer you to the guy who did the whole job!! :P
|
|
|
|
 |
|
 |
where can i get c# compiler and editor? pls!
|
|
|
|
 |
|
 |
www.icsharpcode.net - it also does vb.net
|
|
|
|
 |
|
 |
The compiler is distributed with the .NET framework... See C:\\Microsoft.NET\Framework\\csc.exe. For a quick and dirty ASP.NET editor, try Web Matrix at http://www.asp.net/webmatrix/default.aspx?tabIndex=4&tabId=46.
|
|
|
|
 |