Bug 34022 - Ignoring .vcxproj and .vcproj if in sub-directory
Summary: Ignoring .vcxproj and .vcproj if in sub-directory
Status: NEW
Alias: None
Product: Tools
Classification: Mono
Component: xbuild ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-09-16 19:00 UTC by kalsheraut
Modified: 2015-09-17 08:27 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
project solution (see https://github.com/wolfSSL/wolfssl/blob/master/wolfssl.sln for the other as only one file may be attached) (10.03 KB, application/octet-stream)
2015-09-16 19:00 UTC, kalsheraut
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 34022 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description kalsheraut 2015-09-16 19:00:15 UTC
Created attachment 12920 [details]
project solution (see https://github.com/wolfSSL/wolfssl/blob/master/wolfssl.sln for the other as only one file may be attached)

To whom it may concern,

This is not so much a bug report and more a question but I found no info@ alias in my google juice. Forward this on
if necessary.

Working on Ubuntu 14.04 LTS 64-bit
XBuild Engine Version 4.0 and 12.0 (Both give the same results)
Mono, Version 4.0.4.0 

Hello. I am working on a dual-licensed open source project wolfSSL (https://github.com/wolfSSL/wolfssl)

We have two visual studio solutions that live in the root directory one uses the older vcproj and the other uses newer
vcxproj. Each sub-project that is part of the main solution uses the same corresponding file format as the main project:
Below is a feel for the layout of our file system:
root
   |- wolfssl.sln which uses wolfssl.vcproj
                                          |- examples/client/client.vcproj
                                          |- examples/server/server.vcproj ... etc.
   |- wolfssl64.sln which uses wolfssl.vcxproj
                                          |- examples/client/client.vcxproj
                                          |- examples/server/server.vcxproj ... etc.

When running the command "xbuild wolfssl64.sln" or "xbuild wolfssl.sln" the report always states that it is ignoring the sub-projects. Is this intended behavior? If not is there something I'm missing?

I will attach our .sln files for your reference. Is there a way we can get these tests running WITHOUT making modifications
(IE Environment detection veriables) to our .sln files? These files are already in use by many projects and any change
to them will generate issues for our customers. Thank you so much in advance.






*************************************** Begin Output ****************************************************
*********************************************************************************************************

I execute these builds both on the local machine and from Jenkins for testing and see the following ouput:

Path To MSBuild.exe: /usr/lib/mono/xbuild/12.0/bin/xbuild.exe
Executing the command /usr/lib/mono/xbuild/12.0/bin/xbuild.exe wolfssl64.sln from /var/lib/jenkins/jobs/Visual_Studio_Test/workspace
[workspace] $ /usr/lib/mono/xbuild/12.0/bin/xbuild.exe wolfssl64.sln
XBuild Engine Version 12.0
Mono, Version 4.0.4.0
Copyright (C) 2005-2013 Various Mono authors

Build started 9/16/2015 4:51:55 PM.
__________________________________________________
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Ignoring vcproj 'wolfssl'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Ignoring vcproj 'testsuite'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Ignoring vcproj 'sslSniffer'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Ignoring vcproj 'echoserver'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Ignoring vcproj 'echoclient'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Ignoring vcproj 'client'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Ignoring vcproj 'server'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Failed to find project 73973223-5ee8-41ca-8e88-1d60e89a237b
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Failed to find project 611e8971-46e0-4d0a-b5a1-632c3b00cb80
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Failed to find project 34fae5a6-2b0f-4b55-86fe-0c43e4810f4d
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Failed to find project 07d97c48-e08f-4e34-9f67-3064039ff2cb
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Failed to find project 8362a816-c5dc-4e22-b5c5-9e6806387073
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Failed to find project 3ade9549-582d-4d8e-9826-b172197a7959
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Failed to find project e9fb0ba5-ba46-4a59-a953-39c18cd1dcb1
Project "/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln" (default target(s)):
	Target ValidateSolutionConfiguration:
		Building solution configuration "Debug|Win32".
Done building project "/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln".

Build succeeded.

Warnings:

/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Ignoring vcproj 'wolfssl'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Ignoring vcproj 'testsuite'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Ignoring vcproj 'sslSniffer'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Ignoring vcproj 'echoserver'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Ignoring vcproj 'echoclient'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Ignoring vcproj 'client'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Ignoring vcproj 'server'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Failed to find project 73973223-5ee8-41ca-8e88-1d60e89a237b
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Failed to find project 611e8971-46e0-4d0a-b5a1-632c3b00cb80
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Failed to find project 34fae5a6-2b0f-4b55-86fe-0c43e4810f4d
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Failed to find project 07d97c48-e08f-4e34-9f67-3064039ff2cb
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Failed to find project 8362a816-c5dc-4e22-b5c5-9e6806387073
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Failed to find project 3ade9549-582d-4d8e-9826-b172197a7959
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl64.sln:  warning : Failed to find project e9fb0ba5-ba46-4a59-a953-39c18cd1dcb1

executing script 'run_wolfssl64_solution'
[workspace] $ /bin/sh /tmp/build_step_template1055018952645230405.sh
Built wolfssl64.sln successfully.
Path To MSBuild.exe: /usr/lib/mono/xbuild/12.0/bin/xbuild.exe
Executing the command /usr/lib/mono/xbuild/12.0/bin/xbuild.exe wolfssl.sln from /var/lib/jenkins/jobs/Visual_Studio_Test/workspace
[workspace] $ /usr/lib/mono/xbuild/12.0/bin/xbuild.exe wolfssl.sln
XBuild Engine Version 12.0
Mono, Version 4.0.4.0
Copyright (C) 2005-2013 Various Mono authors

Build started 9/16/2015 4:51:56 PM.
__________________________________________________
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Ignoring vcproj 'wolfssl'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Ignoring vcproj 'testsuite'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Ignoring vcproj 'sslSniffer'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Ignoring vcproj 'echoserver'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Ignoring vcproj 'echoclient'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Ignoring vcproj 'client'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Ignoring vcproj 'server'.
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Failed to find project 73973223-5ee8-41ca-8e88-1d60e89a237b
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Failed to find project 611e8971-46e0-4d0a-b5a1-632c3b00cb80
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Failed to find project 34fae5a6-2b0f-4b55-86fe-0c43e4810f4d
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Failed to find project 07d97c48-e08f-4e34-9f67-3064039ff2cb
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Failed to find project 8362a816-c5dc-4e22-b5c5-9e6806387073
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Failed to find project 3ade9549-582d-4d8e-9826-b172197a7959
/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Failed to find project e9fb0ba5-ba46-4a59-a953-39c18cd1dcb1
:  warning : Default tasks file /usr/lib/mono/3.5/Microsoft.Common.tasks not found, ignoring.
Project "/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln" (default target(s)):
	Target ValidateSolutionConfiguration:
: error : Error initializing task Message: Not registered task Message.
		Build FAILED.
		Warnings:
		/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Ignoring vcproj 'wolfssl'.
		/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Ignoring vcproj 'testsuite'.
		/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Ignoring vcproj 'sslSniffer'.
		/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Ignoring vcproj 'echoserver'.
		/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Ignoring vcproj 'echoclient'.
		/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Ignoring vcproj 'client'.
		/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Ignoring vcproj 'server'.
		/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Failed to find project 73973223-5ee8-41ca-8e88-1d60e89a237b
		/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Failed to find project 611e8971-46e0-4d0a-b5a1-632c3b00cb80
		/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Failed to find project 34fae5a6-2b0f-4b55-86fe-0c43e4810f4d
		/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Failed to find project 07d97c48-e08f-4e34-9f67-3064039ff2cb
		/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Failed to find project 8362a816-c5dc-4e22-b5c5-9e6806387073
		/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Failed to find project 3ade9549-582d-4d8e-9826-b172197a7959
		/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln:  warning : Failed to find project e9fb0ba5-ba46-4a59-a953-39c18cd1dcb1
		:  warning : Default tasks file /usr/lib/mono/3.5/Microsoft.Common.tasks not found, ignoring.
		Errors:
		/var/lib/jenkins/jobs/Visual_Studio_Test/workspace/wolfssl.sln (default targets) ->
		(ValidateSolutionConfiguration target) ->
			: error : Error initializing task Message: Not registered task Message.
Build step 'Build a Visual Studio project or solution using MSBuild' marked build as failure
Finished: FAILURE