DOTNET1011: Framework not installed

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
ready4data
User
Posts: 16

DOTNET1011: Framework not installed

Post by ready4data »

I'm a long time ASPM user and wanted to try .NET maker
I just purchased ASP.NET maker and I'm trying to create my first site.
I'm running ASP.NET maker directly on the 2012 server.
I installed the required .NET core and Framework files per the System requirements instructions.
The Testing .NET Core SDK (Hello World!) through the command prompt ran successfully.
I followed the instructions in the Quick Start and generated a site from the demo2016.mdb.
After the scripts creation was finished scrolling, a command prompt came up and started running. After a few lines, there were about 20 lines of Red text that went by so quickly I couldn't see what they said. After the command prompt window closed, nothing else happened.
My Project folder is located here: D:\Inetpub\wwwroot\DotNetTest

Let me know what to check next.

Scott


Webmaster
User
Posts: 9425

Post by Webmaster »

Read documentation of .NET Core command-line interface tools: https://docs.microsoft.com/en-us/dotnet ... ore/tools/

Go to the project folder, open a command prompt, enter:

dotnet run

See what the errors are.


ready4data
User
Posts: 16

Post by ready4data »

The response was: d:\inetpub\wwwroot\dotnets\project.json(30,3): error DOTNET1011: Framework not installed: .NETFramework,Version=v4.5.2 in

I have 4.6.2 Framework installed
These are also installed:
Microsoft .NET Core 1.0.3 - Runtime(x86)
Microsoft .NET Core SDK 1.0.0 Preview 2-003156(x86)
Microsoft .NET Core 1.1.0 - Windows Server Hosting
Microsoft .NET Framework 4.6.2 SDK
Microsoft .NET Framework 4.6.2 Targeting Pack
Microsoft .NET Framework 4.6.2 Targeting Pack (ENU)
Microsoft .NET Framework 4.6.2 Targeting Pack (English)

Please advise,
Scott


Webmaster
User
Posts: 9425

Post by Webmaster »

ready4data wrote:
The response was: d:\inetpub\wwwroot\dotnets\project.json(30,3): error DOTNET1011: Framework not installed: .NETFramework,Version=v4.5.2
vs.
I have 4.6.2 Framework installed

If you use .NET Framework v4.6.2, click Tools -> Advanced Settings, set the Target .NET Framework as "net462".

As for "Framework not installed", you need to install the Developer Pack for 4.6.2, see system requirements:
http://www.hkvstore.com/aspnetmaker/download.asp


ready4data
User
Posts: 16

Post by ready4data »

Tools -> Advanced Settings, set the Target .NET Framework as "net462".
Is that setting in V2016? I don't see it.
I installed 4.6.2 after reading other posts.

Scott


Webmaster
User
Posts: 9425

Post by Webmaster »

v2017. If you use v2016, you need to manually customize project.json in the template.


ready4data
User
Posts: 16

Post by ready4data »

I modified the project.json file and the site now generates and runs.
Do I still need to install the Developer Pack for 4.6.2?

Scott


Webmaster
User
Posts: 9425

Post by Webmaster »

ready4data wrote:
I modified the project.json file and the site now generates and runs.

Then you probably have it already.


Post Reply