2017-02-16 7 views
0

DotNetNuke(v.9.0)の完全なソースコードバージョンをダウンロードしました。DNN(DotNetNuke)ウェブサイトプロジェクトで「Install.aspxが見つかりませんでした」というエラーが表示される

私が提供するプロジェクトをロード経由でのVisual Studio(2015)を使用して、自分のローカルコンピュータ上のDNNのウェブサイトを構築しよう - DotNetNuke.Website.csprojサイト folder--に、私は次のエラーを取得:

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. 

これまで私が見つけた唯一の解決策は、Webサイトのすべてのフォルダを新しいソリューションにロードすることでした。しかし、私は代わりに適切なWebプロジェクトを持つことを好むでしょう。

どのような考えですか?事前に多くの感謝。

答えて

0

ソリューションを探していくつかの時間を過ごした後、私は1つを見つけた:

  1. オープンプロジェクトのVisual Studioで提供されるWebプロジェクトDotNetNuke.Website.csproj(私は2015を使用しています)
  2. 右クリックし、 "Unload"を選択してください
  3. アンロードされたプロジェクトをもう一度右クリックし、 "編集"をクリックしてください。これは、xmlファイル「Install.aspx」と「UpgradeWizard.aspx」の
  4. 検索を開き、<Install>true</Install>を検索し、に設定し、これらのファイル

    また
    <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> 
    
  5. のための参照を削除します。

  6. プロジェクトを右クリックし、ソリューションにロードします。

今すぐDNNウェブサイトは問題なく実行する必要があります。

私はこれが誰かを助けてくれることを願っています。

関連する問題