Quantcast
Channel: MSBuild forum
Browsing all 2763 articles
Browse latest View live

Parallel Build Termination Leaves Child MSBuild.exe Processes Running

Hi all,We encapsulated building embedded code in MSBuild project files, predefining the proper dependencies, to run them in parallel and reduce build time.It was working beautifully with significant...

View Article


vs 2012 solution build creates many conhost.exe and msbuild.exe processes...

I have a vs 2012 solution with many projects. Building the solutions creates many conhost.exe and msbuild.exe processes and they are not killed after build completes. Are you aware of this bug? Do you...

View Article


Move "extra files" to the Drops folder when using Visual Studio Online hosted...

I have a Visual Studio Online build that is working and generating output in a drops folder.$/MyProject/ solution and project files here$/MyProject/Drops/output from build hereMy VS2013 solution...

View Article

MS Build fails - Web mvc throws higher version error

I am running Visual studio premium 2013 and configured new build for the packages. When I run the build  through Visual Studio/ Team Explorer  which is throws following error. CSC: Assembly...

View Article

How to reproduce exact same executable (CRC)

In the aerospace industry we have a requirement that software can be reproduced identically from an archive.  This is typically achieved by performing the build, generating a CRC on the executable with...

View Article


MSBuildExtension pack - Iis6AppPool Class

Hi,I was trying to use the MSBuild.ExtensionPack.Web.Iis6AppPool to recycle the application pool on a remote server. I used <MSBuild.ExtensionPack.Web.Iis6AppPool TaskAction="Recycle"...

View Article

fatal error LNK1318: Unexpected PDB error; RPC (23) '( 0x000006BA)'

I am facing the fatal error LNK1318: Unexpected PDB error; RPC (23) '( 0x000006BA)' error while making a build on VS2008. I have tried multiple options for compilation but i didn't find any solution....

View Article

During Full Application Build - Failure With RegisterAssembly Build Task -...

Hello All,During our full application build, I am hitting an error of "is not a valid assembly" when trying to register COM assemblies. The funny thing is that our other builds (running on the same...

View Article


UseGlobalApplicationHostFile property

What exactly does this property do?  It is being added automatically to my .csproj file when I open the solution in VS 2015 RTM.The only thing I can find on it is...

View Article


msbuild vs McAfee McShield

I have just set up TFS with a large solution and after ironing out a bunch of minor reference issues within the code, the TFS build would run for about 38 minutes and then fail with this error (.... =...

View Article

Breaking Change in Visual Studio 2015 RC

Hello,As we work to migrate our code to build with Visual Studio 2015, we are stuck with a linking error - LNK2019 unresolved symbol.The page -...

View Article

__property keyword in C++

What is a correct expression for declaring properties on VC++ ( Visual Studio Express 2012 ) ?I try to define an equivalent expression that I use on Borland C++Builder, example :#pragma pack(push,1) //...

View Article

Build with invalid web.config fails in VS2013 but passes in VS2012

Hi,We have a project created in VS2012. In web.config, there's an invalid section (for example<%test%>) which is replaced in a different process. VS2012 is able to build the project, but if I...

View Article


VS2015 RC MSB3086 using MSBuild, VS builds fine

I installed Windows 10 Tech Preview (10074) and Visual Studio 2015 RC, and am trying to build my solution (which was previously built with Visual Studio 2013)If I build in VS, everything builds...

View Article

Can't build Win10 Windows Universal App from msbuild command line

I am trying to automate the build for a Win10 C++ windows universal app using msbuild.I fired up the VS 2015 developer's command prompt and tried it out with an out-of-the-box blank app and ran msbuild...

View Article


Different results for MSBuild 12 Web Publish Deploy target.

I'm getting different results running msbuild API on my dev machine vs the build machine, but I am having trouble finding why. The problem is when I run the web publishing step. The following targets...

View Article

Dissimilarity between functionality of MSBuild command and BuildEngine.Build() !

Hello,I am trying to publish a particular solution using BuildEngine...>engine.BuildProjectFile(@"C:\TFS\Ct.csproj",targets,properties);but it fails everytime stating the error..ERROR> SGEN :...

View Article


Cannot load any Portable Class Library projects in VS 2013 solution, when it...

While I am trying to load any Portable Class Library (Universal Windows 8.1 Project) I see an error "TargetPlatformIdentifier is not supported. One or more 'Windows' projects have...

View Article

Disabling the C4242 in Visual studio 2013

I want to suppress C4242 warnings in my VS2013 proj, but even if i added the       <WarningLevel>Level4</WarningLevel>      <TreatWarningAsError>true</TreatWarningAsError>...

View Article

How to generate publish.htm file with BuildEngine.Build(..) at a specified path.

Hi,I am trying to publish a solution(project) using buildEngine.Build(...)  but it doesn't generate publish.htm (deployment file). In order to approach it as a work-around i tried the content in the...

View Article
Browsing all 2763 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>