I've downloaded the full source-code version of DotNetNuke (v.9.0) .
When I try to build the DNN website on my local computer using Visual Studio (2015) via loading the project provided -- DotNetNuke.Website.csproj
in the Website folder-- I get the following errors:
Error CS2001 Source file 'C:\...\Website\Install\Install.aspx.cs' could not be found.
Error CS2001 Source file 'C:\...\Website\Install\UpgradeWizard.aspx.cs' could not be found.
The only solution I've found so far has been to load all of the Website folder as a website into a new solution. Yet I would prefer to have a proper Web Project instead.
Any thoughts? Many thanks in advance.
After spending some time searching for a solution, I've found one:
DotNetNuke.Website.csproj
in Visual Studio (I'm using 2015)Search for "Install.aspx" and "UpgradeWizard.aspx" and remove the references for these files
<Compile Include="Install\Install.aspx.cs">
<DependentUpon>install.aspx</DependentUpon>
</Compile>
<Compile Include="Install\Install.aspx.designer.cs">
<DependentUpon>install.aspx</DependentUpon>
</Compile>
<Compile Include="Install\UpgradeWizard.aspx.cs">
<DependentUpon>UpgradeWizard.aspx</DependentUpon>
</Compile>
<Compile Include="Install\UpgradeWizard.aspx.designer.cs">
<DependentUpon>UpgradeWizard.aspx</DependentUpon>
</Compile>
Also, search for <Install>true</Install>
and set it to false.
Now DNN website should run without problems.
I hope this helps someone.