xamarin-macios/dotnet
Haritha Mohan 3dff232920
[dotnet] Enable generation of runtime configuration file (#17840)
Set the GenerateRuntimeConfigurationFiles (GRCF) property to true 
to avoid warnings at build time + add test for change.

Diving deeper into the fix...
- This warning only occurs with .NET apps which is why GRCF
is only updated in the dotnet directory and not msbuild (legacy)
- After examining the binlog (see issue), it was found that the GRCF 
was contingent upon the HasRuntimeOutput property, which is only 
defined for executable projects. And in this case, the user's project
output type is library thus both the RuntimeOutput and consequently 
GRCF properties were not enabled.
- By setting the GRCF to true we can address the original warning of 
concern while ensuring the rest of the projects's behavior is not
altered
in mysterious ways (i.e. by touching the RuntimeOutput property or the 
project output type instead, these changes could have extraneous
effects).

Fixes #17543

---------

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2023-03-23 08:10:04 -07:00
..
Microsoft.MacCatalyst.Sdk [dotnet] Generate the AutoImport.props file for each platform. (#15387) 2022-07-12 10:00:35 +02:00
Microsoft.iOS.Sdk [dotnet] Generate the AutoImport.props file for each platform. (#15387) 2022-07-12 10:00:35 +02:00
Microsoft.iOS.Windows.Sdk Remove xamarin iOS designtime targets import (#13659) 2022-01-10 13:03:33 +01:00
Microsoft.macOS.Sdk [dotnet] Generate the AutoImport.props file for each platform. (#15387) 2022-07-12 10:00:35 +02:00
Microsoft.tvOS.Sdk [dotnet] Generate the AutoImport.props file for each platform. (#15387) 2022-07-12 10:00:35 +02:00
Templates Add support for Visual Basic projects. (#17409) 2023-02-01 21:20:14 +01:00
Workloads [main] Updated Xamarin.Messaging to 1.9.59 (#17646) 2023-03-01 08:20:59 +01:00
package [devops] Make each platform its own maestro build. (#16301) 2022-10-11 23:55:30 +02:00
targets [dotnet] Enable generation of runtime configuration file (#17840) 2023-03-23 08:10:04 -07:00
.gitignore [net7.0] [workload] Update net6.0 KnownFrameworkReference (#15882) 2022-09-26 22:55:24 +02:00
BreakingChanges.md [dotnet] Update doc about breaking nfloat changes and when we generate a global using directive. (#14487) 2022-03-25 07:40:23 +01:00
BundleContents.md [dotnet] Add support for .so files (#16887) 2023-02-03 09:16:40 +01:00
DefaultCompilationIncludes.md [dotnet] Don't include @(Compile) and @(EmbeddedResource) items in @(BundleResource) items by default. Fixes #14442. (#14571) 2022-03-31 08:17:53 +02:00
HIERARCHY.md [dotnet] Add support for 'dotnet publish'. Fixes #11807. (#12397) 2021-08-11 10:01:16 +02:00
Makefile [vs-workload] Update VS Component versions (#17883) 2023-03-23 08:22:42 +01:00
PackageInfo.plist Fix typos in comments. 2020-10-19 10:38:11 +02:00
SingleProject.md [dotnet] rename $(AppleShortVersion) to $(ApplicationDisplayVersion) (#12647) 2021-09-08 10:13:29 -04:00
VERSIONS.md Adjust versioning scheme for .NET to make the third field the commit distance. (#14923) 2022-05-10 09:28:39 +02:00
build-custom-runtime.sh [configure] Add option to use a locally built dotnet/runtime. (#11643) 2021-05-21 22:18:25 +02:00
generate-target-platforms.csharp [dotnet] Create an MSBuild property for the current min OS version. (#17034) 2023-01-10 21:18:39 +01:00
generate-vs-workload.csharp [vs-workload] Remove @(MultiTargetPackNames) (#17838) 2023-03-20 15:36:44 -04:00
generate-wix.csharp [dotnet] Package the workloads in a Windows installer (.msi) as well. (#9979) 2020-10-28 11:09:55 +01:00
generate-workloadmanifest-json.csharp Add automatic support for not building iOS 32-bit stuff when min iOS version is >= 11.0 (#16746) 2022-11-18 07:59:46 +01:00