Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

.net-4.8

Project ‘ClassLibrary1.csproj’ targets ‘netstandard2.1’. It cannot be referenced by a project that targets ‘.NETFramework,Version=v4.8’

September 1, 2023 by Tarik

What can I do? If your library doesn’t need the very latest features, use .net standard 2.0 in general, a library should aim to support the lowest possible version. or port your WPF app to .NET Core 3 or later

Categories c# Tags .net, .net-4.8, .net-standard, .net-standard-2.1, c++ Leave a comment

Visual Studio Can’t Target .NET Framework 4.8

April 3, 2023 by Tarik

Just had a similar issue with Visual Studio 2019 Community Edition: only .Net Core versions were shown. I edited the .csproj file manually. I changed the line with the TargetFramework property to <TargetFramework>net48</TargetFramework> Oddly, now all other versions show up also.

Categories .net Tags .net, .net-4.8, visual-studio Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa