Go Premium for a chance to win a PS4. Enter to Win


Error building VS2105 solution from repository

Posted on 2017-04-11
Medium Priority
Last Modified: 2017-04-13
Hi all,

I am setting up TeamCity for automated building of our code for a VS2015 solution.

The code compiles fine in VS2015 but when TeamCity tries to build it the following error occurs:

Website.metaproj error MSB3462: Either MetabasePath or VirtualPath must be specified

The limited suggestions I have seen on the web have no effect.

I know it is some sort of VS2015 configuration issue but I have no idea what.

Please help.


Question by:resourcesys
1 Comment

Accepted Solution

resourcesys earned 0 total points
ID: 42092108
Hi all,

So, I now know that I have to use MSBuild and call a project file to be able to build the website, and thus verify all code builds correctly.

The MSBuild command would be as follows:

MSBuild.exe BuildApp.vbproj

And the project file would be as follows:

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />

<Target Name="Build" >


Open in new window

Thanks to anyone who took the time to read the question.


Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Simple Linear Regression

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question