Click here to Skip to main content
15,885,782 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, i have developed a c# windows form application and i have a problem deploing the solution in other computers.
PS: I must run deploy the solution in other computer that doesn't have SQL SERVER or VS installed. (It worked with other solution)

What I have tried:

I wored with Telerik and I just for each Telerik assembly reference in the Solution Explorer, on properties and in the property grid set the Copy Local property of the reference to True.
When i try to install the .exe from other copmuter i get this error :

Cannot install or run app. this app requires Telerik.WinControls assembly version 2020.2.616.20, which must first be installed in the global assambly cache
Posted
Updated 21-Jan-21 23:23pm

1 solution

You can't just copy your EXE file to a new computer and it'll work: there are other framework components you need to install properly.
Start with a deployment project: First look at deployment - Visual Studio | Microsoft Docs[^] and remember that if your project needs SQL Se3rver, then you will need to provide some way for you user to identify where his server instance is located, and add the DB to that as part of your installation before your app is usable.
 
Share this answer
 
Comments
houssem eddine ayari 22-Jan-21 5:44am    
@OriginalGriff of corse i used clickonce to publish my solution. For the second point not realy, this is my second time working with winforms and for my first app i didn't install sqlserver in the other coputer to run the app.

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