Skip to content
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

Bump to .NET 6.0.100-preview.3.21201.23 #111

Merged
merged 1 commit into from
Apr 2, 2021

Conversation

jonathanpeppers
Copy link
Member

@jonathanpeppers jonathanpeppers commented Mar 25, 2021

  • Android 11.0.200.195
  • iOS 14.4.100.1320
  • macOS 11.1.100.1373
  • MacCatalyst 14.3.100.465
  • Bump min iOS versions.

@rolfbjarne
Copy link
Member

I think you'll need this too: e52520d

@jonathanpeppers
Copy link
Member Author

@rolfbjarne this has a lot of warnings like:

ILLink : Trim analysis warning IL2045: System.Xml.Serialization.TypeScope.GetConstructorFlags(Type,Exception&): Attribute 'System.ObsoleteAttribute' is being referenced in code but the linker was instructed to remove all instances of this attribute. If the attribute instances are necessary make sure to either remove the linker attribute XML portion which removes the attribute instances, or override the removal by using the linker XML descriptor to keep the attribute type (which in turn keeps all of its instances). [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2070: System.Xml.Serialization.TypeScope.GetConstructorFlags(Type,Exception&): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.NonPublicConstructors' in call to 'System.Type.GetConstructor(BindingFlags,Type[])'. The parameter 'type' of method 'System.Xml.Serialization.TypeScope.GetConstructorFlags(Type,Exception&)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2070: System.Xml.Serialization.TypeScope.GetDefaultIndexer(Type,String): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.PublicNestedTypes', 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.PublicEvents' in call to 'System.Type.GetDefaultMembers()'. The parameter 'type' of method 'System.Xml.Serialization.TypeScope.GetDefaultIndexer(Type,String)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2070: System.Xml.Serialization.TypeScope.GetDefaultIndexer(Type,String): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String,Type[])'. The parameter 'type' of method 'System.Xml.Serialization.TypeScope.GetDefaultIndexer(Type,String)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2070: System.Xml.Serialization.TypeScope.GetEnumeratorElementType(Type,TypeFlags&): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String,Type[])'. The parameter 'type' of method 'System.Xml.Serialization.TypeScope.GetEnumeratorElementType(Type,TypeFlags&)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2070: System.Xml.Serialization.TypeScope.GetEnumeratorElementType(Type,TypeFlags&): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String,Type[])'. The parameter 'type' of method 'System.Xml.Serialization.TypeScope.GetEnumeratorElementType(Type,TypeFlags&)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.TypeScope.GetEnumeratorElementType(Type,TypeFlags&): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String)'. The return value of method 'System.Reflection.MethodInfo.ReturnType.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2070: System.Xml.Serialization.TypeScope.GetEnumeratorElementType(Type,TypeFlags&): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods' in call to 'System.Type.GetMethod(String,BindingFlags,Type[])'. The parameter 'type' of method 'System.Xml.Serialization.TypeScope.GetEnumeratorElementType(Type,TypeFlags&)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2070: System.Xml.Serialization.TypeScope.GetEnumeratorElementType(Type,TypeFlags&): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.NonPublicConstructors', 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods', 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.NonPublicFields', 'DynamicallyAccessedMemberTypes.PublicNestedTypes', 'DynamicallyAccessedMemberTypes.NonPublicNestedTypes', 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties', 'DynamicallyAccessedMemberTypes.PublicEvents', 'DynamicallyAccessedMemberTypes.NonPublicEvents' in call to 'System.Type.GetMember(String,BindingFlags)'. The parameter 'type' of method 'System.Xml.Serialization.TypeScope.GetEnumeratorElementType(Type,TypeFlags&)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2070: System.Xml.Serialization.TypeScope.GetEnumeratorElementType(Type,TypeFlags&): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String,Type[])'. The parameter 'type' of method 'System.Xml.Serialization.TypeScope.GetEnumeratorElementType(Type,TypeFlags&)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2070: System.Xml.Serialization.TypeScope.ShouldBeReplaced(MemberInfo,Type,MemberInfo&): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties' in call to 'System.Reflection.TypeInfo.DeclaredProperties.get'. The parameter 'derivedType' of method 'System.Xml.Serialization.TypeScope.ShouldBeReplaced(MemberInfo,Type,MemberInfo&)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2070: System.Xml.Serialization.TypeScope.ShouldBeReplaced(MemberInfo,Type,MemberInfo&): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.NonPublicFields' in call to 'System.Reflection.TypeInfo.DeclaredFields.get'. The parameter 'derivedType' of method 'System.Xml.Serialization.TypeScope.ShouldBeReplaced(MemberInfo,Type,MemberInfo&)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2045: System.Xml.Serialization.XmlAttributes.XmlAttributes(ICustomAttributeProvider): Attribute 'System.ObsoleteAttribute' is being referenced in code but the linker was instructed to remove all instances of this attribute. If the attribute instances are necessary make sure to either remove the linker attribute XML portion which removes the attribute instances, or override the removal by using the linker XML descriptor to keep the attribute type (which in turn keeps all of its instances). [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2026: System.Xml.Serialization.XmlAttributes.IgnoreAttribute.get: Using method 'System.Reflection.Assembly.GetType(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlReflectionImporter.GetChoiceIdentifierType(XmlChoiceIdentifierAttribute,StructModel,Boolean,String): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String,BindingFlags)'. The return value of method 'System.Xml.Serialization.TypeModel.Type.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlReflectionImporter.GetChoiceIdentifierType(XmlChoiceIdentifierAttribute,StructModel,Boolean,String): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.PublicNestedTypes', 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.PublicEvents' in call to 'System.Type.GetMember(String,BindingFlags)'. The return value of method 'System.Xml.Serialization.TypeModel.Type.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2070: System.Xml.Serialization.XmlReflectionImporter.GetMethodFromSchemaProvider(XmlSchemaProviderAttribute,Type): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String,BindingFlags,Type[])'. The parameter 'type' of method 'System.Xml.Serialization.XmlReflectionImporter.GetMethodFromSchemaProvider(XmlSchemaProviderAttribute,Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlSerializationILGen.GenerateBaseSerializer(String,String,String,CodeIdentifiers): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.NonPublicConstructors' in call to 'System.Type.GetConstructor(BindingFlags,Type[])'. The return value of method 'System.Collections.Generic.Dictionary<TKey,TValue>.Item.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlSerializationILGen.GenerateBaseSerializer(String,String,String,CodeIdentifiers): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.NonPublicConstructors' in call to 'System.Type.GetConstructor(BindingFlags,Type[])'. The return value of method 'System.Collections.Generic.Dictionary<TKey,TValue>.Item.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlSerializationILGen.GenerateGetSerializer(Dictionary<String,String>,XmlMapping[],TypeBuilder): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.NonPublicConstructors' in call to 'System.Type.GetConstructor(BindingFlags,Type[])'. The return value of method 'System.Collections.Generic.Dictionary<TKey,TValue>.Item.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlSerializationILGen.GenerateSerializerContract(String,XmlMapping[],Type[],String,String[],String,String[],Dictionary<String,String>): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.NonPublicConstructors' in call to 'System.Type.GetConstructor(BindingFlags,Type[])'. The return value of method 'System.Collections.Generic.Dictionary<TKey,TValue>.Item.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlSerializationILGen.GenerateSerializerContract(String,XmlMapping[],Type[],String,String[],String,String[],Dictionary<String,String>): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.NonPublicConstructors' in call to 'System.Type.GetConstructor(BindingFlags,Type[])'. The return value of method 'System.Collections.Generic.Dictionary<TKey,TValue>.Item.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2072: System.Xml.Serialization.XmlSerializationILGen.GenerateTypedSerializer(String,String,XmlMapping,CodeIdentifiers,String,String,String): 'parent' argument does not satisfy 'All' in call to 'System.Xml.Serialization.CodeGenerator.CreateTypeBuilder(ModuleBuilder,String,TypeAttributes,Type,Type[])'. The return value of method 'System.Collections.Generic.Dictionary<TKey,TValue>.Item.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlSerializationILGen.GenerateTypedSerializer(String,String,XmlMapping,CodeIdentifiers,String,String,String): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods' in call to 'System.Type.GetMethod(String,BindingFlags,Type[])'. The return value of method 'System.Collections.Generic.Dictionary<TKey,TValue>.Item.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlSerializationILGen.GenerateTypedSerializer(String,String,XmlMapping,CodeIdentifiers,String,String,String): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods' in call to 'System.Type.GetMethod(String,BindingFlags,Type[])'. The return value of method 'System.Collections.Generic.Dictionary<TKey,TValue>.Item.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlSerializationILGen.GenerateTypedSerializers(Dictionary<String,String>,TypeBuilder): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.NonPublicConstructors' in call to 'System.Type.GetConstructor(BindingFlags,Type[])'. The return value of method 'System.Collections.Generic.Dictionary<TKey,TValue>.Item.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlSerializationReaderILGen.WriteAttributes(Member[],XmlSerializationReaderILGen.Member,String,LocalBuilder): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods' in call to 'System.Type.GetMethod(String,BindingFlags,Type[])'. The return value of method 'System.Xml.Serialization.TypeDesc.Type.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlSerializationReaderILGen.WriteAttributes(Member[],XmlSerializationReaderILGen.Member,String,LocalBuilder): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.NonPublicConstructors' in call to 'System.Type.GetConstructor(BindingFlags,Type[])'. The return value of method 'System.Xml.Serialization.TypeDesc.Type.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlSerializationReaderILGen.WriteSourceEnd(String,Type,Type): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods' in call to 'System.Type.GetMethod(String,BindingFlags,Type[])'. The return value of method 'System.Reflection.LocalVariableInfo.LocalType.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlSerializationReaderILGen.WriteSourceEnd(String,Type,Type): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'System.Type.GetConstructor(Type[])'. The return value of method 'System.Xml.Serialization.CodeGenerator.GetVariableType(Object)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2057: System.Xml.Serialization.XmlSerializationWriterCodeGen.WriteCheckDefault(TypeMapping,String,Object,Boolean): Unrecognized value passed to the parameter 'typeName' of method 'System.Type.GetType(String)'. It's not possible to guarantee the availability of the target type. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2057: System.Xml.Serialization.XmlSerializationWriterCodeGen.WriteCheckDefault(TypeMapping,String,Object,Boolean): Unrecognized value passed to the parameter 'typeName' of method 'System.Type.GetType(String)'. It's not possible to guarantee the availability of the target type. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlSerializationWriterILGen.WriteArrayItems(ElementAccessor[],TextAccessor,ChoiceIdentifierAccessor,TypeDesc,String,String): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String,Type[])'. The return value of method 'System.Xml.Serialization.TypeDesc.Type.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlSerializationWriterILGen.WriteCheckDefault(SourceInfo,Object,Boolean): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods' in call to 'System.Type.GetMethod(String,BindingFlags,Type[])'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2075: System.Xml.Serialization.XmlSerializationWriterILGen.WriteElement(SourceInfo,ElementAccessor,String,Boolean): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods' in call to 'System.Type.GetMethod(String,BindingFlags,Type[])'. The return value of method 'System.Xml.Serialization.TypeDesc.Type.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [D:\a\1\s\HelloMaui\HelloMaui.csproj]
ILLink : Trim analysis warning IL2080: System.Xml.Serialization.XmlSerializationWriterILGen.WriteText(SourceInfo,TextAccessor): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods' in call to 'System.Type.GetMethod(String,BindingFlags,Type[])'. The field 'System.Type System.Xml.Serialization.SourceInfo::Type' does not have matching annotations. The source value 

