msbuild Questions
2
Solved
I've beat my head against the wall for a couple of days on this one. No amount of Googling or messing around seems to yield the answer.
I want to run a T4 template at build time. In it, I need to ...
6
Solved
I want to conditionally undefine DEBUG if it's a publish build.
is there a property I can check to see if we're currently publishing?
Sakmar asked 6/6, 2011 at 16:30
2
I'm having random problems during my build process in TeamCity. I've got two configurations: First for Rebuild + Unit test. Second as artifact dependency, with SonarQube analyzer. When Teamcity is ...
4
I'm attempting to set up an Azure DevOps build pipeline against a .NET Framework 4.7.2 solution which contains a Visual Studio Installer Project. I've set up a self-hosted agent on a Windows Server...
Deodorize asked 20/12, 2019 at 3:14
14
Solved
When I try to build my solution in Visual Studio (2010 SP1) containing a website, I get the following funny error.
------ Build started: Project: C:\...\Web\, Configuration: Debug Any CPU ------
...
Tutelage asked 10/2, 2012 at 13:49
3
Solved
I've found this question asked before but all the answers I've come across have been specific to earlier versions of Visual Studio. Seems mostly VS2015 and earlier.
The main issue with most of the...
Deste asked 1/2, 2018 at 17:51
2
Solved
When running from Visual Studio, MSBuild is given the $(SolutionDir) macro/property.
Running from Azure DevOps, this property does not exist (rightfully so).
Azure DevOps has the Build.SourceBranc...
Mowry asked 24/5, 2019 at 1:43
2
Solved
I am building a tool package which depends on another NuGet package. As it is not an usual library, it must include all dependencies into the tools\ directory. I have the following csproj (only the...
Symbology asked 23/10, 2022 at 12:16
2
Solved
This should be simple, but I can't find how to do this (or maybe it's not possible).
In MSBuild I have an ItemGroup that is a list of files.
I want to execute a task only if a particular file is i...
Humid asked 29/9, 2011 at 8:18
2
I'm adding SonarQube to existing TFS 2018 builds. I was following the directions for downloading Community Edition 7.4 located here https://docs.sonarqube.org/display/SCAN/Install+the+SonarScanner+...
Zoroaster asked 27/11, 2018 at 22:28
2
Solved
I've looked at a ton of articles on this including here and here. None provide a solution that I can get to work.
I have everything turned on for automatically doing this in VisualStudio. But on ou...
Powwow asked 29/12, 2020 at 17:1
5
Solved
How to resolve Visual Studio (MSBuild) error message:
Error occurred while restoring NuGet packages: "Invalid restore input. No target frameworks specified."
Greasewood asked 23/3, 2020 at 15:30
16
Solved
When using TeamCity to compile my MSBuild XML task script, it fails with this:
[10:43:03]: myWebProject1\ myWebProject 1 .csproj (3s)
[10:43:07]: [ myWebProject1\ myWebProject1 .csproj] _CopyWebAp...
Disquietude asked 1/3, 2011 at 17:49
4
This may seem as one of many similar questions, but I could not find the solution in other questions.
I will jump straight to the binary log:
And here is the respective subtree under the ResolveAs...
3
Solved
MSBUILD Generate xml documentation file for all projects in solution (without touching the projects)
I'm trying to create the XML documentation for all the projects in the solution even when the option its not checked in the project properties (and this is the key point).
I'm using TFS 2010 SP1 a...
Landholder asked 1/2, 2012 at 0:4
3
I am using the desktop bridge for a WPF desktop application and am looking to automate the creation of my msix packages during build. I do not want to store any version information in source contro...
Ronn asked 18/7, 2019 at 12:6
8
Solved
I have just created a workspace on a new machine, got latest of our project from TFS, enabled NuGet Restore, and I get the following (skimmed-down) output:
1>------ Rebuild All started: Project...
Cornish asked 24/12, 2013 at 12:53
5
Solved
Hi Stackoverflow Community,
I am trying to build my Web and WebAPI, console applications with Target Framework - .NET Core 3.0, as per project 'Application' properties, using:
Microsoft Visual St...
Hitchcock asked 12/5, 2020 at 15:31
4
Solved
I'm creating some build definitions and the only difference I see between the Visual Studio Build Step and MSBuild Build Step is that the VS Build Step adds the visual studio version to the build. ...
Winston asked 23/9, 2016 at 19:0
3
I have a solution converted from VS2010 to VS2012. In the Release build, I want it to produce PDB files and full debug symbols because I need to run remote debugging in a production environment.
S...
Travis asked 27/6, 2014 at 21:22
3
Solved
We are migrating our compilation system to msbuild, and we've found that some projects report the following error:
c:\src\libs\a_lib\A\A.vcxproj : error MSB4057: The target "C" does not ...
Auditorium asked 30/7, 2018 at 14:38
2
Solved
I would like to build the same project twice in the same solution configuration, varying some #define flags to toggle features. Both binaries will be deployed with different names.
The solutions t...
Selfliquidating asked 7/12, 2012 at 18:33
3
Solved
dotnet run (on windows) causes
warning CA1416: This call site is reachable on all platforms. 'WellKnownSidType.WorldSid' is only supported on: 'windows'.
My program is designed to run only on wind...
2
Solved
I need MSBUILD 14.0 and am willing to install Visual Studio to get it.
What version of Visual Studio do I need to install to get MSBUILD 14.0?
It looks like the MSBUILD version number and the Visua...
Diallage asked 15/9, 2017 at 16:27
4
Solved
While building this open source C# project in AppVeyor, I get the error:
CSC : error CS1617: Invalid option '10' for /langversion. Use '/langversion:?' to list supported values.
See the build log...
Tarrsus asked 2/8, 2022 at 13:10
1 Next >
© 2022 - 2024 — McMap. All rights reserved.