Skip to content

Commit

Permalink
fix resolve MG Audio TypeReaders (#1552)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkast authored May 12, 2024
1 parent 81404d6 commit 34205ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ internal static Type ResolveReaderType(string readerTypeName)
return readerType;

resolvedReaderTypeName = readerTypeName;
resolvedReaderTypeName = resolvedReaderTypeName.Replace(", MonoGame.Framework", string.Format(", {0}", ", Xna.Framework.Audio"));
resolvedReaderTypeName = resolvedReaderTypeName.Replace(", MonoGame.Framework", string.Format(", {0}", "Xna.Framework.Audio"));
readerType = Type.GetType(resolvedReaderTypeName);

Check warning on line 241 in src/Xna.Framework.Content/Content/ContentTypeReaderManager.cs

View workflow job for this annotation

GitHub Actions / build

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.
if (readerType != null)
return readerType;
Expand Down

0 comments on commit 34205ba

Please sign in to comment.