ARTICLE AD BOX
Launching the C# console application. Got error:
C:\Program Files\dotnet\dotnet.exe --fx-version 9.0.12 "C:\Users\I\AppData\Local\Programs\Rider\lib\ReSharperHost\JetLauncherILc.exe" /Launcher::NoSplash /Launcher::Mode:InvokeMethod /Launcher::Target:Assembly "/Launcher::AssemblyFile:D:/IntelliJ IDEA/Experiments/ExperimentalNativeCSharpApplication/Automation/GeneratorOfAssetsForStaticPreview/bin/Debug/net9.0/GeneratorOfAssetsForStaticPreview.dll" /Launcher::ClassName:GeneratorOfAssetsForStaticPreview.GeneratorOfAssetsForStaticPreview /Launcher::MethodName:Main One or more errors occurred. (Could not load file or assembly 'YamatoDaiwaCS_Extensions, Version=0.6.0.0, Culture=neutral, PublicKeyToken=null'. Specified file not found) --- EXCEPTION #1/2 [FileNotFoundException] Message = “Could not load file or assembly 'YamatoDaiwaCS_Extensions, Version=0.6.0.0, Culture=neutral, PublicKeyToken=null'. Specified file not found” ExceptionPath = Root.InnerException ClassName = System.IO.FileNotFoundException HResult = 80070002 Source = YamatoDaiwaPugCSharpStaticPreview FileNotFound_FileName = “YamatoDaiwaCS_Extensions, Version=0.6.0.0, Culture=neutral, PublicKeyToken=null” StackTraceString = “ at YamatoDaiwa.PugCSharpStaticPreview.LocalizationsGeneratorForStaticPreview.fillObjectAndGenerateJSDoc[Localization](JsonObject outputObjectWorkpiece, String outputObjectDotSeparatedPathCommonPart, String languageKey, Localization localization, Dictionary`2 properties, String mustGenerateJSDocForTypeWithName)Could not load file or assembly error, referring to YamatoDaiwa.PugCSharpStaticPreview.LocalizationsGeneratorForStaticPreview.fillObjectAndGenerateJSDoc of the dependency. Because the dependency is mine one too, I can fix it but only if know the cause.
YamatoDaiwaCS_Extensions has been used in YamatoDaiwa.PugCSharpStaticPreview previously, but has been replaced to YamatoDaiwa.CSharpExtensions. Here is csproj-file of YamatoDaiwa.PugCSharpStaticPreview:
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <PackageId>YamatoDaiwa.PugCSharpStaticPreview</PackageId> <!-- ... --> <TargetFrameworks>net9.0;net10.0</TargetFrameworks> <LangVersion>14</LangVersion> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <ItemGroup> <None Include="README.md" Pack="true" PackagePath="\"/> </ItemGroup> <ItemGroup> <PackageReference Include="YamatoDaiwa.CSharpExtensions" Version="0.6.0" /> </ItemGroup> </Project>Not sure you need the code of LocalizationsGeneratorForStaticPreview.fillObjectAndGenerateJSDoc pasted here, but if yes, please let me know. Currently I'll share the GitHub repository only.
Well, it is not the asking like "Please find the bug case instead of me for free" but I need the hint how to find where the obsolete reference to YamatoDaiwaCS_Extensions remain. It will not be found it to search it as string:

