Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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 on
GitHub or Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 17726 [details]
Simple VB.NET project file
When trying to build a VB.NET project, I get the following output:
Building target "Build" in project "2.vbproj" ("2.vbproj").
Using task Vbc from Microsoft.Build.Tasks.Vbc, Microsoft.Build.Tasks.Core, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Task "Vbc" execution -- FAILED
Done building target "Build" in project "2.vbproj".-- FAILED
Done building target "Build" in project "2.vbproj" ("2.vbproj").
Done building project "2.vbproj".-- FAILED
Target performance summary:
19.095 ms Build 1 calls
Tasks performance summary:
10.267 ms Vbc 1 calls
This is on a very simple VB.NET project.
I added some debug output to xbuild and found that the ToolPath was not being generated correctly, which caused the failure. When I changed the Vbc task's GenerateFullPathToTool to be like the Csc task's GenerateFullPathToTool the project build correctly. I will submit a PR for this change.
I merged the PR, thank you!