You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[One .NET] update user-facing messages from .NET 5 to .NET 6 (#5300)
Since 6f761ea gets us on a build of .NET 6, we can update all user-
facing messaging to say .NET 6 instead of .NET 5.
* Documentation around building `xamarin-android`
* Error/warning messages
I also updated a few things other things that should say .NET 6:
* `NuGet.config` sources in MSBuild tests
* `@(FrameworkListRootAttributes)` for our .NET 6 packages
I did not update various code comments, as most of them say .NET 5+
and are not user-facing.
Other changes in `OneDotNet.md`:
* Started a new `Runtime behavior` section with a link to
`string.IndexOf()` behavior.
* Link to `net6-samples` as the source for .NET 6 example projects
and installation instructions.
Copy file name to clipboardExpand all lines: Documentation/guides/messages/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ ms.date: 01/24/2020
47
47
+[XA0033](xa0033.md): Failed to get the Java SDK version because the returned value does not appear to contain a valid version number.
48
48
+[XA0034](xa0034.md): Failed to get the Java SDK version.
49
49
+[XA0035](xa0035.md): Failed to determine the Android ABI for the project.
50
-
+[XA0036](xa0036.md): $(AndroidSupportedAbis) is not supported in .NET 5 and higher.
50
+
+[XA0036](xa0036.md): $(AndroidSupportedAbis) is not supported in .NET 6 and higher.
51
51
+ XA0100: EmbeddedNativeLibrary is invalid in Android Application projects. Please use AndroidNativeLibrary instead.
52
52
+[XA0101](xa0101.md): warning XA0101: @(Content) build action is not supported.
53
53
+[XA0102](xa0102.md): Generic `lint` Warning.
@@ -105,13 +105,13 @@ Please disable fast deployment in the Visual Studio project property pages or ed
105
105
+ XA1021: Specified source Java library not found: {file}
106
106
+ XA1022: Specified reference Java library not found: {file}
107
107
+[XA1023](xa1023.md): Using the DX DEX Compiler is deprecated.
108
-
+[XA1024](xa1024.md): Ignoring configuration file 'Foo.dll.config'. .NET configuration files are not supported in Xamarin.Android projects that target .NET 5 or higher.
108
+
+[XA1024](xa1024.md): Ignoring configuration file 'Foo.dll.config'. .NET configuration files are not supported in Xamarin.Android projects that target .NET 6 or higher.
109
109
+[XA1027](xa1027.md): The 'EnableProguard' MSBuild property is set to 'true' and the 'AndroidLinkTool' MSBuild property is empty, so 'AndroidLinkTool' will default to 'proguard'.
110
110
+[XA1028](xa1028.md): The 'AndroidEnableProguard' MSBuild property is set to 'true' and the 'AndroidLinkTool' MSBuild property is empty, so 'AndroidLinkTool' will default to 'proguard'.
111
111
112
112
## XA2xxx: Linker
113
113
114
-
+[XA2000](xa2000.md): Use of AppDomain.CreateDomain() detected in assembly: {assembly}. .NET 5 will only support a single AppDomain, so this API will no longer be available in Xamarin.Android once .NET 5 is released.
114
+
+[XA2000](xa2000.md): Use of AppDomain.CreateDomain() detected in assembly: {assembly}. .NET 6 will only support a single AppDomain, so this API will no longer be available in Xamarin.Android once .NET 6 is released.
115
115
+[XA2001](xa2001.md): Source file '{filename}' could not be found.
116
116
+[XA2002](xa2002.md): Can not resolve reference: \`{missing}\`, referenced by {assembly}. Perhaps it doesn't exist in the Mono for Android profile?
117
117
+ XA2006: Could not resolve reference to '{member}' (defined in assembly '{assembly}') with scope '{scope}'. When the scope is different from the defining assembly, it usually means that the type is forwarded.
Copy file name to clipboardExpand all lines: Documentation/guides/messages/xa1023.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ warning XA1023: Using the DX DEX Compiler is deprecated. Please set the DEX comp
12
12
```
13
13
14
14
```
15
-
error XA1023: Using the DX DEX Compiler is not supported in Xamarin.Android projects that target .NET 5 or higher. Please set the DEX compiler to 'd8' in the Visual Studio project property pages or edit the project file in a text editor and set the 'AndroidDexTool' MSBuild property to 'd8'.
15
+
error XA1023: Using the DX DEX Compiler is not supported in Xamarin.Android projects that target .NET 6 or higher. Please set the DEX compiler to 'd8' in the Visual Studio project property pages or edit the project file in a text editor and set the 'AndroidDexTool' MSBuild property to 'd8'.
16
16
```
17
17
18
18
## Issue
@@ -21,7 +21,7 @@ Google has deprecated the DX DEX Compiler in favor of the [D8 DEX
21
21
Compiler][d8]. On [February 1, 2021][dx], DX will no longer be a part
22
22
of Android SDK or Android Studio.
23
23
24
-
The DX DEX Compiler will not supported in .NET 5 or higher.
24
+
The DX DEX Compiler will not supported in .NET 6 or higher.
Copy file name to clipboardExpand all lines: Documentation/guides/messages/xa1024.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,15 @@ ms.date: 07/08/2020
8
8
## Example messages
9
9
10
10
```
11
-
warning XA1024: Ignoring configuration file 'Foo.dll.config'. .NET configuration files are not supported in Xamarin.Android projects that target .NET 5 or higher.
11
+
warning XA1024: Ignoring configuration file 'Foo.dll.config'. .NET configuration files are not supported in Xamarin.Android projects that target .NET 6 or higher.
12
12
```
13
13
14
14
## Issue
15
15
16
16
No support for [configuration files][config] such as `Foo.dll.config`
17
17
or `Foo.exe.config` is available in Xamarin.Android projects targeting
18
-
.NET 5 or higher. [`<dllmap>`][dllmap] configuration elements are not
19
-
supported in .NET 5 at all, and other element types for compatibility
18
+
.NET 6 or higher. [`<dllmap>`][dllmap] configuration elements are not
19
+
supported in .NET 6 at all, and other element types for compatibility
20
20
packages like [System.Configuration.ConfigurationManager][nuget] have
Copy file name to clipboardExpand all lines: Documentation/guides/messages/xa1026.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ warning XA1026: Using AAPT is deprecated in favor of AAPT2. Please enable 'Use i
12
12
```
13
13
14
14
```
15
-
error XA1026: Using AAPT is not supported in Xamarin.Android projects that target .NET 5 or higher. Please enable 'Use incremental Android packaging system (aapt2)' in the Visual Studio project property pages or edit the project file in a text editor and set the 'AndroidUseAapt2' MSBuild property to 'true'.
15
+
error XA1026: Using AAPT is not supported in Xamarin.Android projects that target .NET 6 or higher. Please enable 'Use incremental Android packaging system (aapt2)' in the Visual Studio project property pages or edit the project file in a text editor and set the 'AndroidUseAapt2' MSBuild property to 'true'.
Copy file name to clipboardExpand all lines: Documentation/guides/messages/xa2000.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.date: 1/13/2019
8
8
## Example messages
9
9
10
10
```
11
-
Use of AppDomain.CreateDomain() detected in assembly: {assembly}. .NET 5 will only support a single AppDomain, so this API will no longer be available in Xamarin.Android once .NET 5 is released.
11
+
Use of AppDomain.CreateDomain() detected in assembly: {assembly}. .NET 6 will only support a single AppDomain, so this API will no longer be available in Xamarin.Android once .NET 6 is released.
0 commit comments