mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
Use format strings
This commit is contained in:
@@ -14,12 +14,12 @@
|
|||||||
<!-- This is the last version of NAudio to support net35 and net6.0 -->
|
<!-- This is the last version of NAudio to support net35 and net6.0 -->
|
||||||
<PackageReference Include="NAudio" Version="1.10.0" />
|
<PackageReference Include="NAudio" Version="1.10.0" />
|
||||||
<PackageReference Include="Zune.Xml" Version="0.1.1" />
|
<PackageReference Include="Zune.Xml" Version="0.1.1" />
|
||||||
<PackageReference Include="StrixMusic.Sdk" Version="0.1.0-alpha" />
|
<PackageReference Include="StrixMusic.Sdk" Version="0.1.0-alpha" />
|
||||||
<PackageReference Include="LibVLCSharp" Version="3.6.6" />
|
<PackageReference Include="LibVLCSharp" Version="3.6.6" />
|
||||||
<PackageReference Include="Meziantou.Framework.Win32.CredentialManager" Version="1.4.2" />
|
<PackageReference Include="Meziantou.Framework.Win32.CredentialManager" Version="1.4.2" />
|
||||||
|
|
||||||
<ProjectReference Include="..\libs\MicrosoftIris\UIX\UIX.csproj" />
|
<ProjectReference Include="..\libs\MicrosoftIris\UIX\UIX.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup Condition=" $(TargetFramework.StartsWith('net6.0-windows')) Or $(TargetFramework.StartsWith('net4')) ">
|
<ItemGroup Condition=" $(TargetFramework.StartsWith('net6.0-windows')) Or $(TargetFramework.StartsWith('net4')) ">
|
||||||
<PackageReference Include="VideoLAN.LibVLC.Windows" Version="3.0.17.4" PrivateAssets="analyzers;build" />
|
<PackageReference Include="VideoLAN.LibVLC.Windows" Version="3.0.17.4" PrivateAssets="analyzers;build" />
|
||||||
|
|||||||
@@ -538,7 +538,7 @@ namespace Microsoft.Zune.Shell
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (num > 0)
|
if (num > 0)
|
||||||
throw new ZuneShellException("Internal Zune Shell error", string.Format("Scripting errors encountered (Process ID) = {0}\n\n{1}", Process.GetCurrentProcess().Id.ToString(CultureInfo.InvariantCulture), str));
|
throw new ZuneShellException("Internal Zune Shell error", $"Scripting errors encountered (Process ID) = {Process.GetCurrentProcess().Id.ToString(CultureInfo.InvariantCulture)}\n\n{str}");
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static bool CanAddMedia(IList filenames, MediaType mediaType, CanAddMediaArgs args)
|
internal static bool CanAddMedia(IList filenames, MediaType mediaType, CanAddMediaArgs args)
|
||||||
|
|||||||
Reference in New Issue
Block a user