which file generated after compilation in C#? - file

i want to know that after compiling the file in C# which type of file is generated?

It would have to depend on the type of project. If it is a console application it will be an exe file. If there are multiple projects and one console app then the other projects will be compiled as DLL files. Obviously this doesn't include web projects.

Probably a .dll or a .exe is the answer you are looking for

Related

Deploy WinForm application generating single exe file

I need to deploy a WinForm application and I need to generate just 1 .exe file.
I tried with ClickOnce but it generates also a manifest file, so I can't use it,
and I can not use the Release folder content because there aerseveral files (eg. strings resources)
Thanks a lot!
There's a little tool called ILMerge.
With this it is possible to merge several dlls and exe into one exe.
I don't know if it is possible to integrate resource files as well, but i don't think so.
Have a look at:
ILMerge Best Practices

Convert xap to exe

Can anybody suggest a tool to convert Silverlight xap files to Windows executables? I googled and got this this link but it does not work.
Edit: The Silverlight application has been compiled without the out-of-browser switch and I want to know if there is a solution which does not require me to open the project and recompile with out-of browser mode on.
A XAP file is just a Zip file that has a different extension. You can easily use libraries like SharpLib or DotNetZip to extract the contents of it. You can also manualy change the extension of a .xap file to .zip and then extract it in a folder. When extracted, you would get all the assemblies that were bundled as part of the .xap file.
Everything is clearly explained in the following link,
Extracting Assemblies from a XAP File
This link might be of interest:
http://www.amazedsaint.com/2010/05/how-to-create-offline-installer-no.html
It describes creating an installer that installs silverlight on machines where it is not present, as well as an Out-of-browser silverlight application and start menu links. You can use this installer on machines with no internet connection and no .net runtime installed. So it offers most of the practical benefits of converting it to an exe. I followed that procedure before and found it good.

Silverlight type of file

I'm developing Silverlight application in expression blend2 and VS2008.
For that, I need to know which type of executable file it will be generated whether .exe or some other.
Silverlight was meant to be run through a web browser.
When building SL applications, the result will be a .xap file.
The .xap file is really a zip file, and includes AppManifest.xaml, compiled output assembly of the Silverlight project (.dll) and any other resource files referred by the Silverlight application.

What does XAP stand for?

What does XAP stand for? is it an acronym? I know what silverlight XAP file contains but dont know what it stands for.
Silverlight Application Package
http://www.sharpened.net/extensions/file/xap
http://forums.asp.net/t/1277554.aspx
The X doesn't mean anything. I've asked, too.
From what I can tell, they didn't want it to look too much like *.ZIP or *.SAP.
I would guess XML Application Package.
When a Silverlight Application is compiled a .xap file is created that contains the application.
A .xap file is basically a compiled Silverlight application. The file is actually a .zip file that contains all the files necessary for the application. Just rename the .xap file to have a .zip extension and then you can open it up to see its contents.
Anatomy of XAP file
Perhaps *XA*ML *P*ackage --
It means "Silverlight Application Package" and "Xact Project"
Other meanings without silverlight is http://www.acronym24.com/xap-meaning/

How to include/link C .lib files in a Delphi project

We have a .lib file with functionality that must be included in a Delphi application.
It is easy to include .obj files, but for some unknown reason, this won't work for .lib files. The help is not very helpful on this. And a google search did not help that much (most helpful was to use an other linker but I would like to avoid it if possible).
One solution could be using C++ builder to create a package, but I'm not very fond of it.
So the question is, does anybody know a way to include a C .lib file into a Delphi project (so the functionality can be used)? Or is there a way to split the .lib file into .obj files.
(By the way we use 2006.
You can use the tlib.exe tool that comes with C++Builder. If you don't have C++Builder you can download the free C++Compiler 5.5 (http://cc.codegear.com/Free.aspx?id=24778) and use the tlib.exe from it.

Resources