Hello,
I'm new member on this forum and i didn't look too much for solution on forum :)
I created application in c# and i wanted to create setup for that, and i tried with new->project->setup wizard and took every file from my project, but when i tried to build it, it didn't work. I couldn't see any error written , just 1 failed.
Is there another way to create setup for my application?
Thanks in advance!
7 replies to this topic
#1
Posted 15 August 2010 - 07:46 AM
|
|
|
#2
Posted 15 August 2010 - 08:48 AM
I wrote a tutorial on how to create a setup in Visual Studio: Davide Vitelaru - Tutorials
Try creating the setup yourself without the wizard and see if it works. Who knows, maybe you have to complete some extra fields in the project properties section.
Try creating the setup yourself without the wizard and see if it works. Who knows, maybe you have to complete some extra fields in the project properties section.
Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics
#3
Posted 15 August 2010 - 08:59 AM
Thank you!
It helped me:) I have one more question. In my project, i'm working with sql database and now when i'm creating the setup for my project for using the application on other computers, do i have to install the same sql database so that my application can work?
It helped me:) I have one more question. In my project, i'm working with sql database and now when i'm creating the setup for my project for using the application on other computers, do i have to install the same sql database so that my application can work?
#4
Posted 15 August 2010 - 11:35 AM
If you can't see it in "Detected Dependencies", you most likely don't need it. The database will be installed on that computer along with your app. Make sure you test the setup on a freshly installed XP machine before publishing it (Installing XP in a VM is a good idea).
Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics
#5
Posted 15 August 2010 - 01:06 PM
OK,
I tried to build the setup bu it says 1 succeeded, 1 failed, 0 skipped. I can't find the error, only this : C:\Windows\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.DataSetExtensions.dll" /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.Linq.dll" /reference:"C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Desktop\System.Data.SqlServerCe.dll" /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.DirectoryServices.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Transactions.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /optimize- /out:obj\Debug\test.exe /resource:obj\Debug\test.DodajTabelu.resources /resource:obj\Debug\test.EditTabele.resources /resource:obj\Debug\test.Form1.resources /resource:obj\Debug\test.Properties.Resources.resources /resource:obj\Debug\test.Ulazna.resources /target:winexe Database1DataSet.Designer.cs DataClasses1.designer.cs DodajTabelu.cs DodajTabelu.Designer.cs EditTabele.cs EditTabele.Designer.cs Form1.cs Form1.Designer.cs Program.cs Properties\AssemblyInfo.cs Properties\Resources.Designer.cs Properties\Settings.Designer.cs Ulazna.cs Ulazna.Designer.cs
Do you know what's the problem?
I tried to build the setup bu it says 1 succeeded, 1 failed, 0 skipped. I can't find the error, only this : C:\Windows\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.DataSetExtensions.dll" /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.Linq.dll" /reference:"C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Desktop\System.Data.SqlServerCe.dll" /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.DirectoryServices.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Transactions.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /optimize- /out:obj\Debug\test.exe /resource:obj\Debug\test.DodajTabelu.resources /resource:obj\Debug\test.EditTabele.resources /resource:obj\Debug\test.Form1.resources /resource:obj\Debug\test.Properties.Resources.resources /resource:obj\Debug\test.Ulazna.resources /target:winexe Database1DataSet.Designer.cs DataClasses1.designer.cs DodajTabelu.cs DodajTabelu.Designer.cs EditTabele.cs EditTabele.Designer.cs Form1.cs Form1.Designer.cs Program.cs Properties\AssemblyInfo.cs Properties\Resources.Designer.cs Properties\Settings.Designer.cs Ulazna.cs Ulazna.Designer.cs
Do you know what's the problem?
#6
Posted 15 August 2010 - 09:00 PM
I think you changed the Target Framework to 2.0 instead of 3.5 and you forgot to delete some "using" statements.
Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics
#7
Posted 16 August 2010 - 04:48 AM
I tried all that, but i still get the same message. Thing is, i get the setup package now and i tried and it's working. Is that ok?
#8
Posted 16 August 2010 - 09:47 AM
I just re-read your post. If you don't get an error anywhere, it really doesn't matter what the build output says (I never paid attention to it). I'd right-click and select "Build" on the setup project instead of building the entire solution though.
Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









