visual-studio-development-forums,msbuildRelated issues-Collection of common programming errors


  • msdn

  • msdn
    visual-studio-development-forums visual-studio-setup-and-installation
    I installed all the two dozen or so patches that came out yesterday to my Windows 7 64-bit system today, except for the one to VS 2010 titled KB2455033. I retried; I rebooted and retried; no luck and not much diagnostic information except “WindowsUpdate_00000643″”WindowsUpdate_dt000”.So I manually downloaded the file pointed to by the article, and ran it. No joy there either, but I got more information in the log. It’s about 15 KB long so I won’t post it all here (let me know

  • msdn
    visual-studio-development-forums msbuild
    Hi, it seems that arguments for MSBuild inside a build definition are not very well documented, Is there somewhere blog, wiki, MS web site…..I have a build definiton where it works fine on the localhost. However, when I change some of the arguments to deploy to a remote server (all necessary config has been done for Management services and delegation…..)MSBuild arguments are as follows :/p:DeployOnBuild=True /p:Configuration=Debug /p:DeployTarget=MsDeployPublish /p:MSDeployPublishMethod

  • msdn
    visual-studio-development-forums visual-studio-setup-and-installation
    I have recently installed VS 2010 for C programming.When I open a project, I get an error that says:An error occurred while creating or opening the C browsing database file D:\myprojects\test\test.sdf. Intellisense and browsing information will not be available for C projects.  Ensure that Microsoft SQL Server Compact 3.5 is installedand that no other projects are accessing this file.  If the problem persists, delete the file and reopen the solution.I have searched this forum for simil

  • msdn
    visual-studio-development-forums visual-studio-extensibility
    Hi to all,I’m lost with something that should be pretty easy to fix, but didn’t found any reference anywhere.Basically whenever I try to invoke a debugger action in response to an its own event, VS returns the error mentioned in the object.It clearly says that the debugger actions should not be called while inside a debugger event, but I need to invoke these actions based on the debugger event type. So, it’s impossible for me to avoid this.From what I understand, it has something to do with the

  • msdn
    visual-studio-development-forums testing-with-visual-studio-test-manager-mtm
    When i run a test using microsoft test manager 2010, i got the following error and i am not able to run any test. can you please help?TF53010: The following error has occurred in a Team Foundation component or extension:Date (UTC): 5/12/2011 9:10:21 AMMachine: TFSSRVApplication Domain: /LM/W3SVC/8080/ROOT/tfs-1-129496647457848612Assembly: Microsoft.TeamFoundation.Framework.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727Service Host: 61e34d8a-3995-492a-b0b1-

  • msdn
    visual-studio-development-forums microsoft-office-for-developers-forums visual-studio-tools-for-office-vsto
    I have a VSTO app-level Excel add-in. It works as expected in Excel 2007 and Excel 2010. However, if I open a workbook downloaded from an external website via HTTPS using Excel 2010, the workbook opens in Protected View (PV).  (I understand what Protected View is. I have read the blog articles posted in other threads.)I understand that the Excel events for this workbook are not fired. So, my add-in cannot effectively interact with the workbook while it is in PV. So far, so good.However, my

  • msdn
    visual-studio-development-forums visual-studio-unit-testing
    I’m reposting this question from: http://social.msdn.microsoft.com/Forums/windowsapps/en-US/74da9e17-47f4-4886-b607-8656a2822b80/windows-store-app-unit-testing-a-usb-device#fa693061-1c74-450e-a3a9-c9cc3074ad19I’m writing a USB device API for Windows Store Apps that uses Windows.Devices.USB API from Windows 8.1 to connect and communicate withthe custom USB device. I’m using the Visual Studio 2013 dev preview IDE. The following function in the library is used toconnect to the USB device. (Simplifi

  • msdn
    visual-studio-development-forums visual-studio-setup-and-installation
    When I try to install VSTS2008 on my x64 Vista machine setup fails apparently when installing .NET 3.5. The following is the error message in the log file:[12/11/07,12:04:48] Microsoft .NET Framework v3.5 (x64): \\products\public\products\developers\visual studio 2008\vsts\setup\..\wcu\dotnetframework\dotnetfx35setup.exe exited with return value 5100[12/11/07,12:04:48] InstallReturnValue: GFN_MID NET Framework v3.5 x64, 0x13ec[12/11/07,12:04:48] Setup.exe: AddGlobalCustomProperty[12/11/07,12:04:

  • msdn
    visual-studio-development-forums visual-studio-extensibility
    Hi,I have a created a VS Package that creates a code window using IVsUIShell.CreateDocumentWindow(). Two command filters are added to the textview of this code window using IVsTextView.AddCommandFilter. The command target (which implements IOleCommandTarget)QueryStatus functions get called correctly in VS2008. QueryStatus of first command target gets called and then that of the second one. (QueryStatus in both the command targets promptly call the nexttarget.QueryStatus). But in VS2010, Que

  • msdn
    visual-studio-development-forums msbuild
    Hi, it seems that arguments for MSBuild inside a build definition are not very well documented, Is there somewhere blog, wiki, MS web site…..I have a build definiton where it works fine on the localhost. However, when I change some of the arguments to deploy to a remote server (all necessary config has been done for Management services and delegation…..)MSBuild arguments are as follows :/p:DeployOnBuild=True /p:Configuration=Debug /p:DeployTarget=MsDeployPublish /p:MSDeployPublishMethod

  • msdn
    visual-studio-development-forums msbuild
    Hello,on a vast multi-solution application based on the .NET Fx 3.5 we are sometimes experiencing projects (that from a developer point-of-view are unchanged) being re-built by MSBuild, leading to a significant increase of the expected incremental build time.I’ve investigated a recent occurrence of this issue and can confirm that no project files (source code files, resource files, etc.), assembly references, compile outputs (bin/obj files), etc have been updated/deleted to explain why MSBuild i

  • T.S.
    c# build msbuild unmanaged finalbuilder
    I have done an Assembly with exported methods using R. Gieseckes UnmanagedExports dll. Building this assembly within VS 2012 works great. But building the assembly as part of a larger solution with FinalBuilder throws the following error:Parse IL: Parsing 1517 lines of IL took 120 ms.C:\BuildSource\branches\Standard\Projects\Intf_New\Interfaces\StdInterface\packages\UnmanagedExports.1.2.4.23262\tools\RGiesecke.DllExport.targets(42,5): error : Der Index, basierend auf 0 (null), muss größer als o

  • woggles
    msbuild tfs2010
    Hey Guys, I’m getting the error above when trying to run an automated build of one of our VB projects. I’ve been through the build logs and can’t find anything that suggests why it is failing. It has been set up in the same way as our other automated builds but is the only VB.NET (v3.5) project I’ve set up so far. Anyone seen anything similar/had the same problem?I’ve tried a bunch of different build configurations with no luck – just the error above and the message TF270015: ‘MSBuild.exe’ retu

  • msdn
    visual-studio-development-forums msbuild
    I am trying to use MSBuild from within ASP.NET code to compile a project using the Release Configuration.  Doing so logs the following in my log file.  When I executed the same code without trying to change the Configuration I had no problem. Build started 10/30/2006 6:20:57 PM.__________________________________________________Project “C:\Documents and Settings\joness\My Documents\Visual Studio 2005\Projects\ClassLibrary1\ClassLibrary1.sln” (default targets):Target ValidateSolutio

  • msdn
    visual-studio-development-forums msbuild
    HelloI have solution for VS6 with several projects and dependencies between then. After migration to VS2005 i got unexpected behaviour – every time i want to run “startup project” debug(even without changing anything) – VS2005 treats some projects as out-of-date,  perform link for them and perform custom build step (copies .dll file to specific folder). There is no such behaviour in VS6.  I tried /verbosity:diagnose, but with no effect. Log file doesnt tells which files are out of date

  • msdn
    visual-studio-development-forums msbuild
    I just setup TFS, and am trying to setup a simple test build. But it keeps throwing this:TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.Technical Information (for the administrative staff):Date (UTC): 2/6/2007 10:29:10 PMMachine: DEVTFSApplication Domain: msbuild.exeAssembly: Microsoft.TeamFoundation.Build.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a

  • msdn
    visual-studio-development-forums msbuild
     help me to resolve following errors1>makefile(8): fatal error U1033: syntax error : ‘=’ unexpected1>  Stop.1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command “set VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio 10.0\VC\1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: set VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 10.0\1>C:\Program Files\MSBuild\Mic

  • msdn
    visual-studio-development-forums msbuild
    Hello,         While building our current project using Visual studio 2005 we stumbled on this error, ===Error    16    The item “xxx” was specified more than once in the “Resources” parameter.  Duplicate items are not supported by the “Resources” parameter===          we traced the issue down to resource file naming convention differences between Windows Vista and Windows XPie, for a given form, if we include chinese traditional and chinese simplified resources,On

  • msdn
    visual-studio-development-forums msbuild
    Hi all,We encapsulated building embedded code in MSBuild project files, predefining the proper dependencies, to run them in parallel and reduce build time.It was working beautifully with significant reduction in time until we noticed that terminating the command-line build with CTRL-BREAK caused the main MSBuild.exe process to stop but the child processes kept on running. Using Process Explorer, you can seehow the MSBuild-spawned (via the Exec task) kept on running in the background. I assume th

Web site is in building