msbuild Questions
20
I'm building/packing a web application in a build server, and it fails with the following message:
ASPNETCOMPILER error ASPCONFIG: The CodeDom provider type
"Microsoft.VisualC.CppCodeProvider, ...
Suspension asked 12/12, 2013 at 13:45
2
Solved
I have a script that starts msbuild and compiles a bunch of libraries. Here is the test script for one of them:
CALL _whereIsDelphi.cmd Alex
CALL "%DelphiPath%\bin\rsvars.bat"
msbuild &qu...
Hypabyssal asked 15/1, 2024 at 14:0
4
I'm trying to build a project using the classes in Microsoft.Build.
The code is:
var project = new ProjectInstance(CS_PROJ_FILE);
project.Build();
However it's throwing the following exception:
Mi...
2
Solved
I have a list of projects in my MSBuild file:
<ItemGroup>
<SubProject Include="**\*.csproj" />
</ItemGroup>
And now, I would like to set, on each project, its TargetPath in a ...
Cimon asked 4/7, 2012 at 11:24
2
I have the following code:
<Import Project="C:\Program%20Files%20(x86)\MSBuild\ExtensionPack\4.0.13.0\x64\MSBuild.ExtensionPack.tasks" />
<PropertyGroup>
<Workspace></Wor...
Absorb asked 20/7, 2017 at 13:9
6
Solved
Using Visual Studio 2012, TFS 2010, IIS7
Getting the following errors when I try to build/deploy:
Any CPU | Test
1 error(s), 1 warning(s)
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v1...
Dharana asked 12/5, 2014 at 15:30
2
Solved
We have over 20 solutions in our main product portfolio (over 880 projects), and we have a complex set of build scripts that work well, but we are trying to automate the restore of nuget packages f...
Iridescent asked 15/11, 2017 at 17:15
18
Probably between 25 and 50% of the times I build my solution, I see this:
"The operation you requested is taking longer than expected to complete. This dialog will close when the action completes....
Handlebar asked 25/9, 2013 at 21:13
13
Solved
I'm using VS2019 Pro v16.3.5
I have a solution containing an Azure functions project which references several class library projects.
The top-level project fails to compile with the following er...
Forfeit asked 22/10, 2019 at 18:25
25
I'm trying to build a solution using msbuild command line and I keep getting this error:
error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
The version of msbuild is the lat...
7
Solved
I have some code which makes use of Extension Methods, but compiles under .NET 2.0 using the compiler in VS2008. To facilitate this, I had to declare ExtensionAttribute:
/// <summary>
/// Ex...
Renfrew asked 8/8, 2010 at 23:42
4
I have tried all the suggested solutions in stack overflow. I am not getting any error while deploying or while building my solution. Build is successful each time.
I am using visual Studio 2022 (p...
Invincible asked 4/12, 2021 at 16:28
2
Solved
We had a discussion before.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/e04e7791-c0c4-4598-b900-310878f5af45/how-can-i-locate-and-change-the-vctargetspath-variable?forum=msbuild
After ho...
Tetrasyllable asked 22/8, 2020 at 19:2
4
I have the following pubxml file which I created via Visual Studio 2019:
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Prop...
2
Solved
MSBuild allows you to specify build-targets such as Build or Clean with -target:<build-target> (Example: MSBuild.exe -target:Clean).
Of course, a developer can define their own target using ...
Bucovina asked 30/8, 2019 at 0:42
3
Solved
Basically the title says all.
MAUI has a single project format for iOS and Android. When I'm debugging on iOS, I don't want MSBuild to build Android as well and vice-versa, because it gets slow.
Ot...
11
Solved
I'm getting the following error:
error CS1704: An assembly with the same simple name
'Interop.xxx.dll, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null has already been imported. Try remo...
7
Solved
Just installed Visual Studio 2017 and wix extension and when trying to build a solution which uses Wix I get the following error:
Error The WiX Toolset v3.11 (or newer) build tools must be instal...
Mailer asked 29/11, 2017 at 14:21
10
Solved
I'm setting up .NET 4.0 support on our CI server. I've installed .NET 4.0, and the .NET tools from the Windows 7.1 SDK.
On .NET 2.0 and 3.5, that just worked. With .NET 4, when I run the "Windows ...
5
Solved
When running the MSBuild scripts for a project, I'm getting the following errors:
Properties\licenses.licx(1): error LC0004: Exception occurred creating type 'Infragistics.Win.UltraWinEditors.Ultr...
Prioress asked 3/2, 2010 at 23:53
13
Solved
Visual Studio 2010 has a Publish command that allows you to publish your Web Application Project to a file system location. I'd like to do this on my TeamCity build server, so I need to do it with ...
Ridgley asked 22/6, 2010 at 22:2
12
Solved
I'm trying to upgrade our buildserver (jenkins) from Visual Studio 2015 to 2017. We're building via MS-Build. I've downloaded and installed MS-Buld tools as described in this answer. If I compile m...
Quadrivium asked 19/5, 2017 at 5:13
4
I created a new console application .net46, install the latest ML and tried a simple LDA.
Got the error above. None of the fix that I found on the web seems to work. It is looking for a 4.1.3.0 ver...
Prototrophic asked 20/4, 2020 at 13:45
10
Solved
I want to simplify my configuration in my ASP.NET Core Web Application (.NET Framework) application using VS 2017.
I already know that my website will be running under Windows/IIS in x64 environme...
Spies asked 16/3, 2017 at 18:45
7
Solved
This has been asked, but wasn't answered. The answer (use /warn:1) doesn't work for msbuild.exe, only csc.exe. Perhaps I'm missing something between csc and msbuild?
I'd like to suppress all comp...
Rutger asked 30/11, 2010 at 21:21
© 2022 - 2025 — McMap. All rights reserved.