Questions tagged [msbuild]

14 questions
24
votes
4 answers

Why should I use MSBuild instead of Visual Studio Solution files?

We're using TeamCity for continuous integration and it's building our releases via the solution file (.sln). I've used Makefiles in the past for various systems but never msbuild (which I've heard is sorta like Makefiles + XML mashup). I've seen…
DeepSpace101
  • 1,394
  • 5
  • 14
  • 26
8
votes
2 answers

Why isn't anyone talking about parallel compilation for .Net?

Builds are slow and take time. We can get MSBuild to parallelize them, but only on a single machine, not across a cluster. Why hasn't anyone come up with clustered build solutions in the .Net space? I know such solutions exist in the C++ space…
Dmitri Nesteruk
  • 189
  • 1
  • 1
  • 10
7
votes
3 answers

How do I structure code and builds for continuous delivery of multiple applications in a small team?

Background: 3-5 developers supporting (and building new) internal applications for a non-software company. We use TFS although I don't think that matters much for my question. I want to be able to develop a deployment pipeline and adopt continuous…
6
votes
2 answers

Why we should build with the highest warning level in .NET?

I heard that we have to build with the highhest warning level. Is it true? why? And how to change default .NET warning level?
Mohammad Nezhad
4
votes
3 answers

Can I use MSBuild to build old VS6 C++ projects?

I have a build computer where Visual Studio not installed, only MSbuild which can build VS2008 projcets without having any Visual Studio installed. I wonder whether it is possible to use MSbuild with VC++ 6.0 project files, although I am thinking…
awe
  • 282
  • 3
  • 13
4
votes
1 answer

Do MSBuild project files serve the same purpose as NMAKE makefiles in a build process? (practically equivalent)

I'm finding it difficult to understand Microsoft's motive behind building conceptual "projects" like this. They ship MSBuild.exe and NMAKE.exe together with a Visual Studio 2015 install but they both appear to serve the same purpose. If they are…
3
votes
1 answer

How is the build for a msdeployment project different than a regular web application project?

In our CI environment we build all the cs projects and then build the deployment projects. The deployment projects do an extra step of compiling the aspx & ascx files and often catch errors that would normally be caught at run time. 1) Is there a…
Matt
  • 133
  • 5
2
votes
1 answer

Cross-platform library: how to organize project?

Our company develops and sells a cross-platform C++ library. We distribute binary only versions for Windows, Mac OS X, Linux, iOS, Android, etc. The only source code the customers get is the header files with the class interfaces. Our IDE is Visual…
1
vote
3 answers

Ms Build publishing vs Visual Studio IDE publishing

I am currently working on ms build to publish my winform application based on the environment selected (Dev or Prod). I am using Ms Build Community Task and referencing this article to achieve this purpose. I had a few theoretical doubts based on…
reggie
  • 153
  • 6
1
vote
1 answer

C# Source Generator : which way to go for a simple GitHub Community Project

CONTEXT My project is about implementing the "conventional method for house-energy-efficiency assessment" in France (120 pages). I want to provide a strict yet easy to use API to this method. At first, the audience will be engineers that are not…
1
vote
1 answer

Handling generated files in a Visual Studio Project

I have a Visual Studio Project that is using a MSBuild task to generate some code files. (The basis are xml files, and the generated code is quite lengthy, but noting special, just a lot of boilerplate.) I’m not sure how I should handle the…
Martin
  • 466
  • 5
  • 12
0
votes
1 answer

Why use Grunt for JavaScript-related files instead of relying on MSBuild?

In a Microsoft ecosystem (i.e. WebForms/MVC/WebAPI VisualStudio projects) why should I rely on an external task runner for JavaScript files like Grunt if I already have MSBuild at my disposal as the default building/task running system? When I first…
julealgon
  • 277
  • 1
  • 9
0
votes
2 answers

Trust .net compiler after Microsoft updates

Microsoft releases upgrades and changes to .net, msbuild and Visual Studio quite frequently. How can I be sure the MSIL code created by msbuild or the Roslyn compiler in VS 2015 will be the same or behave the same after the updates? Completely…
EagleHail
  • 3
  • 1
0
votes
3 answers

Deployment Tools that Integrate with TFS?

So I have this issue. The Operations team where I work has taken over TFS because they are using MS Build to build and deploy code to production servers. As a result developers have lost A LOT of functionality from TFS (see earlier…