All Questions
Tagged with msbuild visual-studio-2012
518
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 ...
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 ...
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....
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 ...
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 ...
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.
...
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. ...
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 ...
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" ...
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 ...
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 ...
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 ...
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.
...
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)...
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 (...