Discuss Scratch

turkey3
Scratcher
1000+ posts

Visual Studio Help

I am following a book and learning C# in Visual Studio 2013. I can make programs and run them and all that, but how can I form a program into an independent one on my machine instead of having to run it through a Visual Studio?

procd
Scratcher
100+ posts

Visual Studio Help

When you build you choose “debug” or “release”. They will create folders in your project called “debug” and “release” usually in a bin folder. That is where you will find your exe file.
DigiTechs
Scratcher
500+ posts

Visual Studio Help

Right click on the project in the solution browser and click ‘Build’ - then navigate to the directory where the project is saved and find the ‘bin’ folder. It should be somewhere in there. Make sure it's NOT a vshost application.

That's how it's done in VS2010, not sure how it changed or if it changed.

I do, in fact, have my own site; it's here.
I'm also working on a thing called Fetch. Look at it here!
@thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain.
turkey3
Scratcher
1000+ posts

Visual Studio Help

procd wrote:

When you build you choose “debug” or “release”. They will create folders in your project called “debug” and “release” usually in a bin folder. That is where you will find your exe file.
So when I find the EXE file, if I want to move the whole application to, say, a USB drive, do I drag only the EXE or the other files along wih it? Sorry if I sound dumb what I'm sayin is does that EXE file store all the data necesary for the program to run independently?

procd
Scratcher
100+ posts

Visual Studio Help

The directory should also contain all the exe files' dependencies like other dll's. So best to copy the whole folder. For my compiler I package up all the dependencies into the exe but for most cases that isn't really needed.
Zeusking19
Scratcher
500+ posts

Visual Studio Help

Actually, just the EXE will work fine as long as the computer has .NET Framework. Even Debug mode will put it into the bin/Debug folder.

(Source: Deployed .NET Application to a Windows PE Image)
DigiTechs
Scratcher
500+ posts

Visual Studio Help

Zeusking19 wrote:

Actually, just the EXE will work fine as long as the computer has .NET Framework. Even Debug mode will put it into the bin/Debug folder.

(Source: Deployed .NET Application to a Windows PE Image)
But if the computer doesn't have the .NET framework, you'll have to do something else. In fact, you can make the project entirely standalone if you make all of the references copy to the output directory.

I do, in fact, have my own site; it's here.
I'm also working on a thing called Fetch. Look at it here!
@thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain.
utsavchopra
New to Scratch
2 posts

Visual Studio Help

download the top 10 developer for free and use it trial version.
Also install .net framework 4+.

that's it.
Credit :- 300mb movies
utsavchopra
New to Scratch
2 posts

Visual Studio Help

hope it works for you
that's it.
________________________________________________
Credit :- 300mb movies
Sonickyle
Scratcher
1000+ posts

Visual Studio Help

Zeusking19 wrote:

Actually, just the EXE will work fine as long as the computer has .NET Framework. Even Debug mode will put it into the bin/Debug folder.

(Source: Deployed .NET Application to a Windows PE Image)
Basically this.
Depending on what you use on the computer, it should have the .NET framework already installed on it. If the computer doesn't, then it doesn't take that long to install it.

No I don't make projects anymore. I left some time ago.
I only check the forums every now and then, but other than that consider me retired.
DigiTechs
Scratcher
500+ posts

Visual Studio Help

Sonickyle wrote:

Zeusking19 wrote:

Actually, just the EXE will work fine as long as the computer has .NET Framework. Even Debug mode will put it into the bin/Debug folder.

(Source: Deployed .NET Application to a Windows PE Image)
Basically this.
Depending on what you use on the computer, it should have the .NET framework already installed on it. If the computer doesn't, then it doesn't take that long to install it.
Problem is, you have to install the .NET framework that the application was made with. That is, if it was made with .NET 2.0, you have to install .NET 2.0 for the application to work.

I do, in fact, have my own site; it's here.
I'm also working on a thing called Fetch. Look at it here!
@thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain.
Sonickyle
Scratcher
1000+ posts

Visual Studio Help

DigiTechs wrote:

Sonickyle wrote:

Zeusking19 wrote:

Actually, just the EXE will work fine as long as the computer has .NET Framework. Even Debug mode will put it into the bin/Debug folder.

(Source: Deployed .NET Application to a Windows PE Image)
Basically this.
Depending on what you use on the computer, it should have the .NET framework already installed on it. If the computer doesn't, then it doesn't take that long to install it.
Problem is, you have to install the .NET framework that the application was made with. That is, if it was made with .NET 2.0, you have to install .NET 2.0 for the application to work.
What's wrong with that?

No I don't make projects anymore. I left some time ago.
I only check the forums every now and then, but other than that consider me retired.
DigiTechs
Scratcher
500+ posts

Visual Studio Help

Sonickyle wrote:

DigiTechs wrote:

Sonickyle wrote:

Zeusking19 wrote:

Actually, just the EXE will work fine as long as the computer has .NET Framework. Even Debug mode will put it into the bin/Debug folder.

(Source: Deployed .NET Application to a Windows PE Image)
Basically this.
Depending on what you use on the computer, it should have the .NET framework already installed on it. If the computer doesn't, then it doesn't take that long to install it.
Problem is, you have to install the .NET framework that the application was made with. That is, if it was made with .NET 2.0, you have to install .NET 2.0 for the application to work.
What's wrong with that?
Do users like to spend long times waiting for files to download and install?


I do, in fact, have my own site; it's here.
I'm also working on a thing called Fetch. Look at it here!
@thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain.
Sonickyle
Scratcher
1000+ posts

Visual Studio Help

DigiTechs wrote:

Sonickyle wrote:

DigiTechs wrote:

Sonickyle wrote:

Zeusking19 wrote:

Actually, just the EXE will work fine as long as the computer has .NET Framework. Even Debug mode will put it into the bin/Debug folder.

(Source: Deployed .NET Application to a Windows PE Image)
Basically this.
Depending on what you use on the computer, it should have the .NET framework already installed on it. If the computer doesn't, then it doesn't take that long to install it.
Problem is, you have to install the .NET framework that the application was made with. That is, if it was made with .NET 2.0, you have to install .NET 2.0 for the application to work.
What's wrong with that?
Do users like to spend long times waiting for files to download and install?

I do if it's worth opening many different programs that require it.

No I don't make projects anymore. I left some time ago.
I only check the forums every now and then, but other than that consider me retired.

Powered by DjangoBB