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

Replace "True" property value with "+", all others with "" (empty String)

I have a property that is filled by a task with "True" or "False" string values.I want to convert only "True" values to "+" and I came up with:$(MyProperty.Replace('True', '+').Replace('False','')))I...

View Article


NuGet Publishing to Network shared drive and source symbol

Hi    I am using Visual studio 2013 with NuGet.  As a part of project I want to create NuGet package which should be copy/publish to network shared drive. I am publishing both regular package and...

View Article


.NET dll built with visual studio 2005 sp1 and KB2538218 can not run on...

Senario:1. Install VS2005 on windows 2003 X64 host.2. Install VS 2005 SP1.3. Apply windows security patch KB2538218.4. Build this DotNet X64 a.dll (C++ lagnuage).5. Deploy a.dll to customer environment...

View Article

Getting an error when compiling MSBuild.exe is stopped due to internal...

Error1 The build stopped unexpectedly because of an internal failure. Microsoft.Build.Exceptions.BuildAbortedException: Build was canceled. Failed to successfully launch or connect to a...

View Article

Missing entries in Build.log created using devenv (VS2012) /out argument

Hi,   I am facing issues while counting code analysis warnings in Log file created using devenv command line execution. Log created using DevEnv command line havesome missing lines and hence the...

View Article


Build Driver

i used vs 2012, installed wdk8.0 on  windows7 I want to build the driver for win8 x64. problem getting at  build driver , following error : C:\Program...

View Article

Running coded ui test as a part of build process without test controller/agent

Hi ,If i run my build controller as an interactive process and also associate my automation solution with the build , during the build my coded tests are run in my build controller machine itself.Now...

View Article

TFS MSBuild and wix

Hi,We are currently using TFS2013 and MSBuild for our build system. We recently migrated from TFS2012 where we had multiple wix projects using wix 3.7 and had no issues in building out the solution(s)...

View Article


Image may be NSFW.
Clik here to view.

error MSB4095

hello every,I'm building my project file but fail with error MSB4095.below is the target results in the error.<Target Name="Test"><Message Text="filename: @...

View Article


how to convert csc command to msbuild

hello,I'm think of a question, how to use MSBuild instead the command line.a simple sample:using System; class CSharpTest { static void Main() { Console.WriteLine("Hello world"); } }We can use the...

View Article

MSBuild fails with missing references sometimes

I have created a build in TFS 2013, using VS 2013. My solution builds correctly in Visual Studio, and I can open the solution from the drop folder on the build server and compile it as well. The...

View Article

Custom Tools are not available in SQL Server Projects

Does anyone know how to add a custom tool to an SQL Server project in Visual Studio. I have a tool that is analogous to MSDataSetGenerator, taking a schema.xsd file as input and generating several SQL...

View Article

Microsoft.Cpp.x64.Targets(152,5): error MSB6001: Invalid command line switch...

Greetings and Hi there, I am compiling a solution which is giving intermittent strange errors. I am using devenv.exe to build an existing solution which gives the following error :C:\Program Files...

View Article


Please help

Error1 Unable to find manifest signing certificate in the certificate store.Customs Please help solve the problem When re-download copy Visual happened this mis

View Article

Having problem during building the Solution of the project in Visual Studio 2012

------ Build started: Project: Venicom.CustomerPortal.DataContracts, Configuration: Debug Any CPU ------  Venicom.CustomerPortal.DataContracts ->...

View Article


ItemDefinitionGroup and InProject Metadata

Hi everyone,I have a custom .props file that I'm importing at the top of my .csproj file.  Its purpose is to define a new item group with default metadata; specifically, I want to set theInProject...

View Article

VS2010 builds while devenv fails with error MSB3103: Invalid Resx file....

When I use the VS2010 IDE to build my project it builds without any problem.If I use the devenv by command line to build the exact same project as:C:\Program Files (x86)\Microsoft Visual Studio...

View Article


The Command if not exist

when i'm trying to run the project i'm getting build error. i can not figure it out what's when wrong.  Error 1 The command "if not exist "C:\Users\Gayan\Documents\Visual Studio...

View Article

VS2013: warning MSB8028 when several *.vcxproj files reside in same directory

In my C++ source tree, I have a root directory with several *.vcxproj files used to build different subsets of projects in subdirectories:    all.vcxproj,   libraries.vcxproj, etc.These root projects...

View Article

Web Publish to remote server fails with ERROR_USER_UNAUTHORIZED

I am trying to publish a couple of web projects in a solution during msbuild to a remote web server.I have my build server, my appplication server and my laptop.The build server and the application...

View Article
Browsing all 2763 articles
Browse latest View live


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