aspose-cells / Aspose.Cells-for-.NET

Aspose.Cells for .NET examples, plugins and showcases
https://products.aspose.com/cells/net
MIT License
216 stars 103 forks source link

Fix examples #16

Closed saqibmasood closed 8 years ago

ali-h2010 commented 1 year ago

The examples are in .net 3.1 which is outdated. After upgrading to .net 6 and running the example, i am getting an empty screen with "Healthy" word only.

trying to move to any controller action will return an error.

amjad-sahi commented 1 year ago

@ali-h2010 ,

I guess you are talking about using Aspose.Cells.GridWeb for .NET6.0. We already reproduced the issue and are in the process to fix it. See your other thread for your updates/reference. https://github.com/aspose-cells/Aspose.Cells-for-.NET/issues/66#issuecomment-1591187926

amjad-sahi commented 1 year ago

@ali-h2010,

To update you, we have updated the demos/examples in the repos. now. Please try to download the (updated) demos/examples and give it a try again. We have updated the demo's project file. The target framework shall be: net6.0-windows7.0 and the System.Drawing.Common version shall be 7.0.0.

Below is the updated csproj file contents:

<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>net6.0-windows7.0</TargetFramework>
    <RootNamespace>GridWeb.Demo</RootNamespace>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="System.Drawing.Common" Version="7.0.0" />
    <PackageReference Include="System.Text.Encoding.CodePages" Version="4.7.0" />
    <PackageReference Include="System.Security.Cryptography.Pkcs" Version="6.0.1" />
    <PackageReference Include="Aspose.Cells.GridWeb" Version="23.6.0" />
  </ItemGroup>

</Project> 

Let us know if you still find any issue.