dotnet/maui has WarningsAsErrors turned on, so that is why my build was failing here: dotnet/maui#592

@jonathanpeppers jonathanpeppers force-pushed the 6.0.100-preview.3.21168.18 branch 2 times, most recently from 6bff872 to a7185d0 Compare March 25, 2021 19:35
@jonathanpeppers
Copy link
Member Author

@rolfbjarne I think this will fix the warnings: xamarin/xamarin-macios#10970

I did an equivalent in xamarin-android here: dotnet/android#5781

@jonathanpeppers
Copy link
Member Author

The build fails here due to:

C:\Program Files\dotnet\packs\Microsoft.iOS.Windows.Sdk\14.4.100-ci.main.1271\tools\msbuild\iOS\Xamarin.Messaging.Build.targets(107,3): error MSB4018: The "SayHello" task failed unexpectedly.
System.Collections.Generic.KeyNotFoundException: The given key '16786' was not present in the dictionary.
   at System.Collections.Concurrent.ConcurrentDictionary`2.ThrowKeyNotFoundException(TKey key)
   at System.Collections.Concurrent.ConcurrentDictionary`2.get_Item(TKey key)
   at Microsoft.Build.BackEnd.Logging.LoggingService.GetWarningsToBeLoggedAsErrorsByProject(BuildEventContext context)
   at Microsoft.Build.BackEnd.Logging.TaskLoggingContext.GetWarningsAsErrors()
   at Microsoft.Build.BackEnd.TaskHost.get_WarningsAsErrors()
   at Microsoft.Build.BackEnd.TaskHost.ShouldTreatWarningAsError(String warningCode)
   at Microsoft.Build.Utilities.TaskLoggingHelper.LogWarning(String subcategory, String warningCode, String helpKeyword, String helpLink, String file, Int32 lineNumber, Int32 columnNumber, Int32 endLineNumber, Int32 endColumnNumber, String message, Object[] messageArgs)
   at Microsoft.Build.Utilities.TaskLoggingHelper.LogWarningFromException(Exception exception)
   at Xamarin.Messaging.Build.Client.Tasks.SayHello.Execute() in C:\A\1\181\s\src\MSBuild\Xamarin.Messaging.Build.Client\Tasks\SayHello.cs:line 141
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [D:\a\1\s\fsharp\HelloiOSFSharp\HelloiOSFSharp.fsproj]

