Questions tagged [msbuild-4.0]

Third version of the MSBuild build tool (after 2.0 and 3.5), released as part of the .Net Framework 4.0. It is used by default by Microsoft Visual Studio 2010.

Third version of the MSBuild build tool adds support for property functions, new build extension mechanism, inline tasks, project multitargetting and a new API model.

315 questions
0
votes
1 answer

Build Vs2012 Sln through MSBuild comment prompt . with nuget reference

We are planning to build the solution through cmd using msbuild. The project solution (.sln) have the nuget reference. We are getting the error while building the project sln. like nuget error. Restoring NuGet packages... To prevent NuGet from…
0
votes
1 answer

MSBuild - MsBuildExtensionPack starting windows service with delay

I am using MSBuild task to start a windows service. I am using following code: MSBuild.ExtensionPack.Computer.WindowsService TaskAction="Start" ServiceName="AppServices" ContinueOnError='false'/> If I start the service I am getting following…
0
votes
1 answer

How to check installed msi details from registry using msbuild

I want to check an installed msi product details like product key, code and others using msbuild target. I want to uninstall the msi using the product code using the following syntax: msiexec /x {PRODUCT-CODE-GUID-HERE} Can anyone help me with…
santosh kumar patro
  • 7,231
  • 22
  • 71
  • 143
0
votes
1 answer

Differences between MSBuild v4.0 and VS 2010 Build

Our developers use VS 2010 to build locally; however, our CI server uses MSBuild v4.0 scripts to build code in source. I'm aware that VS uses MSBuild behind the scenes but what are the differences between the two, if any?
ShaneC
  • 2,237
  • 2
  • 32
  • 53
0
votes
1 answer

Unrecognized configuration section "microsoft.applicationServer" when trying to build from command line or building a deployment package

yet I have another problem with building from the command line. I have a project which i can build in Visual Studio just fine. But when I try to build a deployment Package in Visual Studio 2012 (publish->Web Deploy Package) I get hit with the…
DrCopyPaste
  • 4,023
  • 1
  • 22
  • 57
0
votes
1 answer

MSB3247: Found conflicts... error for EnttityFramework 4.4.00 to 5.0.0.0

This occurs in ASP.Net MVC 4 project. I found an excellent suggestion to view MSBuild detailed output here. Seems like System.Web.Providers.dll is referencing 4.5.0.0 causing this error. I attempted a Binding redirect in web.config under runtime ->…
Vyas Bharghava
  • 6,372
  • 9
  • 39
  • 59
0
votes
1 answer

How does VS2010 compilation knows to skip un modified files

I created some msbuild scripts that build my projects using msbuild task. I pass as parameters the list of projects to build (not the solution file). In VS2010, building the solution the second time without modifying any files will finish almost at…
Eran Sakal
  • 35
  • 4
0
votes
2 answers

Deleting files on a remote machine (shared folder) using msbuild

I want to delete files kept in a shared folder on a remote machine using msbuild. I have googled but couldn't get a proper solution. Please help. Thank you
SharpCoder
  • 18,279
  • 43
  • 153
  • 249
0
votes
1 answer

MSBuild task to make use of Teamcity credentails

I am using MSBuild task to install a windows service. Everything works fine but the newly installed service runs under local system account. Is there anyway to tell MSBuild to install the service under the same account as TeamCity (TeamCity is…
SharpCoder
  • 18,279
  • 43
  • 153
  • 249
0
votes
1 answer

It is possible to do this kind of conversion with msbuild

It is possible to do this kind of conversion with msbuild? Transforming metadata into items? This: 1 1 2 2
0
votes
0 answers

How to make MSBUILD resolve System.Action correctly?

My projects build fine in Visual Studio and also using MSBUILD on my machine. On the build agent however if I run MSBUILD I get the error below. I have already tried to specify a target framework of 4.0 but without success. Any other…
Krumelur
  • 32,180
  • 27
  • 124
  • 263
0
votes
0 answers

Some questions regarding Visual Studio Property Sheets

I have to support projects with VS 2010 as well as VS 2012. Even if VS 2012 can read and write projects that are usable with VS 2010, there are reasons to (sometimes) prefer VS2010, since (e.g.) it has support for setup projects and macros, while…
JeffRSon
  • 10,404
  • 4
  • 26
  • 51
0
votes
1 answer

Active username differences while using the MSBuild API for VC++?

I have begun working directly with the MSBuild API in order to extend our build process and increase the flexibility. I have successfully automated the entire process of building our project, but not without a few "gotchas". Due to the extreme lack…
Localghost
  • 714
  • 3
  • 7
0
votes
1 answer

Executing Sql with Integrated Security via TeamCity fails at user login

I have an MSBuild script which uses the MSBuildExtensions SqlExecute command similar to the following:
DMac the Destroyer
  • 5,240
  • 6
  • 36
  • 56
0
votes
1 answer

Installing TFS2010 build controller on Windows Server 2012

Where I currently work we are using TFS2010 and already have a build controller set up on a Windows Server 2008 R2 box. We are contemplating upgrading our TFS2010 instance to TFS2012, but in the meantime we are about to start development on a new…
1 2 3
20
21