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

Difference between Publish artifacts to Azure Pipelines & To publish a NuGet...

While using Azure Build pipeline, there is task called build solution using MS Build then publish artifacts and the publish location is azure pipeline. however in some course i saw other 2 steps where...

View Article


My generated js file from typescript are not used

Using Typescript and React on Visual Studio 2019, I compile correctly the say "ClientApp\Components\a.js" file when saving the corresponding "ClientApp\Components\a.tsx" file, but when I launch the...

View Article


MSBuild report error running code analysis: fatal error C1250: Unable to load...

I got following error when compiling the c++ project with Build Tools 2017 in Windows container "windowservercore".Running Code Analysis for C/C++... c1xx : error C2220: warning treated as error - no...

View Article

Patching VCTargets to support Android NDK r17 and later

Hello,At Ubisoft, we have a custom CMake that we maintain with patches originally based on VCMDDAndroid to support the Visual Studio generator with Android. We recently faced issues when updating the...

View Article

ALINK: Error AL1047. Error Importing File

Hello all,I am trying to get a build to work, but am having some issues.  Using Visual Studios 2012 with V6.0A AL.exe and v3.5 framework, I keep getting this error:ALINK : error AL1047: Error importing...

View Article


Building CMake Project from Command line

Hey,I have a CMake project with a few configurations in a CMakeSettings.json file. Is there a simple way to build one (or all) of the configurations defined in that file from the command line? Right...

View Article

Vcpkg Libraries not detected by Visual Studio 2019 Community edition

Hi,I am currently working on a Open-Source Project, which has some third-party library dependencies, I have installed all of them using Vcpkg into a particular folder in my E: drive and integrated them...

View Article

when is a Target executed??

I've a custom file type (in a C++ project, like the .masm files -> BuildCustomization).Its definition contains<ItemGroup><AvailableItemName...

View Article


Release build crashing often

I am building my application in release mode and its often crashing. what is the best way to fix these issues and its works well in Debug Modesaikalyan

View Article


is this ok?

I need to delete files. Those files are listed in a .log file and I also need to delete the logfile itself. I've written this like that... is this ok or would you do something different? Maybe adding...

View Article

order of resolution?

Explain me this please...There is a _ResourceCompileDependsOn ... this contains a $(BeforeResourceCompileTargets); and others... and BeforeRecourseCompileTargets contains only ";BeforeResourceCompile;"...

View Article

VS2015 MSBuild on build server cannot find cl.exe

I did try the Visual C++ Build Tools 2015 on a test build machine and it seems to work with my C++ solutions, but it is a pre-release and not meant for production. I need something that will work for...

View Article

Common issues when porting applications to ARM64

Hello everyone,In the past 6 months since I got my first Windows on ARM laptop I've ported several open source project to the platform and I thought it'd be a good idea to present all the common issues...

View Article


How to manually create a ipa file for iOS simulator platform build?

I need to test an application on a iOS simulator, but the iPA option cannot be checked for iOS simulator build. The ipa does not come out even though I manually modify the configuration xml file. Is...

View Article

CreateAppHost Task Failed Unexpectedly

Just created a new Console Application project in C# and was not able to build it. Is there any way to fix this?I haven't even touched the code:using System; namespace Catan { class Program { static...

View Article


[VS2019] Error: Task 'ValidateAppxManifest' failed. Unspecified error - again...

The complete build error is Task 'ValidateAppxManifest' failed. Unspecified error 'Microsoft Corporation' violates pattern constraint of '\bms-resource':.[1,256]'.(In place of Microsoft Corporation...

View Article

MSBuild Errors in a VS2019 Qt Project (Using Qt VS2019 Tools Extension)

Hi.I have installed Qt version 5.13.2 on my machine and have also installed the VS2019 extension Qt VS2019 Tools.  I tried to use the extension to build a Qt project based on this Qt example.  First it...

View Article


Could not load file or assembly 'Microsoft.SqlServer.BatchParser,...

I am attempting to run a build in TFS 2018. We also have SQL Server 2016 installed on the TFS build server (which is Windows Server 2016). The first project (web project) produces the following error,...

View Article

Blanking out macro list for property editor in VS 2019 community (not desirable)

The following properties file when placed with a simple CPP project file (I used Hello World.cpp found on the net I doubt one can get simpler than that) as Directory.Build.props will display the macro...

View Article

Jenkin Definition for microservice in .NET core

I have ASP.NET Core project with about 30 micro services. All applications live in the same repository and with same structure of each micro services. Do we need to create 30 separate definition in...

View Article
Browsing all 2763 articles
Browse latest View live