Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
futuremotiondev opened this issue Apr 2, 2023 · 1 comment

Comments

@futuremotiondev
Copy link

futuremotiondev commented Apr 2, 2023

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
Copy link

kiranshahi commented Apr 13, 2023

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:

  • Open Visual Studio Installer.
  • Click on modify.
    image
  • Click on Individual components
    image
  • Select .NET Framework 4.5.2 targeting pack
    image
  • Click on modify on bottom right hand.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants