Click here to Skip to main content
15,903,724 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I have a system which i can't install visual studios. But i want to use the application on the system which don't have visual studios

What I have tried:

I compressed application in zip file and opened on the other system which don't have visual studios its showing exception
Posted
Updated 25-Jul-19 21:51pm
Comments
#realJSOP 25-Jul-19 10:15am    
It's impossible to help you. We don't know what kind of app, or what "showing exception" means.
Member 14519564 25-Jul-19 13:37pm    
Sorry its not exception message. its showing "cannot download application it is missing required files."
Member 14519564 25-Jul-19 10:18am    
I created windows form application, i means i couldn't use that app which don't have visual studios
Dave Kreskowiak 25-Jul-19 10:24am    
What is the exception message that is shown!?

The machine that's going to run your app must have the version of the .NET Framework you wrote your app against installed on it.
Member 14519564 25-Jul-19 13:36pm    
Sorry its not exception message. its showing "cannot download application it is missing required files."

compressing an app into a zip and extracting the file onto a different system won't necessarily work: it will not copy any DLL files your app requires, and it won't install the .NET framework if that is not "up to scratch" on the target system. For example, if you app is compiled for .NET 4.5, and the target PC only has .NET 3.0 installed, teh app will not work.

The best solution is to create a deployment project which will create an installer for you and add it to your solution: Microsoft Visual Studio Installer Projects - Visual Studio Marketplace[^]

If it's something else, you would need to give us a whole load more information on the exception for us to be able to help you at all.
 
Share this answer
 
Maybe you can try this: GitHub - Leandros/VisualStudioStandalone: Make your Visual Studio Portable[^]
No guarantees, did not try it myself :)

But as others already mentioned you should first check if the machine has the correct .NET framework version installed, you can see this easily under "Uninstall app" in Control Panel. Otherwise even a portable Visual Studio won't work.

Another option might be using a cloud IDE: best-cloud-ides~visual-studio-online[^]
 
Share this answer
 
v3
Quote:
you need required software for that as @OriginalGriff said above. environment is very important or must to run .net application on windows machine
 
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