I receive the following error messages after opening DNN Platform V9,6,2 in MS Visual Studio 2019 and 2022:
Severity Code Description Project File Line Suppression State Error NuGet Package restore failed for project DNN Platform\DotNetNuke.Web: Unable to find version '1.9.2.7' of package 'Dnn.ClientDependency'. C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'Dnn.ClientDependency.1.9.2.7' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'. https://api.nuget.org/v3/index.json: Package 'Dnn.ClientDependency.1.9.2.7' is not found on source 'https://api.nuget.org/v3/index.json'. https://api.nuget.org/v3/index.json: Package 'Dnn.ClientDependency.1.9.2.7' is not found on source 'https://api.nuget.org/v3/index.json'. . Please see Error List window for detailed warnings and errors.
Severity Code Description Project File Line Suppression State Error NuGet Package restore failed for project DNN Platform\DotNetNuke.Library: Unable to find version '1.9.2.7' of package 'Dnn.ClientDependency'. C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'Dnn.ClientDependency.1.9.2.7' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'. https://api.nuget.org/v3/index.json: Package 'Dnn.ClientDependency.1.9.2.7' is not found on source 'https://api.nuget.org/v3/index.json'. https://api.nuget.org/v3/index.json: Package 'Dnn.ClientDependency.1.9.2.7' is not found on source 'https://api.nuget.org/v3/index.json'. . Please see Error List window for detailed warnings and errors.
I have tried to locate this version of the code; but cannot find it. I can only find the code for Version 1.9.1.0.
How can this be corrected so that I can compile the platform, release V9.6.2?
Thanks is advance,
Hans
Oh, you're trying to compile DNN itself? You'll want to follow the steps described in the video series linked below.
https://www.youtube.com/w...jVAt50ORp1TIIiaeLtq2
DNN is not a hobbyist platform and instead is better suited to larger companies and enterprises. For those reasons, the build process is not as simple as open and build. You'll have a tiny bit of setup, but once you go through the videos, you'll be good.
Now, I do want to put out a disclaimer...
It's not a good idea to download and/or build the DNN source code unless you're intending to build in new features and/or fix bugs to submit as a Pull Request (PR). The primary reasons include:
Making core code changes can be okay if you're never ever ever ever going to upgrade in the future. In this scenario, you'd be forking DNN and would be responsible for making any and all updates moving forward. This is because any upgrade from that point will either be overwritten - or fail and crash the website immediately.
With that being said, please feel free to work with DNN in any way that meets your needs. :)
Awesome!
FYI - It wasn't necessarily just for you. ;) My responses are also written in a way that knows anyone can potentially see it in the future, so it's just a normal message to be sure to educate those who aren't aware of the dangers. A lot of people just decide to open the source code and get to work.
For example, we're literally just wrapping up a 3-year consulting engagement with a client where the core code changes were so significant over the years, we've had to slowly remove them over the course of a handful of (modified) upgrades. About half the updates were things that would've been gained from upgrading too. [facepalm] It was a nightmare, but it's finally (almost) over. :)
I'm happy to help and happy coding!
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.