Home > error msb1003 > error msb1003

Error Msb1003

current working directory does not contain a project or solution file. ★★★★★★★★★★★★★★★ Soumitra MondalApril 1, 20130 0 0 0 You may find the below error message while trying to create or build a VC++ (Win32/MFC/ATL) project in Microsoft Visual Studio 2012: MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file. Please check the following reg keys (I printed what should be there and nothing else): [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0] "MSBuildToolsPath"="C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\" "MSBuildToolsRoot"="C:\\Windows\\Microsoft.NET\\Framework64\\" "FrameworkSDKRoot"="$(Registry:HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v7.0A@InstallationFolder)" "MSBuildRuntimeVersion"="4.0.30319" "SDK40ToolsPath"="$(Registry:HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v7.0A\\WinSDK-NetFx40Tools-x86@InstallationFolder)" "SDK35ToolsPath"="$(Registry:HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v7.0A\\WinSDK-NetFx35Tools-x86@InstallationFolder)" "MSBuildToolsPath32"="$(Registry:HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\MSBuild\\ToolsVersions\\4.0@MSBuildToolsPath)" "VCTargetsPath"="$(MSBuildExtensionsPath32)\\Microsoft.Cpp\\v4.0\\" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0\11.0] "FrameworkSDKRoot"="$(Registry:HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SDKs\\Windows\\v8.0A@InstallationFolder)" "SDK40ToolsPath"="$(Registry:HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SDKs\\Windows\\v8.0A\\WinSDK-NetFx40Tools-x86@InstallationFolder)" "SDK35ToolsPath"="$(Registry:HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SDKs\\Windows\\v8.0A\\WinSDK-NetFx35Tools-x86@InstallationFolder)" "WindowsSDK80Path"="$(Registry:HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SDKs\\Windows\\v8.0@InstallationFolder)" "VCTargetsPath"="$([MSBuild]::ValueOrDefault(‘$(VCTargetsPath)','$(MSBuildExtensionsPath32)\\Microsoft.Cpp\\v4.0\\v110\\'))" "VCTargetsPath10"="$([MSBuild]::ValueOrDefault(‘$(VCTarg

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up MSBuild error in Jenkins CI up https://blogs.msdn.microsoft.com/smondal/2013/04/01/msbuild-error-msb1003-specify-a-project-or-solution-file-the-current-working-directory-does-not-contain-a-project-or-solution-file/ vote 0 down vote favorite I have a weird error in Jenkins while doing an C# project build. I have a target specified in Jenkins which is the only target it needs to run. But in Jenkins console output I see the target has run without errors but then Jenkins is invoking MSBuild again and failing with a "No project or solution file error". I'm not sure http://stackoverflow.com/questions/26845102/msbuild-error-in-jenkins-ci why it's running MSBuild again after building the only target specified in the build parameters. This is what I have as build parameters in Jenkins: /v:d /T:UpdateDLLs Jenkins console output is as follows, Done building target "UpdateQuadraDLLs" in project "BatchBuild.xml". Done Building Project "C:\Program Files\Jenkins\workspace\Core3.0\Build\BatchBuild.xml" (UpdateDLLs target(s)). Build succeeded. 0 Warning(s) 0 Error(s) Time Elapsed 00:00:00.39 Path To MSBuild.exe: msbuild.exe Executing the command cmd.exe /C " msbuild.exe " && exit %%ERRORLEVEL%% from C:\Program Files\Jenkins\workspace\Core3.0 [Core3.0] $ cmd.exe /C " msbuild.exe " && exit %%ERRORLEVEL%% Microsoft (R) Build Engine Version 3.5.30729.1 [Microsoft .NET Framework, Version 2.0.50727.3053] Copyright (C) Microsoft Corporation 2007. All rights reserved. MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file. Build step 'Build a Visual Studio project or solution using MSBuild' marked build as failure c# jenkins msbuild share|improve this question edited Nov 10 '14 at 13:55 Jeff Bridgman 3,73282967 asked Nov 10 '14 at 13:36 RKB 162 It almost looks like you have a batch command specified somewhere else in your Jenkins build configuration. In the error message it specifically references a call to "cmd.exe /C msbuild.exe". This ob

or windows) with windows Powershell and MSBUILD What I use ? 1) MSBUILD 2) VS 2008 - The sample that https://consoleart.wordpress.com/tag/msbuild/ i will provide will depend upon a windows application and a https://forums.unrealengine.com/showthread.php?63099-Can-not-find-MSBuild-when-using-GenerateProjectFiles web application 3) Powershell - ease of scripting, next generation script for windows, search for Windows Powershell to learn more 4) SVN - Source code repos (you can alternatively use any source code repos for integrating) Before you Start(I mean : prerequisites) 1) Install MSBUILD error msb1003 - (if you already don't have it) 2) open PowerShell and type - MSBUILD, you must see something like this Microsoft (R) Build Engine Version 3.5.21022.8 [Microsoft .NET Framework, Version 2.0.50727.1433] Copyright (C) Microsoft Corporation 2007. All rights reserved. MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain error msb1003 a project or solution file. -if you get this then you have MSBUILD properlly installed -- if not then you probably must add the Env. Variables - to do this - right click my computer -> props -> Env. variables -> select path and add "C:\WINDOWS\Microsoft.NET\Framework\v3.5″ (for vs2008 installations, this might differ for vs2005 as it uses the 2.0 framework) 3) Make sure you have MSBUILD community tasks - its a freely available over the net… 4) SVN - a source code control management 5) I Tunes or any other music player - a good collection of songs - my favorite was OST - Batman, The Dark kinght . ok, this is how it works MSBUILD is blah blah blah, there is already enuf said abt this throughout the net… We need to give a solution file / .proj file with some target specified to msbuild to perform the BUILD. So create a fine named yourproject.proj, copy the following contents to it…

this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. User Tag List Results 1 to 2 of 2 Thread: Can not find MSBuild when using GenerateProjectFiles Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 03-16-2015,11:31 AM #1 0 Shoiko View Profile View Forum Posts Private Message Veteran Join Date Mar 2014 Posts 341 Can not find MSBuild when using GenerateProjectFiles msbuild-is-not-recognized on UnrealAnswers So I've tried re-installing VS 2013 for desktop. I've re-downloaded the source/disabled virus scans/ran as administrator. But still when I run the batch file. Does anyone know the script that calls this command so i can verify the path its using? Last edited by Shoiko; 03-16-2015 at 02:06 PM. Reply With Quote 03-16-2015,02:53 PM #2 0 Shoiko View Profile View Forum Posts Private Message Veteran Join Date Mar 2014 Posts 341 Shoiko gravatar image Shoiko 2 hours ago I removed 2008 but I still have VS 2003 for some tools i created years back that Can't easily update to the lastest VS. In this batch output i see that its linking to the VS 2003... OI Would I be able to remove that, make the solution and then reinstall 2003 and everything be good with the UE4 Engine on a compilation level? â–¼reply Shoiko gravatar image Shoiko 2 hours ago VS120COMNTOOLS=F:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\ ****** 32-bit toolchain: ****** Volume in drive F is Gateway Volume Serial Number is 683B-110F Directory of F:\Users\kevin.mitchell\Desktop 03/16/2015 12:48 PM

. 03/16/2015 12:48 PM .. 03/16/2015 12:43 PM 811 34402-get_vs_environment.bat 03/16/2015 12:48 PM Cleanmeup 03/16/2015 12:48 PM 123 info.txt 2 File(s) 934 bytes 3 Dir(s) 799,059,070,976 bytes free PATH=C:\Windows\SYSTEM32;C:\Windows;C

 

Related content

No related pages.