Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
2 つのテンプレート (.xaml ファイルのグループ) を持つ C# WPF アプリケーションがあります。プロジェクト ファイルを手動で編集せずに、xaml ファイルの 1 つのグループをプロジェクトから除外し、他のグループを含めるにはどうすればよいですか?
ありがとう!
Visual Studio で、プロジェクトから除外するファイルを右クリックし、[ ] をクリックしますExclude from Project。それらのフォルダーまたはプロジェクトを右クリックして [追加] --> [既存のアイテム] を選択し、[Open Fire] ダイアログでそれらを選択することで、それらを再度追加できます。
Exclude from Project