Skip to main content

All Questions

2 votes
0 answers
636 views

Prevent MSBuild to use multiple threads

I have to compile more than 100 projects (VS 2012). All these projects use the "/MP"-switch to use multiple cores. Now I want to compile it on one big machine (24 Cores). On this machine, I compile ...
Biber's user avatar
  • 727
0 votes
0 answers
34 views

MSBUILD errors on the Visual studio online

Team, I have recently converted my project from .net framework version 4.0 to 4.6 using VS 2017. All is ok when i do a manualy build on my local computer. But when i checkin and do a CI build, its ...
user3276487's user avatar
0 votes
1 answer
402 views

The "GenerateResource" task failed unexpectedly. System.InvalidOperationException

After Migrating a project from 2008 to 2012, while build or rebuild facing this issue. Detailed Error as follows, Error 2 The "GenerateResource" task failed unexpectedly. System....
Anbu Mannan's user avatar
2 votes
0 answers
131 views

Why does msbuild not print immediately messages to Console output window?

I came across on following problem. When I run msbuild to buid solution (not project) within pre build event in visual studio I see that it prints messages after execution (not immediately). Such ...
Alex Aparin's user avatar
  • 4,491
0 votes
1 answer
250 views

Finding out why my published dll is different from the one I'm debugging

Running Visual Studio 2013 Ultimate, I have a large .NET MVC project that I have troubles debugging part of. I debug it while attaching to the IIS (on the same machine), but for some projects, I have ...
Christofer Ohlsson's user avatar
1 vote
2 answers
513 views

Jenkins build failed with "ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER"

I am new to Jenkins, Recently Server windows 2008 R2 is updated with some patching. Before that, Jenkins was working fine but now whenever I am deploying via Jenkins, I am getting following error. ...
Spider-Man's user avatar
4 votes
2 answers
1k views

Suppressing MSB3276: Found conflicts between different versions

Here is the scenario A.dll references B.dll (2.0.0.0) A.dll references C.dll and C.dll references B.dll (1.0.0.0) Obviously, msbuild will invoke the warning below since B.dll versions conflict. ...
Frank Q.'s user avatar
  • 6,422
1 vote
1 answer
481 views

With MSBuild (VS2012), how do I intercept the path of an assembly file before it's generated?

I want to inject into all my .vcxproj (Visual C++ 2012) projects a custom MSBuild task that gets as input the file path of: the assembly (.exe or .dll) and .pdb that are about to be generated any ...
Gabriel Morin's user avatar
0 votes
1 answer
894 views

Jenkins build error, visual studio 2010, MSbuild , System.IO.IOException process cannot access the file because it is used by another process

Can someone help in solving this error that i am getting while doing build. 7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB4018: The "CustomBuild" ...
JenkinsNewbie1989's user avatar
0 votes
1 answer
90 views

Why doesn't Visual Studio Build output the Message in the Target element having a custom name?

My project has a different behaviour locally and on production. I have concluded that some Tasks in my .vbproj don't get executed locally neither in DEBUG or RELEASE mode. For example, I have a ...
Razvan's user avatar
  • 326
0 votes
0 answers
1k views

Building solution from command line and error: "Failed to write to log file"

I have a strange error. My solution (C++) has about 360 projects. When I build it using Visual Studio 2012, everything works fine. But when I build it using command line and devenv.com tool, I get an ...
Adam Jachocki's user avatar
1 vote
0 answers
45 views

TeamCity Build Agent (v27767) deletes MsBuild.exe on run

TeamCity 8.0.6 CI box with build agent has been purring along for several years. After a system restart, TeamCity seems to have auto-upgraded the local build agent to version 27767. No other ...
Petrus Theron's user avatar
0 votes
1 answer
173 views

Create multiplatform Nuget from same project files

I want to create a Nuget package with multiple assemblies that are both .NET 4.5 and .NET Standard. Some consumers of the package are still on VS2012, so I can't just make a .NET Standard package. ...
RasmusW's user avatar
  • 3,446
0 votes
1 answer
187 views

msbuild replace build tools automatically

I'm using VS2012 to build a package created with VS2013, the problem is that the project uses build tool v110_xp, where I only have version v110 During msbuild, it complains, C:\Program Files (x86)...
daisy's user avatar
  • 23.3k
2 votes
1 answer
1k views

Error : The OutputPath property is not set for project 'Project.Web.csproj'

Building my Jenkins/MSBuild solution gives me this error Build started 18-03-2017 14:38:15. Project "C:\Program Files (x86)\Jenkins\workspace\Development\Project.Web\Project.Web.csproj" on node 1 (...
Vishnu Nagalingam's user avatar

15 30 50 per page
1
2 3 4 5
35