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

MSBuild does not find .csproj file

I can build my project within Visual Studio 2008, but if I try to build it using MSBuild on the command line, it fails to find the .csproj file, which is located in the same folder as the sln file....

View Article


All custom build target rebuilt after a single custom target fails in VS2010...

We've run into a problem with VS2010SP1 where if a custom build target fails, then on the next build, all custom targets get rebuilt. This really slows down development. It sure looks like the...

View Article


.tlog files

I have few questions regarding .tlog files generated during build.What for are used .write.1.tlog files?From experiments and experience I think they are used (at least) to decide what files should be...

View Article

fatal error CS0013: Unexpected error writing metadata to file 'Not enough...

We have a Visual Studio 2010 solution running with just 3-4 projects in the solution.  This is a Windows Server 2008 32 Bit OS and 4GB RAM.  More often when building the solution, the error "fatal...

View Article

error MSB4057: The target "_Link" does not exit in the project.

I created a empty project in vs2012, and simply coded like this.----int main(){return 0;}----Then bluid fails with  "error MSB4057: The target "_Link" does not exit in the project."So I...

View Article


Error MSB6006: "cmd.exe" exited with code 3.

Hey, I have trouble compiling this program. Can someone help me out here? Here's the output: 1>------ Build started: Project: fluids_v3, Configuration: Debug Win32 ------ 1>Build started...

View Article

Image may be NSFW.
Clik here to view.

Lightswitch deploy error

 Hi, I got the issue when I deploying the lightswitch project . I don't know how to solve please give me something idea thanks a lot! 

View Article

Environment variable not inherited? after installing .NET 4.5

Hi,The problem is that a variable defined on process level cannot be seen in my nmake scipt anymore and the only change I do is to install .NET 4.5.  I did a small test to illustrate whats the problem...

View Article


Semi-Urgent (due to frustration) Deployment Project - Does not overwrite files

So,Quite simply, I have a whole slew of VisualStudio templates (and wizards) that need to be installed for them to work within Visual Studio.After design everything and testing everything, I created an...

View Article


How to access "Active solution platform" through a macro?

Hi,I want to access the name of the active *solution* platform through a macro, as I want to target different Windows-Version by specifying the platform.I know that I could duplicate the *project*...

View Article

VS2012 solution: selecting projects depends on OS(Windows 7, Windows 8)

hi,I want to know more information regarding VS2012 solution. Is there any possibility for selecting projects differently in same .sln file on Windows 7 OS and on Windows 8 OS?Example:test.sln is...

View Article

c# control sound coming from left/right speaker?

Hello,Is it possible to control the sound in c# code in order to switch the sound source between left and right speaker? I failed to find such information online.Thank you.

View Article

Post Build Events fail with Code 1

I have a VS2010 compilation issue. I have recently been upgraded to a new PC (which is 64 bit - Windows 7) :) But I cannot compile my Dot Net Apps :( It seems to be a problem with code we have in the...

View Article


unable to debug VB.net application

I have an large application in VB.net and when i run in debug mode some pages donot enter debug mode while other enter.We are using VS2010 with TFS.Please help I am new in team.

View Article

How to list the dependency of Incremental Build in MSBUILD

HiI am looking for a way to list the impacted DLLs/Lib/Exe when I make a change to a given file of type CS or CPP. I guess MSBUILD does know this dependency. Is there a way to find out this dependency...

View Article


Distance Calculator for a quote

I am designing an application for a booking system, which requires to provide a quote in relation to distance, this is possible to program on visual studies, where do I begin? 

View Article

How do I turn off static analysis in visual studio 2012?

I have large c++ solution that I need to build for XP Compatablity. I installed the vs 2012 update 3 and set platform toolset for "Visual Studio 2012 - Windows XP (v110_xp)" I builds in debug mode but...

View Article


Issues with Compiling CUDA-FIles in VS 2010 Professional: Error MSB3721

Hi,I just tried to compile a .cu file with Microsoft Visual Studio 2010 Professional.With .cpp files everything works fine, but when i enable the CUDA-compiler for a .cu file, VS 2010 gives me the...

View Article

Can you build a vdproj file with MSBuild yet?

I am trying to build a vdproj file that creates an MSI intaller. It works through Visual Studio, but when I run it using MSBuild (in .net 4.0.30319), I get the following:Build started 8/26/2013...

View Article

Release mode and APM\ "InProc Debugger"

We have automated build project using nant which intenally call MSBuil.exe and we pass configuration as release.As per information available on internet "Release" mode also build pdb files in optimized...

View Article
Browsing all 2763 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>