Small deployment?

Razor89

Newcomer
Joined
Dec 15, 2004
Messages
12
Hello, is there anyway I can install or place any .NET dlls somewhere or is
there a version of .NET that will allow me to run a .NET application even if
the end user doesn't have .NET installed?

This would be paticularly helpful when creating like autorun cds rather then
trying to code all this stuff in legacy code such as C++ or VB.

In the old VB, you could just place the needed runtimes in the same place
as the executable and it would work just fine however I haven't tried this with
.NET and besides, .NET seems by far too complicated to be able to do this.

Thanks!
 
If you are referring to the .NET framework, the user will need the .NET framework installed. There is a redistributable that you can get from Microsoft here, but you may already have it (I don't know if it is included in the SDK): http://www.microsoft.com/downloads/...e3-f589-4842-8157-034d1e7cf3a3&DisplayLang=en
If you have a deployment project, you can have this included. Go to Detected Dependencies in the solution explorer, select dotnetfxredist_x86.msm, and go to the property grid. Set exclude to False. It should then be included with the setup program. I don't have a machine that I can test this on right now, so no guarantees.

If you create a deployment project, you can use the same method to include any other dlls required. You should also, however, be able to include any of your own, non-.NetFramework, dlls in the application folder, just like VB6.
 
Back
Top