We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Found conflicts between different versions of "WindowsBase" that could not be resolved.

Using visual studio community 2022.  Create a MAUI Blazor app from wizard which works fine but when i add Syncfusion Blazor to the project, i get the below error.    


Severity Code Description Project File Line Suppression State

Warning MSB3277 Found conflicts between different versions of "WindowsBase" that could not be resolved.

There was a conflict between "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "WindowsBase, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35".

    "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" was chosen because it was primary and "WindowsBase, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" was not.

    References which depend on "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" [C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.13\refet6.0\WindowsBase.dll].

        C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.13\refet6.0\WindowsBase.dll

          Project file item includes which caused reference "C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.13\refet6.0\WindowsBase.dll".

            C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.13\ref/net6.0/WindowsBase.dll

    References which depend on "WindowsBase, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" [].

        C:\Users\xx\.nuget\packages\syncfusion.licensing\20.4.0.44\libet6.0-windows7.0\Syncfusion.Licensing.dll

          Project file item includes which caused reference "C:\Users\xx\.nuget\packages\syncfusion.licensing\20.4.0.44\libet6.0-windows7.0\Syncfusion.Licensing.dll".

            C:\Users\xx\.nuget\packages\syncfusion.licensing\20.4.0.44\libet6.0-windows7.0\Syncfusion.Licensing.dll

            C:\Users\axx\.nuget\packages\syncfusion.blazor\20.4.0.44\libet6.0\Syncfusion.Blazor.dll MauiAppBlazor C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 2352



13 Replies

VV Vijayakumar Viswanathan Syncfusion Team February 1, 2023 01:10 PM UTC

Hi Anthony,

 The reported warnings were reproduced on our side. We have been working to resolve the warning issue in Net 7 and will release the fixed version in the Volume 1 release scheduled at the end of March 2023. We appreciate your patience until then.


Regards,

Vijayakumar V



AN Anthony February 1, 2023 02:39 PM UTC

Is there any  workaround? It also occurs for net 6



VV Vijayakumar Viswanathan Syncfusion Team February 2, 2023 01:25 PM UTC

Hi Anthony,

We have checked with .NET 6 project and no errors were found. Currently, we do not have any workaround for this reported scenario. However, As previously shared we will fix the reported warnings and will release the fixed version in the Volume 1 release scheduled at the end of March 2023. We appreciate your patience until then.



SM Stephen Miller February 25, 2023 06:45 PM UTC

Dear Syncfusion QA department... This sort of error happens WAY TOO OFTEN!!! You are not testing your releases at all, and if you are, you are not doing a very good job at it.

Here is a suggestion that I hope you take to heart. You obviously do not have a staging environment set up to do system testing prior to a production release. This environment should mimic what is out there in your customer's world. I get the impression that you are testing this in your development environment and your setup (things you have installed, NuGet packages, and the like) is hiding these sorts of errors.

You need to create a VM that is clean with nothing installed but Visual Studio (with no modifications) and a new MAUI project. Do the NuGet fetches of your MAUI packages (only need one or two) and then do a build. You will IMMEDIATELY see these types of errors. This is at least the third time something like this has happened since I have been using your MAUI controls. You are wasting your time doing whatever testing you ARE doing because it is not full coverage testing. At the same time, you are wasting your customer's time in that we have to wait weeks for you to fix this stuff.

DO BETTER!!



VV Vijayakumar Viswanathan Syncfusion Team March 1, 2023 10:29 AM UTC

Hi Stephen,

Thank you for your valuable suggestions.

We assure you that we will take the necessary steps to ensure that this warning does not occur again on our end. As previously mentioned, we will implement the necessary fixes and incorporate them into our upcoming Volume 1 release, which is scheduled for mid-March 2023.



FS Frederic STECZYCKI March 3, 2023 04:08 PM UTC

Hi,

we have the same problem with the winui 3 syncfusion library and the last updates (from 20.3 to 20.4).



VV Vijayakumar Viswanathan Syncfusion Team March 6, 2023 09:39 AM UTC

Hi Frederic,

Sorry for the inconvenience.

We are working on the reported WinUI gallery 3 issues also and will release the fixed version in the volume 1 main release, tentatively at the end of March/2023. we appreciate your patience until then.




VV Vijayakumar Viswanathan Syncfusion Team March 27, 2023 01:55 PM UTC

Hi Frederic,

We are glad to announce that our Essential Studio 2023 Volume 1 Main Release v21.1.35 is rolled out and is available for download under the following link.

Essential Studio 2023 Volume 1 Main Release v21.1.35 is available for download | Announcements Forums | Syncfusion

The fix for the warning issue "conflicts between different versions of "WindowsBase" was also released along with the Volume 1 release. Please check with the latest Nuget version 21.1.35 and let us know the details.

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Regards 

Vijayakumar V




MI Mike March 27, 2023 03:32 PM UTC

Using Blazor and FileFormats... still getting same warnings (not errors)... Can still build, so not a critical problem.


1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3277: Found conflicts between different versions of "WindowsBase" that could not be resolved.

1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3277: There was a conflict between "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "WindowsBase, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35".

1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3277: "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" was chosen because it was primary and "WindowsBase, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" was not.

1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3277: References which depend on "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" [C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.4\refet7.0\WindowsBase.dll].

1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3277: C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.4\refet7.0\WindowsBase.dll

1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3277: Project file item includes which caused reference "C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.4\refet7.0\WindowsBase.dll".

1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3277: C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.4\ref/net7.0/WindowsBase.dll

1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3277: References which depend on "WindowsBase, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" [].

1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3277: C:\Users\Mike\.nuget\packages\syncfusion.licensing\21.1.35\libet7.0-windows7.0\Syncfusion.Licensing.dll

1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Mike\.nuget\packages\syncfusion.licensing\21.1.35\libet7.0-windows7.0\Syncfusion.Licensing.dll".

1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3277: C:\Users\Mike\.nuget\packages\syncfusion.licensing\21.1.35\libet7.0-windows7.0\Syncfusion.Licensing.dll

1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3277: C:\Users\Mike\.nuget\packages\syncfusion.blazor\21.1.35\libet7.0\Syncfusion.Blazor.dll

1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3277: C:\Users\Mike\.nuget\packages\syncfusion.xlsio.net\21.1.35\libet7.0\Syncfusion.XlsIO.NET.dll





FS Frederic STECZYCKI replied to Vijayakumar Viswanathan March 27, 2023 03:35 PM UTC

Hi,

it's ok to me. thanks




JM Jeyaseelan M Syncfusion Team March 28, 2023 12:28 PM UTC

Hi Mike,


We will check the reported warnings in Blazor and File Formats and include the fix in the upcoming SP release, which is scheduled for the first week of May 2023.


Please let us know if you have any concerns.


Regards,

Jeyaseelan M



JM Jeyaseelan M Syncfusion Team May 3, 2023 09:32 AM UTC

Mike, As we had major changes in this service pack release, we were not able to plan for it. However, we will include the fix and it will be available in the upcoming main releases.


We appreciate your patience.



JM Jeyaseelan M Syncfusion Team June 22, 2023 02:29 PM UTC

Mike, We are glad to announce that our Essential Studio 2023 Volume 2 release v22.1.34 is rolled out and is available for download under the following link.


https://www.syncfusion.com/forums/183035/essential-studio-2023-volume-2-main-release-v22-1-34-is-available-for-download


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.


Loader.
Live Chat Icon For mobile
Up arrow icon