0
votes

I'm trying to create a new Azure WebJobs project targeting .NET Framework 4.7 but it's not available in the drop down -- see below:

enter image description here

And if I try to install .NET Framework 4.7, I get the message that it's already installed on my computer -- see below: enter image description here

Any idea why?

P.S. This may or may not be relevant but my ultimate objective is to create a WebJob that can use class libraries that are created in .NET Core 2.0. If I understand it correctly, .NET Framework 4.7 can use class libraries that support .NET Standard 2.0. I didn't necessarily do anything special when I created my class libraries in .NET Core 2.0. Not sure if I should assume they automatically target .NET Standard 2.0 or I need to specify it somewhere.

Also, the version of Visual Studio I'm using is Visual Studio 2017 - 15.3.3

1
No, VS Installer doesn't give me such an option. - Sam

1 Answers

4
votes

You need to install the 4.7 Framework Developer Pack, not just the framework itself. If you are using Windows 10 with the latest updates it will show up in the installer for Visual Studio, if you do not have it you can install the SDK manually from here.

That being said, if you are writing stuff in .NET Core 2.0 you don't need .NET framework 4.7, you need .NET Core 2.0. Go install that SDK instead so you can create .NET Core 2.0 programs.