Updated MWindowInterfacesLib and MWindowLib to version 1.3.1.2
First of all, thank you very much for your work on Edi, it is awesome!
When we clone the repository and build the solution, some errors appear because MWindowInterfacesLib and MWindowLib are not up to date in the projects that reference these packages (only the <Reference> not the <HintPath> in each .csproj):
-
"Could not locate the assembly "MWindowInterfacesLib, Version=1.3.1.1, Culture=neutral, processorArchitecture=MSIL". Check to make sure the assembly exists on disk."
-
"Could not locate the assembly "MWindowLib, Version=1.3.1.1, Culture=neutral, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. "
Therefore, I have updated these packages (which were also created by you 👍 ) if you are ok with that :)
I have downloaded your solution and tried to compile it from scratch and got a failing build. I think there is a problem with the SimpleMetroWindow in MWindowLib and this could be why I never updated this because I found no time to make this work again :-( I am not sure how your PR improves the situation since the build is still failing - did you see a different set of errors before or is the list of errors below what you tried to fix?

Thank you for your answer! 😉 Did you try to build the solution on the fix_reference_packages branch?
I tried to solve the following problems that appear in the master branch:
When we move to the fix_package_references branch, we no longer get a compile error as we can see:
However, I also saw an automatic modification of Visual Studio 2019 that I did not commit because it seems that it changes depending on each user and on the Visual Studio version:
Yes, I am getting the above errors with the fix_reference_packages branch - I think you have to do:
-
Solution Explorer>Clean Solutionand -
Solution Explorer>Build Solution(or either download the source to a new directory or make sure the packages directory is empty before building).
to replicate my errors. I am not completely sure about this one either :-( why it sometimes compiles and sometimes (with a fresh copy) does not - I am guessing its some detail about Nuget caching and library versioning(?).
I did the following steps on another PC:
- Download the fix_reference_packages branch
- Extract the archive to the Downloads folder (which gives me an Edi-fix_package_references folder)
- Check that the "packages" folder does not exist in C:\Users{MyUsername}\Downloads\Edi-fix_package_references\Edi-fix_package_references\packages
- Check that the ".nuget" folder does not contain an old version of MWindowLib in C:\Users{MyUsername}.nuget
- Open the solution with Visual Studio 2022
- Solution Explorer > Clean Solution
- Solution Explorer > Build Solution
- Check that the version of MWindowLib in the "packages" and ".nuget" folders is the version 1.3.1.2 after building the solution
And I still have no errors on my side
I also downloaded the master branch and reproduced the same steps to analyze the differences and for this case I have the 16 errors like you
There is also MWindowLib 1.3.1.2 in C:\Users{MyUsername}\Downloads\Edi-fix_package_references\Edi-fix_package_references\packages and C:\Users{MyUsername}.nuget.
However, the Edi.Apps, Edi.Dialogs, Edi.Themes, Edi.SettingsView and Files projects do not find the MWindowInterfacesLib and MWindowLib dlls in Visual Studio:

While in the fix_package_references branch, the behaviour seems to be different on my side:

I will try to do some more testing to be able to reproduce your error case 😉