Questions tagged [msbuild]

MSBuild, short for Microsoft Build Engine, serves as a sophisticated build platform designed for managed code and was an integral component of the .NET Framework.

Selenium faces timeout issues or may throw an Exception when executed within CCNET as a service

I am in the process of setting up Selenium tests to be executed by CCNET, which operates as a service on our build server. Below is my Project.build file: <Target Name="AutomationTests"> <Message Text="~~~~~~~~~~~~~~~~$(HARD_NEW_LINE)" /> &l ...

Is there a way to pass npm parameters to dotnet publish?

So here's the situation: I'm working with a private npm registry on a corporate network, and unfortunately I can't download from github. In order to make things work, I need to include --no-optional when running npm install which is called by dotne ...

The operation of the "CheckFileSystemCaseSensitive" task has encountered an unexpected failure. It was unable to load the file or assembly 'System.IO.FileSystem'

I recently upgraded my Visual Studio 2017 ASP.NET Core MVC web project by adding the Microsoft.TypeScript.MSBuild NuGet package v2.3.1 and updating my ASP.NET Core assemblies from 1.0.* to 1.1.1. However, after these changes, I encountered a new exception ...

Prevent a specific directory from being compiled in MSBuild using Typescript

I have a unique ASP.NET MVC / Angular2 project that utilizes MSBuild for compiling my Typescript files. Within the project, there is the complete Angular2 source code along with its NodeJS dependencies, in addition to my own Angular2 code (app.ts, etc.). ...

Implementing the strictNullCheck flag with msbuild

Can strict null checks be enabled when compiling using msbuild? I see in the documentation that the compiler option is --strictNullChecks, but I couldn't find any specific entry for it on the msbuild config page. Is there a method to activate this featur ...

Is it possible to utilize a Node NuGet package to install gulp and other npm packages using the package manager console?

I have developed a tool that runs on a visual studio build to automatically compile sass code. However, some backend developers do not have Node.js installed, which means sass is not being compiled on every build. To address this issue, I am exploring the ...

Troubleshooting GULP Build Task Failure in Visual Studio Team Services: Module Not Found Error

I've been working on setting up continuous integration for my project team. We are currently pushing an angular/node project to a git repository in Team Services. The build process runs smoothly until it encounters the gulp task. Before the gulp task, step ...

When publishing, TypeScript-compiled JS files fail to be included, even though they are included during the build process in Debug and Release modes

My .NET MAUI project includes TypeScript files in the Scripts\scriptfiles.ts folder, which are compiled into wwwroot\js\scriptfiles.js. Everything functions properly until my client attempts to publish it, at which point all script files go ...