I think this must be an MSBuild bug.

@jonathanpeppers
Copy link
Member Author

We need a dotnet/sdk with this fix: dotnet/msbuild@1767736

@jonathanpeppers jonathanpeppers force-pushed the 6.0.100-preview.3.21168.18 branch 5 times, most recently from 7fbc2b4 to d606bf8 Compare March 31, 2021 14:09
@jonathanpeppers jonathanpeppers changed the title Bump to .NET 6.0.100-preview.3.21168.18 Bump to .NET 6.0.100-preview.3.21180.3 Mar 31, 2021
* Android 11.0.200.195
* iOS 14.4.100.1320
* macOS 11.1.100.1373
* MacCatalyst 14.3.100.465
* Bump min iOS versions.

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
@jonathanpeppers jonathanpeppers changed the title Bump to .NET 6.0.100-preview.3.21180.3 Bump to .NET 6.0.100-preview.3.21201.23 Apr 2, 2021
@jonathanpeppers jonathanpeppers merged commit 93159d9 into develop Apr 2, 2021
@jonathanpeppers jonathanpeppers deleted the 6.0.100-preview.3.21168.18 branch April 2, 2021 18:47
Redth added a commit that referenced this pull request Apr 8, 2021
* [azdo] add PR triggers for develop branch

Update README.md

