0

I want to deploy an app using the .Net 4.5 version but the installed version is lower. Can I deploy without having to install the framework? Can I include the dlls I need with the execution file?

Oh hi Mark
  • 153
  • 1
  • 8
  • 28

2 Answers2

0

No you cannot if you compiled with .NET 4.5 you should have that particular version installed on the target machine.

Or you can use DNX which is technically another environment and compile with that to avoid installation of .NET

Orif Khodjaev
  • 1,080
  • 1
  • 13
  • 34
0

Normally, running a .NET application without having the required referenced assemblies installed is not possible. However, there are alternative solutions, as you can see here.

Community
  • 1
  • 1
Alexei - check Codidact
  • 22,016
  • 16
  • 145
  • 164