How do you save files as .exe's I tried to publish my program, but it won't let me in that it said "Default certificate could not be created. Publish aborting." Any Ideas
Thanks, unfortunatly you have to have the .net framework installed
For all .net applications you MUST have the appropriate version of the Framework installed on the developemnt machine as well as any deployed machines...MUST
I'm aware of that if you're trying to install an application. You asked how to save a file as an .exe. I could have merely stated "change the extension to '.exe" and would have answered your question. I took it one step further and circumvented publishing using ClickOnce. You can take these exes I mentioned and add them to a setup project. Or you can add a setup project to your current project and go from that. There are MANY different ways around ClickOnce publishing.
If you wanted to know about the error, then post some code and the specific error and elaborate. Or, ask "why am I getting this error " You asked "how do you save files as .exe's " We can only navigate with the directions given.
The ClickOnce publishing system does a lot more than create an EXE. If you just want the exe and none of the installation stuff around it, then go to your
My Documents\Visual Studio 2005\Projects\projectname\assemblyroot\bin\release\
folder There is an exe version in there.
Or
My Documents\Visual Studio 2005\Projects\projectname\assemblyroot\bin\debug\
Or if you don't use the default, then the bin folder of wherever you're saving your project.
Saving files as .exe
J. Aldrin
Internet Freak
For all .net applications you MUST have the appropriate version of the Framework installed on the developemnt machine as well as any deployed machines...MUST
K.V.Bharath
I'm aware of that if you're trying to install an application. You asked how to save a file as an .exe. I could have merely stated "change the extension to '.exe" and would have answered your question. I took it one step further and circumvented publishing using ClickOnce. You can take these exes I mentioned and add them to a setup project. Or you can add a setup project to your current project and go from that. There are MANY different ways around ClickOnce publishing.
If you wanted to know about the error, then post some code and the specific error and elaborate. Or, ask "why am I getting this error " You asked "how do you save files as .exe's " We can only navigate with the directions given.
nbot
The ClickOnce publishing system does a lot more than create an EXE. If you just want the exe and none of the installation stuff around it, then go to your
My Documents\Visual Studio 2005\Projects\projectname\assemblyroot\bin\release\
folder There is an exe version in there.
Or
My Documents\Visual Studio 2005\Projects\projectname\assemblyroot\bin\debug\
Or if you don't use the default, then the bin folder of wherever you're saving your project.