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 ArticleAll 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 Articlefatal 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 Articleerror 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 ArticleError 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 ArticleLightswitch 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 ArticleEnvironment 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 ArticleSemi-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 ArticleHow 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 ArticleVS2012 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 Articlec# 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 ArticlePost 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 Articleunable 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 ArticleHow 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 ArticleDistance 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 ArticleHow 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 ArticleIssues 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 ArticleCan 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 ArticleRelease 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