From 81140d809b6e3a3861e951247422d9fb10758ae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20B=C3=B6rchers?= Date: Sat, 14 Dec 2019 17:27:34 +0100 Subject: [PATCH] minor code cleanup --- PhotoRenamer.Base/PhotoRenamer.Base.csproj | 1 + PhotoRenamer.File/PhotoRenamer.File.csproj | 1 + PhotoRenamer.File/ViewModels/ViewAViewModel.cs | 2 ++ PhotoRenamer.Test/PhotoRenamer.Test.csproj | 1 + PhotoRenamer/App.xaml | 1 - PhotoRenamer/Views/MainWindow.xaml.cs | 6 ++---- 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/PhotoRenamer.Base/PhotoRenamer.Base.csproj b/PhotoRenamer.Base/PhotoRenamer.Base.csproj index 2147e79..a72071a 100644 --- a/PhotoRenamer.Base/PhotoRenamer.Base.csproj +++ b/PhotoRenamer.Base/PhotoRenamer.Base.csproj @@ -6,6 +6,7 @@ + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/PhotoRenamer.File/PhotoRenamer.File.csproj b/PhotoRenamer.File/PhotoRenamer.File.csproj index d3bf57f..c73552b 100644 --- a/PhotoRenamer.File/PhotoRenamer.File.csproj +++ b/PhotoRenamer.File/PhotoRenamer.File.csproj @@ -5,6 +5,7 @@ PhotoRenamer.File + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/PhotoRenamer.File/ViewModels/ViewAViewModel.cs b/PhotoRenamer.File/ViewModels/ViewAViewModel.cs index 8a9ddee..486f975 100644 --- a/PhotoRenamer.File/ViewModels/ViewAViewModel.cs +++ b/PhotoRenamer.File/ViewModels/ViewAViewModel.cs @@ -1,8 +1,10 @@ using Prism.Mvvm; using System.Windows.Input; +using JetBrains.Annotations; namespace PhotoRenamer.File.ViewModels { + [UsedImplicitly] public class ViewAViewModel : BindableBase { public ICommand SelectFilesCommand { get; } diff --git a/PhotoRenamer.Test/PhotoRenamer.Test.csproj b/PhotoRenamer.Test/PhotoRenamer.Test.csproj index 46caa14..d44ba67 100644 --- a/PhotoRenamer.Test/PhotoRenamer.Test.csproj +++ b/PhotoRenamer.Test/PhotoRenamer.Test.csproj @@ -7,6 +7,7 @@ + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/PhotoRenamer/App.xaml b/PhotoRenamer/App.xaml index ee6062a..dd77241 100644 --- a/PhotoRenamer/App.xaml +++ b/PhotoRenamer/App.xaml @@ -2,7 +2,6 @@ x:Class="PhotoRenamer.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" - xmlns:local="clr-namespace:PhotoRenamer" xmlns:prism="http://prismlibrary.com/"> diff --git a/PhotoRenamer/Views/MainWindow.xaml.cs b/PhotoRenamer/Views/MainWindow.xaml.cs index 14462a7..37a7929 100644 --- a/PhotoRenamer/Views/MainWindow.xaml.cs +++ b/PhotoRenamer/Views/MainWindow.xaml.cs @@ -1,11 +1,9 @@ -using System.Windows; - -namespace PhotoRenamer.Views +namespace PhotoRenamer.Views { /// /// Interaction logic for MainWindow.xaml /// - public partial class MainWindow : Window + public partial class MainWindow { public MainWindow() {