Bloxxel64
Bloxxel64

Reputation: 1

Trying to execute a program in VS Code, but i keep getting an error

[Running] dotnet run --project "c:\Users\Bloxxel64\CodeProjects\AssetStudio\AssetStudioGUI\AssetStudioGUI.csproj" C:\Program Files\dotnet\sdk\5.0.403\Microsoft.Common.CurrentVersion.targets(1217,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks

The build failed. Fix the build errors and run again.

[Done] exited with code=1 in 3.872 seconds

I've Already installed the latest .NET Framework and SDK but i can't get it to run. I cannot figure out how to fix this. any advice?

Upvotes: -1

Views: 458

Answers (1)

Shen Sudara
Shen Sudara

Reputation: 146

There are helpful links in the microsoft forum Link and StackOverflow Link that have the question on your type Target frameworks are differents.

Upvotes: 0

Related Questions