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.
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.
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.
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.
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?
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
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]
you were right, the WebStore packages.config file was missing from our repository, its in there now
Thanks Joe, that did the trick!