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 20038 [details]
Include the Microsoft.NET.Sdk.Web.Publishing MSBuild targets used by .NET Core with Mono. Attached project uses this Microsoft.NET.Sdk.Web SDK and has several files included. To test the publishing you can run:
That should generate a bin/Debug/netcoreapp1.0/publish/wwwroot directory with some files.
This project should in theory also test that Microsoft.NET.Sdk.Web.ProjectSystem is properly included since there are extra files defined in the project that should not be compiled since they are in the wwwroot directory.
I am not sure about these 2. They don't work with .net installation of VS either.
Microsoft.NET.Sdk.Web.ProjectSystem is used by Microsoft.NET.Sdk.Web. It defines the various wildcard imports for things like wwwroot.
How is it not working? I tested it with a VS 2017 developer command prompt and msbuild /t:Publish seems to work for me.
I probably need to install some extra dependency of VS2017 to have them
Added on 2017-02 and master branches. Tested and working as of https://github.com/mono/msbuild/commit/d40ba7b9d9618d20b3457f915c41805a92cf1996 .