phatcher / wikiexport

Azure DevOps wiki export tool
MIT License
4 stars 2 forks source link

Feature request: Update .NET framework version #4

Open MarcoJanse opened 1 year ago

MarcoJanse commented 1 year ago

Hello,

This tool looks very interesting, so I tried running it after installing, but I receive the following error when running wikiexport:

You must install or update .NET to run this application.

App: C:\Users\MarcoJanse\.dotnet\tools\wikiexport.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '3.1.0' (x64)
.NET location: C:\Program Files\dotnet\

The following frameworks were found:
  7.0.9 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1.0&arch=x64&rid=win10-x64

Installing .NET Core 3.1.0 framework seems like a bad idea, as that version is no longer supported. I'm not very knowledgeable in regards to .NET, so I was wondering if this app can be updated for supported .NET framework versions without to much hassle?

My Windows 11 machine has the following .NET frameworks installed:

╰─ dotnet --info
.NET SDK:
 Version:   7.0.306
 Commit:    f500069cb7

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.22621
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\7.0.306\

Host:
  Version:      7.0.9
  Architecture: x64
  Commit:       8e9a17b221

.NET SDKs installed:
  7.0.306 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 7.0.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 7.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 6.0.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 7.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 7.0.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
  None

Environment variables:
  Not set

global.json file:
  Not found
phatcher commented 9 months ago

There's a preview version on nuget that supports NET 6/8

Production version should be released later this week