Click here to Skip to main content
15,888,329 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
what is
C#
.Net Framework Redistributable Package

how to use ?
i have created a .exe file in .net framework 2012.this .exe file is running on my machine very well.
but now i want to run same exe on my others machines.so it is possible to install .net framework and sql server2012 each and every machine for use that exe file.
or is there any why to run my exe file without installing .net framework.
when i was searching ansouwer about it so i found something about the
C#
.Net Framework Redistributable Package

please tell me how i can solve my problem in simplist way ?

What I have tried:

i have installed complete .net framework on each and every machine . but now my machine is getting slow
Posted
Updated 14-Mar-16 9:50am

1 solution

If you want to run a .NET exe, then pretty much you have to install the .NET framework or use something like .NET Native: https://msdn.microsoft.com/en-us/vstudio/dn642499.aspx?f=255&MSPPError=-2147217396[^]
Compiling Apps with .NET Native[^]
I haven't tried it, but in theory it works. How well? No idea...and you'll need VS2015 (which is it's own set of problems :laugh: )

SQL server is another matter.
You should not include SQL Server in your installation. There are a couple of reasons:
0) You can only distribute SQL Server Express for copyright reasons - not SQL Server full version.
1) They may already have SQL Server installed on the network. If so, then they will presumably want to use that version.
2) If they do have SQL server installed and you start proliferating SQL server Express instances, you are going to annoy the heck out of the database administrator...
3) A single site installation of SQl Server is a lot more likely to be backed up than a number of scattered version under user control.
4) Sql server is quite complex for a "normal" user to install and administer - it is not a good idea!
5) It will destroy the primary advantage of using Sql Server over SqlCE or SQLite - multiuser access. If everyone installs their own copy of SQL server, then you will have multiple copies of your database, each used by a single person. This will cause some confusion, and (depending on how you wrote the original database) may take some considerable effort to combine into a single instance when the problem is realized.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900