* Adds instructions for building iOS from Windows (#60)

* Requires Xcode 12.4 now

Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>

* Bump iOS to a version that can build for and run on device. (#63)

* Revert "[android] temporarily disable fast deployment (#64)"

This reverts commit 7711787.

* [android] use .NET 6 AndroidX packages (#68)

* Bump to Microsoft.Android.Sdk 11.0.200.118, which includes fixes for
  Fast Deployment & NuGet packages.
* Minor cleanup in `README.md`

* Added VSCode Support (#72)

This includes a sample `.vscode` folder and instructions on how to use it.

* Update README.md

Mostly formatting & markdown warnings

* Fix the ordering of the VSCode prompts. (#73)

The `Build` command was prompting for `Project->Build Target->Configuration`.
However the `Run` command was prompting for
`Project->TargetFramework->AttachDebugger->Configuration`.

It makes more sense to prompt for the debugger last. That way the order
of the prompts are similar.

* Bump .NET 6 P2, Android, iOS (#70)

* Bump to .NET 6.0.100-preview.2.21114.3
* Bump to Android 11.0.200.136
* Bump to iOS 14.4.100-ci.main.1167

Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>

* GoodbyeForms

* Add a Mac Catalyst sample. (#71)

* Copy HelloIOS to HelloMacCatalyst & make it run on Catalyst.
* Update README with Mac Catalyst instructions
* Adds the Catalyst project to vs/net6-samples-ios.sln

Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>

* Initial maui template

* Update storyboard bg color

* Remove old .xib

* Remove eager semicolon

* Fix Readme

* Make Font icon more noticeable

* Move app icon for now

* Add launcher title

* Typo

* Fix shared manifest name

* Update Catalyst build url

* Bump iOS and Mac Catalyst. (#74)

* [catalyst] make label visible in dark mode (#75)

In dark mode, the app was completely white.

It seems we can just use no background color, and I get the system default background color.

I used `Blue` text like the iOS sample.

* Add RID's

* Add Catalyst resources

* Bump MAUI version

* Update README.md

* Try make the sample a bit nicer

* no more

* More tweaks

* Update Info.plist

* Update HelloMaui.csproj

* Fix whitespace

* Only target catalyst on macos, not windows

* Goodbye Forms, hello .NET MAUI

* Update README.md

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>

* Update HelloMaui/HelloMaui.csproj

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>

* Bump to .NET 6.0.100-preview.2.21155.3 (#79)

* Android 11.0.200.148
* iOS 14.4.100.1180
* MacCatalyst 14.3.100.325
* README, fix .sln for HelloMaui
* Fix Release builds for HelloMaui

* Fix iOS .sln files

The iOS .sln files didn't have the Deploy setting applied that is needed for VS Windows.

* click counter and additional controls (#80)

* Bump to latest iOS & MacCatalyst packages (#81)

This includes a signed MacCatalyst package now.

* [MacCatalyst] Add app icons for mac. (#82)

And remove app icons for other platforms.

* Add things to the HelloMaui sample (#83)

* click counter and additional controls
* Add compat and images

Co-authored-by: David Ortinau <david.ortinau@microsoft.com>

* Update iOS & Mac Catalyst Builds (#84)

Changes: xamarin/xamarin-macios@cc1918e...98c8649

This fixes the 'dotnet new' templates.

* Update to .NET MAUI p2 package version

* Update HelloMaui.csproj

* [maui] wildcard parts of version numbers

* [ios] ran 'dotnet format'

Fixed a namespace that was named weird, too.

* [macOS] add download link & sample (#89)

Fixes: #51

I brought this sample over from:

https://github.com/xamarin/xamarin-macios/tree/0e79b58fa8b07b0195ca611c7f1227036e44127b/tests/dotnet/MyCocoaApp

* Created a new `net6-samples-mac.sln` that we build only on Mac.

* Update net6-samples-mac.sln

Add HelloMacCatalystFSharp.csproj

* Update HelloMaui.csproj

* Bump to .NET 6.0.100-preview.3.21201.23 (#111)

* Android 11.0.200.195
* iOS 14.4.100.1320
* macOS 11.1.100.1373
* MacCatalyst 14.3.100.465
* Bump min iOS versions.

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>

* Bump to .NET 6.0.100-preview.3.21202.5 (#119)

  * Android 11.0.200.196
  * iOS 14.4.100.1326
  * macOS 11.1.100.1379
  * MacCatalyst 14.3.100.471

* Update to latest MAUI

* Register font for HelloMaui

* Use resource styling

* Add comet debug config

* Add lifecycle event example

* [Maui] Target maccatalyst only if SDK exists (#120)

* Update README.md

* Add catalyst condition for mac/omnisharp

* Update HelloMaui.csproj

* Update HelloMaui.csproj

* Add new SemanticProperties to controls in sample for P3 (#123)

* Add SemanticProperties to sample controls

* Try to fix diffs

* Add missing word "tool" for installing maui check (#122)

* Update HelloMaui.csproj

* Winui3 (#118)

* WinUI3 sample project

* - resources

* - fix font

* - set root folder for windows images

* - nuget update

* - build samples with CI

* - readme updates

* - restore

* - update readme

* - fix tabs

* Update README.md

let's take the positive approach to the VS req for WinUI3 rather than describing what doesn't work.

* Update README.md

* - link hack

Co-authored-by: David Ortinau <david.ortinau@microsoft.com>

* Add mono env var to work around debugger issue (#124)

* Add mono env var to work around debugger issue

* Update HelloMaui.csproj

Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>
Co-authored-by: Emanuel Fernandez Dell'Oca <ema@xamarin.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: Dean Ellis <dellis1972@googlemail.com>
Co-authored-by: E.Z. Hart <hartez@users.noreply.github.com>
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
Co-authored-by: David Ortinau <david.ortinau@microsoft.com>
Co-authored-by: Peter Collins <pecolli@microsoft.com>
Co-authored-by: Rachel Kang <rachelkang@microsoft.com>
Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants