-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning when referencing a project with GenerateDocumentationFile true #15897
Comments
Note: Also occurs for Mac Catalyst, but not for Android. |
This is related to #14939, but the solution would be:
|
…a 'PublishFolderType' metadata... This is a bug in xamarin-macios: xamarin/xamarin-macios#15897
|
…Fixes xamarin#14939 and fixes xamarin#15897. This fixes a warning when documentation is enabled for a project: > The file '~/.nuget/packages/fsharp.core/6.0.0/contentFiles/any/netstandard2.1/FSharp.Core.xml' does not specify a 'PublishFolderType' metadata, and a default value could not be calculated. The file will not be copied to the app bundle. This doesn't change any behavior (as the warning says, the file wasn't copied to the app bundle before either), but it makes the behavior explicitly documented and silences the warning. Fixes xamarin#14939. Fixes xamarin#15897.
Migrated from dotnet/maui#7272
Steps to Reproduce
MyClassLib/Class1.cs
and add an XML summary comment to the class:MyClassLib.csproj
and add the following to the<PropertyGroup>
element to enable generating the documentation file:dotnet build
on the solutionExpected Behavior
It should build without warnings
Actual Behavior
The following warning is shown:
Environment
Version information
Output of
dotnet --info
:Build Logs
msbuild.binlog.zip
Example Project
IosTest.zip
Workaround
Adding the following target to
MyTestApp.csproj
removes the warning.The text was updated successfully, but these errors were encountered: