Questions tagged [msbuild]
Microsoft Build Engine, also known as MSBuild, is a build platform for managed code and was part of .NET Framework.
msbuild
15,165
questions
0
votes
0
answers
33
views
Automatically gathering .ifc files with MSBuild
I have two projects that both use C++20 modules made with Visual Studio 2022. One is a library and builds just fine. The actual executable project is where it gets complicated. For it to build ...
0
votes
0
answers
25
views
Avoiding MSBuild version with GitHub action
Currently in my github actions i am using
" uses: microsoft/setup-msbuild@v1"
instead of updating this to newest version i was wondering if it's good idea to use @main insted to avoid ...
1
vote
1
answer
28
views
Git Hub: how to update .yml scripts to include MSVC141
We are running a project on VS2019. it worked fine until last 2 months. suddenly it is raining exception SymbolScanner_Sharing\stdafx.h(22,10): fatal error C1083: Cannot open include file: 'atlbase.h':...
0
votes
0
answers
56
views
Multiple tags for docker image in VS 2022
I'd like to tag a image (dockerfile build from VS 2022) with :latest and a version number (ideally taken from the MSBuild property VersionPrefix). Is this possible within VS?
I already tried to set ...
2
votes
1
answer
78
views
Jenkins Warnings plugin - Quality Gate on MSBuild - Reference build recorder is not configured, why?
I'm trying to implement Quality Gate via the Warnings plugin in Jenkins on my Delphi projects (based on MSBuild). The final goal, for now, is to mark as failed any build that has a count of hints+...
0
votes
1
answer
35
views
Build solution file using batch commands on Git repository
Our is .Net project and we are planning jenkins pipeline to copy dlls from deploy folder.
We need to create batch file which should clean and build solution and copy dlls to deploy folder on git.
Our ...
0
votes
0
answers
23
views
VSCode 'csproj' actions only if the target is Windows
I am helping refactor some code so that it builds on both Windows and Linux.
All is well until an external, 3rd party, tool is needed.
Under windows this has been copied to the output folder via some ...
0
votes
0
answers
37
views
C# Extern Aliases with 2 packages only working with 1 package
I have a simple setup where I have 2 nuget packges that share the same namespace. I'm trying to use aliases to reference both packages in 1 console app, but ensure I alias them so that I can use both.
...
0
votes
1
answer
22
views
Path.GetFullPath in MSBuild not working. What am I doing wrong?
I have several different automations in my solution.
Many of them uses [System.IO.Path]::GetFullPath to help avoid missing files and the like.
However, Recently I added another project, but for some ...
0
votes
0
answers
20
views
When building a Xamarin.iOS app, why is there a Distribution provisioning profile match for a Developer Signing Identity?
I have a project file where the Debug|iPhoneSimulator configuration has this:
<CodesignKey>iPhone Developer</CodesignKey>
<CodesignProvision>Automatic</CodesignProvision>
...
0
votes
1
answer
72
views
dotnet test command not finding Microsoft.TextTemplating.targets
I have this line inside my csproj
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TextTemplating\Microsoft.TextTemplating.targets" />
But ...
0
votes
1
answer
25
views
Documentation for MSBuild Errors
Is there any documentation pertaining to specific MSBuild errors? I searched the web but couldn't locate anything.
I am looking for documentation that would explain what is the import of a specific ...
0
votes
0
answers
25
views
`msbuild` of `vcxproj` in Release configuration is referencing Debug runtime
I have a simple C project which warps a x64 MASM project. When this builds in Release configuration the resulting dll still references VCRUNTIME140D.dll and VCRUNTIME140_1D.dll which I understand are ...
0
votes
1
answer
30
views
msbuild command is coping all the non required folder to out path of another folder
i have a monolith solution that has 2 kinds of projects:
running of 4.8 .net framework
running on 3.1 .net core
for projects running on 4.8 has output path is "c:\product"
for a project ...
0
votes
1
answer
496
views
NSwag start the .NET 8 API Project in Command="$(NSwagExe_Net80) run NSwag.json /variables:Configuration=$(Configuration)"
In the Dotnet API project, recently we are upgradign .NET version from 6 to 8.
In the new version of the application, in the nswag.json file
"documentGenerator" engine is changed from "...