diff --git a/App.xaml.fs b/App.xaml.fs index d1865c2..a0d32a0 100644 --- a/App.xaml.fs +++ b/App.xaml.fs @@ -6,6 +6,8 @@ open Avalonia.Controls.Templates open Avalonia.Markup.Xaml open System +open log + type IViewModelContainer = abstract Target: obj @@ -20,8 +22,9 @@ type ViewLocator() = if _type <> null then Activator.CreateInstance(_type) :?> IControl; else TextBlock( Text = "Not Found: " + _name ) :> IControl - member this.Match(data: obj): bool = data :? ViewModelBase || data :? IViewModelContainer - member this.SupportsRecycling: bool = false + member this.Match(data: obj): bool = + data :? ViewModelBase || data :? IViewModelContainer + //member this.SupportsRecycling: bool = false type App() = inherit Application() diff --git a/Properties/PublishProfiles/FolderProfile.pubxml b/Properties/PublishProfiles/FolderProfile.pubxml new file mode 100644 index 0000000..2abf195 --- /dev/null +++ b/Properties/PublishProfiles/FolderProfile.pubxml @@ -0,0 +1,18 @@ + + + + + Release + Any CPU + bin\Release\netcoreapp3.1\publish\ + FileSystem + netcoreapp3.1 + win-x64 + true + False + True + True + + \ No newline at end of file diff --git a/Properties/PublishProfiles/FolderProfile.pubxml.user b/Properties/PublishProfiles/FolderProfile.pubxml.user new file mode 100644 index 0000000..312c6e3 --- /dev/null +++ b/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/fvim.fsproj b/fvim.fsproj index 968eb46..a464ad0 100644 --- a/fvim.fsproj +++ b/fvim.fsproj @@ -78,32 +78,32 @@ - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - + + runtime; build; native; contentfiles; analyzers all - + - + diff --git a/fvim.fsproj.user b/fvim.fsproj.user index d930741..b9b3a22 100644 --- a/fvim.fsproj.user +++ b/fvim.fsproj.user @@ -1,6 +1,6 @@  - <_LastSelectedProfileId>C:\Users\sean.shang\Programmes\fvim\Properties\PublishProfiles\FolderProfile.pubxml + <_LastSelectedProfileId>F:\git\fvim\Properties\PublishProfiles\FolderProfile.pubxml \ No newline at end of file