Team Build Error

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
11/19/2014 8:48:09 PM
tdc
Gravatar
Total Posts 16

Team Build Error

I a virtual tfs instance on my local network and can extract code and build from it on all of my VS2013 update 4 dev machines. Now, I am trying to set up a team build and am getting the following build error . ( I am only showing the first error but all the errors essentially the same Access Denied error is generated for all the debug folders.  The funny thing is that when I look into the agent build folder, the non debug code is there, so it doesn't make sense that it is a permissions issue.  But to make sure I have given Everyone write access to the folder. )  Any hints would be appreciated. 

C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (4246): Could not write lines to file "obj\Debug\mojoPortal.Data.MSSQL.csproj.FileListAbsolute.txt". Access to the path 'C:\Builds\1\....\....\src\myDevelopment\....\....\mojoPortal.Data.MSSQL\obj\Debug\mojoPortal.Data.MSSQL.csproj.FileListAbsolute.txt' is denied.

 

 

11/20/2014 6:49:46 PM
tdc
Gravatar
Total Posts 16

Re: Team Build Error

If you are interested...... I had checked all files from a local build.   That was wrong.  After deleting the contents of all debug folders in source control I was able to complete the build without any errors. 

I hope this helps some.

 

 

 

12/1/2014 8:20:06 PM
tdc
Gravatar
Total Posts 16

Re: Team Build Error

I actually spoke too soon:  I continue to get this error:

$/Giarc/GiarcPortal/Dev/mojoportal.sln - 1 error(s), 21 warning(s), View Log File

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\WebApplications\Microsoft.WebApplication.targets (182): Could not copy the file "packages.config" because it was not found.

and am not sure how to resolve it.

It is frustrating because it builds on win 7 machines but not on the 2012 build agent.  I have tried a number of 'solutions'  but none provide an answer.

Ideas?

12/2/2014 11:57:01 AM
Gravatar
Total Posts 18439

Re: Team Build Error

does the packages.config file it is complaining about live in the root of the Web folder as it should? 

it does exist in our repository but may have been missing when you got the code

12/2/2014 6:32:47 PM
tdc
Gravatar
Total Posts 16

Re: Team Build Error

Thanks Joe.  It is there.  I have no problem building from the ide on several Win 7 machines.  It is just with this team build agent that is on a 2012 Server. 

Here's the full error from the build log.  It looks to be coming from the WebStore project.  Are we missing a package config from there?

"C:\teambuilds\GiarcPortal\Dev\mojoportal.sln" (default target) (1) ->
"C:\teambuilds\GiarcPortal\Dev\WebStore.UI\WebStore.UI.csproj" (default target) (10) ->
(ResolveAssemblyReferences target) ->
  C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [C:\teambuilds\GiarcPortal\Dev\WebStore.UI\WebStore.UI.csproj]


"C:\teambuilds\GiarcPortal\Dev\mojoportal.sln" (default target) (1) ->
"C:\teambuilds\GiarcPortal\Dev\WebStore.UI\WebStore.UI.csproj" (default target) (10) ->
(_CopyWebApplicationLegacy target) ->
  C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "packages.config" because it was not found. [C:\teambuilds\GiarcPortal\Dev\WebStore.UI\WebStore.UI.csproj]

 

 

12/3/2014 8:21:41 AM
Gravatar
Total Posts 18439

Re: Team Build Error

you were right, the WebStore packages.config file was missing from our repository, its in there now

12/4/2014 8:32:42 AM
tdc
Gravatar
Total Posts 16

Re: Team Build Error

Thanks Joe, that did the trick!

You must sign in to post in the forums. This thread is closed to new posts.