The following error occured validating the name
Delete these lines at a beginning of the .vdproj file: Build again - the error is gone.
That error didn't stop me from deploying, building, debugging (or anyting) my project; it just annoyed me.
Everything was better now but I got an error when I tried to compile the setup project.
I realized that I had a Visual Studio 2010 Test Project in my solution so all I had to do was unload the Test Project and Build the setup project again.
This was known as the virtual SQL Server name in earlier versions of SQL Server failover clusters.
When you connect to SQL Server using this name, this will connect to the current online node.
In the VS2010 solution I had upgraded the project to . When I later realized the project was also used in another solution I downgraded it to . For some reason everything seemed to be changed correctly in the csproj file except one place which is mentioned here: Error in setup project HRESULT = '80004005' I know this is already solved somewhere else but I wanted to shed some light on this from another problem angle.
The error message "An error occurred while validating.
Setup project only supports dependency projects within same solution.1 In my case I had installed Visual Studio 2010 alongside Visual Studio 2008.
My new path was exactly the same, but the reference name changed anyway.... I read this answer from another post on Stack Overflow, and it has worked for me.
Open your setup project file (.vdproj) in Notepad (or any other text editor).
My setup project, when opened in Visual Studio 2008 gave the same error, but was OK in Visual Studio 2010.
If copied to another machine that did not have Visual Studio 2010, but did have Visual Studio 2008, then it would compile.