Kinnara / ModernWpf

Modern styles and controls for your WPF applications
MIT License
4.45k stars 446 forks source link

Trying to build from source but getting: MSB3644 The reference assemblies for .NETFramework,Version=v4.5 were not found #559

Open futuremotiondev opened 1 year ago

futuremotiondev commented 1 year ago

Very sorry if this is too simple of a question, I am new to C#. I'm trying to build the sample app from source. But I keep getting solution errors when I build:

devenv_pntm65RiYi

And a lot of warnings:

devenv_EebukzYX67

Do I need to install the .NET 4.5 targeting pack to get this working? How can I successfully build this?

Edit:

More warnings:

devenv_UnswzgQH9A

kiranshahi commented 1 year ago

As per the error, you haven't installed .NET 4.5 To solve this issue either you need to down it or change the Target framework.

To install .NET 4.5 framework from Visual Studio Installer follow the following steps:


Or you can change the Target framework from your project

  1. Right click on your project.
  2. Click on properties.
  3. In application tab selected the new target framework you have installed in your computer.