Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8840035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:22:24+00:00 2026-06-14T10:22:24+00:00

I have a VS 2010 Solution containing asp.net C# projects, 4.0 Framework. We use

  • 0

I have a VS 2010 Solution containing asp.net C# projects, 4.0 Framework. We use Teamcity 7.1.1 (build 24074) as CI and deployment server.

We upgraded to Visual Studio 2012 and converted this solution, also installed Microsoft Visual Studio 2012 Shell (Integrated) Redistributable Package on the build server in order to have all files needed to build visual studio applications including [..]\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets.

After the conversion to 2012, I noticed that the deployment doesn’t work anymore, the artifacts are not created (but Teamcity does not complain either!). I only get this on the build log:

[...]
[17:11:58][Providers\Providers.csproj.teamcity] GetCopyToOutputDirectoryItems
[17:11:58][Providers\Providers.csproj.teamcity] _CopyOutOfDateSourceItemsToOutputDirectoryAlways
[17:11:58][_CopyOutOfDateSourceItemsToOutputDirectoryAlways] Copy
[17:11:58][Copy] Copying file from "C:\TeamCity\buildAgent\work\c52628138e1ee4d4\Providers\NLog.config" to "bin\NLog.config".
[17:11:58][Providers\Providers.csproj.teamcity] CopyFilesToOutputDirectory
[17:11:58][CopyFilesToOutputDirectory] Copy
[17:11:58][Copy] Copying file from "obj\Release\Providers.dll" to "bin\Providers.dll".
[17:11:58][CopyFilesToOutputDirectory] Providers.csproj -> C:\TeamCity\buildAgent\work\c52628138e1ee4d4\Providers\bin\Providers.dll
[17:11:58][CopyFilesToOutputDirectory] Copy
[17:11:58][Copy] Copying file from "obj\Release\Providers.pdb" to "bin\Providers.pdb".

==> [17:11:58]Process exited with code 0

[17:11:58]Publishing internal artifacts
[17:11:58][Publishing internal artifacts] Sending build.finish.properties.gz file
[17:11:58]Publishing artifacts
[17:11:58][Publishing artifacts] Collecting files to publish: [Providers\obj\Release\Package]

==> [17:11:58][Publishing artifacts] Artifacts path Providers/obj/Release/Package not found

[17:11:58]Build finished

The only changes made to the solution were in the .sln and .csproj files (by Visual Studio). If I revert to the previous version, teamcity builds and deploys without issues.
The changes to the project files were same as explained in this post, I tried the proposed solution (passing VisualStudioVersion=11.0 to MSBuild), it didn’t work.

If I deploy from Visual Studio using the Publish link from Solution Explorer it also works as expected. I am going to create a new solution with a base project in VS 2012 and will test whether or not it deploys from Teamcity.

Any other ideas?

— update —

Hopefully, this is NOT the solution: I did the opposite as advised on the above post, I set the MSBuild parameter VisualStudioVersion=10.0 and it works!
So, in order to deploy a VS 2012 project I had to treat it as VS 2010 project… What are you doing different? What I am supposed to do in order to be able to deploy without cheating teamcity?

— update —

I am adding some snapshots of my TeamCity Configuration. Teamcity passes the system and environment variables as build parameters to MSBuild.

General Settings

Build Steps

MSBuild

Configuration Parameters

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T10:22:25+00:00Added an answer on June 14, 2026 at 10:22 am

    Updated

    To clarify, the issue is that the Web Publishing Pipeline targets ($(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets) aren’t installed as part of the Integrated Shell edition of VS 2012.

    The issue can be resolved by installing a full version of VS 2012 or, potentially, by installing the Azure SDK over the top of the VS Shell.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have a VS 2010 solution containing one ASP.NET MVC 3 project and
I have a Visual Studio 2010 solution containing several C# projects, with Resharper 5.1
I have a solution in Visual Studio 2010, containing two projects: A static library
I have a VC++ 2010 solution containing two projects: ProjectX and ProjectXTests. In the
I have a solution in Visual Studio 2010 containing 6 projects (1 web application,
I have a Visual Studio Solution (2010) containing code projects that were under source
I have a simple solution in Visual Studio 2010 containing a few static libraries,
I have a VS 2010 solution which I build in debug mode on a
I have a Visual Studio 2010 solution with 5 projects in it, two libraries
I have a Visual Studio 2010 solution that contains multiple projects. One of these

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.