Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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!

  • Leaders
Posted

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/details.aspx?FamilyID=262d25e3-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.

[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...