How to succesfully build the latest source

Discussions about using SIP Sorcery on your own computer/server
Post Reply
jvwelzen
Posts: 716
Joined: Thu Sep 11, 2008 1:56 pm

How to succesfully build the latest source

Post by jvwelzen » Mon Mar 22, 2010 10:12 pm

Hi Aaron

Can you give some tips how to build the latest source succesfully

I want to change some small things in the source

but I cannot seem to get it to build succesfully

Any tips would be apreciated

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Post by Aaron » Mon Mar 22, 2010 11:04 pm

There was one file missing from changeset 40897. I've corrected that and checked that the latest version now builds correctly.

Regards,

Aaron

jvwelzen
Posts: 716
Joined: Thu Sep 11, 2008 1:56 pm

Re: How to succesfully build the latest source

Post by jvwelzen » Tue Mar 23, 2010 6:49 pm

Hi

Today I tryed to build it again but it still fails

These errors are shown

Code: Select all

Warning	1	'System.Net.Dns.Resolve(string)' is obsolete: 'Resolve is obsoleted for this type, please use GetHostEntry instead. http://go.microsoft.com/fwlink/?linkid=14202'	C:\Users\jvwelzen\Downloads\sipsorcery-41015\sipsorcery-core\SIPSorcery.Sys\Net\NetServices.cs	139	41	SIPSorcery.Sys
Error	2	The command "copy "C:\Users\jvwelzen\Downloads\sipsorcery-41015\sipsorcery-core\Build\SIPSorcery.Sys.dll" "c:\temp\sipsorcery\"" exited with code 1.	SIPSorcery.Sys
Error	3	The command "copy "C:\Users\jvwelzen\Downloads\sipsorcery-41015\sipsorcery-core\Build\SIPSorcery.SIP.Core.dll" "c:\temp\sipsorcery\"" exited with code 1.	SIPSorcery.SIP.Core
Warning	4	The referenced component 'System.ServiceModel.PollingDuplex' could not be found. 	


Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: How to succesfully build the latest source

Post by Aaron » Tue Mar 23, 2010 9:14 pm

Your build was successful. The build process failed when it tried to copy the new files to the c:\temp\sipsorcery directory on your machine. You can either ignore the errors with no ill effect or stop your local version so that the build process can do the copy.

Regards,

Aaron

jvwelzen
Posts: 716
Joined: Thu Sep 11, 2008 1:56 pm

Re: How to succesfully build the latest source

Post by jvwelzen » Wed Mar 24, 2010 5:50 am

Ok Thanks I always tought that the files where stored in the Build folder

I don't have many experiance in creating visiual studio projects

so Thanks again and I wil try to upgrade the SS Server

Thanks again

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: How to succesfully build the latest source

Post by Aaron » Wed Mar 24, 2010 9:43 am

The file are stored in the build folder but to save me continually copying them to my own local sipsorcery instance I added a task that also copies them to c:\temp\sipsorcery. If you want to remove that task it's a matter of right clicking on each project, selecting properties, selecting the Build Events tab and deleting the entry or entries in the Post-build box.

Regards,

Aaron

jvwelzen
Posts: 716
Joined: Thu Sep 11, 2008 1:56 pm

Re: How to succesfully build the latest source

Post by jvwelzen » Wed Mar 24, 2010 7:32 pm

Visiual studio 2010 reprorts the build has failed

I created c:/temp/sipsorcery

But I am missing a lot of files when I try to build the source

Also in the Build folder I also missing a lot of files

any idea what I am doing wrong

Post Reply