Building sln

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Building sln

Wayne Douglas
Hi I get the following output when trying to build my SLN - I am completely new to running mono on Ubuntu - can anyone give me a hand?:

root@84340ff99f17:/src# sudo xbuild Sonatribe.Api.sln
XBuild Engine Version 12.0
Mono, Version 3.8.1.0
Copyright (C) 2005-2013 Various Mono authors

Build started 08/22/2014 12:33:20.
__________________________________________________
Project "/src/Sonatribe.Api.sln" (default target(s)):
        Target ValidateSolutionConfiguration:
                Building solution configuration "ALPHA.ADMIN.DEPLOY|Any CPU".
        Target Build:
                Project "/src/src/Model/Model.csproj" (default target(s)):
                        Target RestorePackages:
                                Executing: mono --runtime=v4.0.30319 "/src/.nuget/NuGet.exe" install "/src/src/Model/packages.config" -source ""   -RequireConsent -solu
tionDir "/src/"
                                Restoring NuGet packages...
                                To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and un
check 'Allow NuGet to download missing packages'.
                                WARNING: Error: SendFailure (Error writing headers)
                                Unable to find version '2.5.2914-Unstable' of package 'RavenDB.Client'.
/src/.nuget/NuGet.targets: error : Command 'mono --runtime=v4.0.30319 "/src/.nuget/NuGet.exe" install "/src/src/Model/packages.config" -source ""   -RequireConsent -sol
utionDir "/src/"' exited with code: 1.
                        Task "Exec" execution -- FAILED
                        Done building target "RestorePackages" in project "/src/src/Model/Model.csproj".-- FAILED
                Done building project "/src/src/Model/Model.csproj".-- FAILED
        Task "MSBuild" execution -- FAILED
        Done building target "Build" in project "/src/Sonatribe.Api.sln".-- FAILED
Done building project "/src/Sonatribe.Api.sln".-- FAILED

Build FAILED.
Errors:

/src/Sonatribe.Api.sln (default targets) ->
(Build target) ->
/src/src/Model/Model.csproj (default targets) ->
/src/.nuget/NuGet.targets (RestorePackages target) ->

        /src/.nuget/NuGet.targets: error : Command 'mono --runtime=v4.0.30319 "/src/.nuget/NuGet.exe" install "/src/src/Model/packages.config" -source ""   -RequireCons
ent -solutionDir "/src/"' exited with code: 1.

         0 Warning(s)
         1 Error(s)

Time Elapsed 00:00:05.5044160

--
--------------------

w://

t: 07508 215 459

--------------------


_______________________________________________
Mono-list maillist  -  [hidden email]
http://lists.ximian.com/mailman/listinfo/mono-list
Reply | Threaded
Open this post in threaded view
|

Re: Building sln

Miljenko Cvjetko
Hi

Certificates problem:

#..........................................................
# user store import (default)
mozroots --import --sync
yes | certmgr -ssl https://go.microsoft.com
yes | certmgr -ssl https://nugetgallery.blob.core.windows.net
yes | certmgr -ssl https://nuget.org
yes | certmgr -ssl https://www.myget.org/F/aspnetvnext/
#..........................................................

#..........................................................
# machine store import
# solves some problems -  TO test
mozroots --import --machine --sync
yes | certmgr -ssl -m https://go.microsoft.com
yes | certmgr -ssl -m https://nugetgallery.blob.core.windows.net
yes | certmgr -ssl -m https://nuget.org
yes | certmgr -ssl -m https://www.myget.org/F/aspnetvnext/
#..........................................................


some people say that it is necessary only machine store or not even that but mozroots command. I have never tried, so I paste those and this should work.

lat us know if this has helped

thanks

regards

Mel


On 20140822 14:40 , Wayne Douglas wrote:
Hi I get the following output when trying to build my SLN - I am completely new to running mono on Ubuntu - can anyone give me a hand?:

root@84340ff99f17:/src# sudo xbuild Sonatribe.Api.sln
XBuild Engine Version 12.0
Mono, Version 3.8.1.0
Copyright (C) 2005-2013 Various Mono authors

Build started 08/22/2014 12:33:20.
__________________________________________________
Project "/src/Sonatribe.Api.sln" (default target(s)):
        Target ValidateSolutionConfiguration:
                Building solution configuration "ALPHA.ADMIN.DEPLOY|Any CPU".
        Target Build:
                Project "/src/src/Model/Model.csproj" (default target(s)):
                        Target RestorePackages:
                                Executing: mono --runtime=v4.0.30319 "/src/.nuget/NuGet.exe" install "/src/src/Model/packages.config" -source ""   -RequireConsent -solu
tionDir "/src/"
                                Restoring NuGet packages...
                                To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and un
check 'Allow NuGet to download missing packages'.
                                WARNING: Error: SendFailure (Error writing headers)
                                Unable to find version '2.5.2914-Unstable' of package 'RavenDB.Client'.
/src/.nuget/NuGet.targets: error : Command 'mono --runtime=v4.0.30319 "/src/.nuget/NuGet.exe" install "/src/src/Model/packages.config" -source ""   -RequireConsent -sol
utionDir "/src/"' exited with code: 1.
                        Task "Exec" execution -- FAILED
                        Done building target "RestorePackages" in project "/src/src/Model/Model.csproj".-- FAILED
                Done building project "/src/src/Model/Model.csproj".-- FAILED
        Task "MSBuild" execution -- FAILED
        Done building target "Build" in project "/src/Sonatribe.Api.sln".-- FAILED
Done building project "/src/Sonatribe.Api.sln".-- FAILED

Build FAILED.
Errors:

/src/Sonatribe.Api.sln (default targets) ->
(Build target) ->
/src/src/Model/Model.csproj (default targets) ->
/src/.nuget/NuGet.targets (RestorePackages target) ->

        /src/.nuget/NuGet.targets: error : Command 'mono --runtime=v4.0.30319 "/src/.nuget/NuGet.exe" install "/src/src/Model/packages.config" -source ""   -RequireCons
ent -solutionDir "/src/"' exited with code: 1.

         0 Warning(s)
         1 Error(s)

Time Elapsed 00:00:05.5044160

--
--------------------

w://

t: 07508 215 459

--------------------



_______________________________________________
Mono-list maillist  -  [hidden email]
http://lists.ximian.com/mailman/listinfo/mono-list


_______________________________________________
Mono-list maillist  -  [hidden email]
http://lists.ximian.com/mailman/listinfo/mono-list