When you install the latest Syncfusion WinUI 3 it comes with a Sample Browser solution that you can build and run locally. Awesome! That way you can learn about all of the controls and most important learn from the original source code used to create that Sample Browser.
Only one problem: It won't build and run. ha ha That's because Syncfusion STILL has not fixed a prior problem I already reported: THE INSTALLATION PATHS ARE TOO LONG. The fix is easy: copy the SampleBrowser folder to something near the root, e.g. c:\SF\SampleBrowser\...
The second problem that will prevent the Sample Browser from running is that the MicroSoft.VCRTForwarders.140 does not have the minimal version defined. This is also an easy fix. In the
...\SampleBrowser\SampleBrowser\syncfusion.samplebrowser.winui_net50.csproj project file change:
<PackageReference Include="Microsoft.VCRTForwarders.140" />
to
<PackageReference Include="Microsoft.VCRTForwarders.140" Version="[1.0.3, )"
/>
(note the square left bracket and the comma space and then right parentheses)
As shown below:
<ItemGroup>
<PackageReference Include="Microsoft.VCRTForwarders.140" Version="[1.0.3, )"/>
<PackageReference Include="Syncfusion.Gauge.WinUI" Version="19.4.0.48" />
<PackageReference Include="Syncfusion.Sliders.WinUI" Version="19.4.0.48" />
<PackageReference Include="PInvoke.User32" Version="0.7.104" />
<Manifest Include="$(ApplicationManifest)" />
</ItemGroup>
After these two simple changes the solution should build and run like a charm!
Mark
Hi Mark,
We are checking both the queries and we will update you with more details on February 15, 2022.
Regards,
Sulthan amanu
Hi Mark,
Query 1: the Microsoft.VCRTForwarders.140 does not have the minimal version defined.
Thanks for your input. We have planned to remove this package from our sample browser application in our upcoming Volume 1 release. Hence, this issue will be resolved.
Query 2:
The installation path is too long error
we are still checking the reported query and we will update tomorrow.
Regards,
Sulthan amanu
Hi Mark,
Query: The installation path is too long error
we are still checking the reported query and we will update tomorrow.
Regards,
Sulthan amanu
Hi Mark,
Query: The installation path is a too long error.
We are checked you are reporting an issue, This issue will be fixed in our upcoming release.
Please let us know if you need any further assistance.
Regards,
Sulthan amanu