Where to get .NET v4.5 Targeting Pack?

Hey there! I just started using the MonoGame framework, and I can’t get it to work on Visual Studio 2017.

I keep getting this warning:

The reference assemblies for framework ".NETFramework,Version=v4.5" were not found. To
resolve this, install the SDK or Targeting Pack for this framework version or retarget your
application to a version of the framework for which you have the SDK or Targeting Pack
installed.  Note that assemblies will be resolved from the Global Assembly Cache (GAC) and
will be used in place of reference assemblies. Therefore your assembly may not be
correctly targeted for the framework you intend.		

And I don’t know where to install the .NET targeting pack. I know there is another question like this, but it didn’t help me at all.

if you google “.Net Framework 4.5 SDK” you’ll find a link to the microsoft site - let me do that for you:

anyway - normally that should’ve been installed together with VS2017 so I wonder if you install of VS was having problems and you may miss other stuff?

1 Like

It may be an issue with VS. I’ll try reinstalling it.

Hi @RevelMind, Welcome to the forums.

Are you using the official installer from signing into the VS site?

Also, what setup project are you trying to use?

Happy Coding!

1 Like

I reinstalled Visual Studio and it seemed to work.

1 Like