Wrong framework in created project file

Posts   
 
    
JayBee
User
Posts: 275
Joined: 28-Dec-2006
# Posted on: 12-Aug-2021 16:27:20   

I use LLBLGen 5.8 to generate a csproj file for Dotnet Framework 4.8. Trying to load the project in Visual Studio gives a prompt with the choice to change to 4.6.1 or download the target pack for version 4.8.0 There is no such dot net target pack.

When I look at the content of the project file it has the following line specifying the framework:

<TargetFrameworkVersion>v4.8.0</TargetFrameworkVersion>

When I look at the content of a project file generated by Visual Studio 2019 it shows the following:

<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>

Please correct this in LLBLGen

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 13-Aug-2021 00:24:34   

Reproduced.

If I change the generated project file to have 4.8 as the TargetFramework, then the download the target pack option directs to the following URL. https://dotnet.microsoft.com/download/visual-studio-sdks?utm_source=getdotnetsdk&utm_medium=referral

Otherwise the generated 4.8.0 targetFrameowrk value redirects to a non working bing URL.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 13-Aug-2021 09:48:26   

Good catch, with Rider we didn't have a problem but vs 2019 indeed wants to download a package that doesn't exist. We'll fix this.

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 13-Aug-2021 10:04:34   

Please see the 5.8.3 hotfix build which fixes this issue.

Frans Bouma | Lead developer LLBLGen Pro