Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedWhat version of DotNet does DotNetNuke 8.0.3 run under? 4.0? 4.5? Other?What version of DotNet does DotNetNuke 8.0.3 run under? 4.0? 4.5? Other?
Previous
 
Next
New Post
6/2/2017 1:48 PM
 

Dear DotNetNuke Developers --

Please help, regarding a question about DotNet version, (.NET version).

What version of DotNet does DotNetNuke 8.0.3 run under? 4.0? 4.5? Other?

Please advise.


Yes, I checked, > Host, > Dashboard, > Web Server, and it said...

.NET Framework Version:

4.0.30319.42000

...but...

Is that .NET Framework Version necessarily so for DotNetNuke 8.0.3?

Is that .NET Framework Version set by DotNetNuke 8.0.3?

Is that .NET Framework Version required by DotNetNuke 8.0.3?

Can that .NET Framework Version be changed manually?

Is that .NET Framework Version driven by DotNetNuke or IIS or the Web.Config or by something else?

Thanks.

-- Mark Kamoski
 
New Post
6/2/2017 3:15 PM
 

All --

Here is some follow-up.

BTW and FYI and for reference, note that I did some testing on the DLLs in the DotNetNuke bin folder, and while the site was reporting DotNet Version 4.0 in the Host area, my checking shows some warning from Visual Studio, which suggests that some of the DLLs in the DotNetNuke bin target a DotNet version that is higher than DotNet Version 4.0 and those Warnings are as follows...

Warning Some NuGet packages were installed using a target framework different from the current target framework and may need to be reinstalled. Visit http://docs.nuget.org/docs/workflows/reinstalling-packages for more information. Packages affected: Microsoft.AspNet.Razor Scripts 0

Warning The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: DotNetNuke.Website, Version=8.0.3.5, Culture=neutral, PublicKeyToken=null. The dependencies are: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly.

Warning The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: DotNetNuke.Modules.Journal, Version=8.0.3.5, Culture=neutral, PublicKeyToken=null. The dependencies are: System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly.

Warning The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: DotNetNuke.Modules.Groups, Version=8.0.3.5, Culture=neutral, PublicKeyToken=null. The dependencies are: System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly.

Warning The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: DotNetNuke.Modules.MemberDirectory, Version=8.0.3.5, Culture=neutral, PublicKeyToken=null. The dependencies are: System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly.

Warning The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: DotNetNuke.Modules.CoreMessaging, Version=8.0.3.5, Culture=neutral, PublicKeyToken=null. The dependencies are: System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly.

Warning The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: DotNetNuke.Modules.UserDefinedTable, Version=6.2.0.0, Culture=neutral, PublicKeyToken=null. The dependencies are: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly.

Warning The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: DotNetNuke.Modules.Taxonomy, Version=8.0.3.5, Culture=neutral, PublicKeyToken=null. The dependencies are: System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly.

Warning The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: DotNetNuke.Modules.DigitalAssets, Version=8.0.3.5, Culture=neutral, PublicKeyToken=null. The dependencies are: System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly.

Thanks.

-- Mark Kamoski
 
New Post
6/2/2017 3:31 PM
 

All --

This is some more follow-up, just FYI, as I did some more testing.

The Warnings listed above are present when the Visual Studio Solution is set to used DotNet Framework version 4.0 there.

Now, to experiment with things, I tried changing the DotNet Framework version and running some tests, and I still got Warnings but far fewer, and my test results are as follows.

With 4.5 we have the following...

Severity Code Description Project File Line
Warning Some NuGet packages were installed using a target framework different from the current target framework and may need to be reinstalled. Visit http://docs.nuget.org/docs/workflows/reinstalling-packages for more

information. Packages affected: Microsoft.AspNet.WebPages Scripts 0

With 4.5.1 we have the following...

Severity Code Description Project File Line
Warning Some NuGet packages were installed using a target framework different from the current target framework and may need to be reinstalled. Visit http://docs.nuget.org/docs/workflows/reinstalling-packages for more

information. Packages affected: Microsoft.AspNet.WebPages Scripts 0

With 4.5.2 we have the following...

Severity Code Description Project File Line
Warning Some NuGet packages were installed using a target framework different from the current target framework and may need to be reinstalled. Visit http://docs.nuget.org/docs/workflows/reinstalling-packages for more

information. Packages affected: Microsoft.AspNet.WebPages Scripts 0

With 4.6 we have the following...

Severity Code Description Project File Line
Warning Some NuGet packages were installed using a target framework different from the current target framework and may need to be reinstalled. Visit http://docs.nuget.org/docs/workflows/reinstalling-packages for more information. Packages affected: Microsoft.AspNet.WebPages Scripts 0

With 4.6.1 we have the following...

Severity Code Description Project File Line
Warning Some NuGet packages were installed using a target framework different from the current target framework and may need to be reinstalled. Visit http://docs.nuget.org/docs/workflows/reinstalling-packages for more information. Packages affected: Microsoft.AspNet.WebPages Scripts 0

If you have any insight into all of this, please post here.

HTH.

Thanks.

-- Mark Kamoski
 
New Post
6/14/2017 11:35 AM
 

All --

FYI, I found a good solution that works for me.

Here it is.

Note, throughout my site, everywhere in config files, I set it so it should always be set as (targetFramework="4.6.1") and in Visual Studio > Property Pages, > Build, I also should have "4.6.1" there too.

That works for me.

HTH.

Thanks.

-- Mark Kamoski

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedWhat version of DotNet does DotNetNuke 8.0.3 run under? 4.0? 4.5? Other?What version of DotNet does DotNetNuke 8.0.3 run under? 4.0? 4.5? Other?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out