Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated dependencies. #71

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Nullable>enable</Nullable>
<LangVersion>12.0</LangVersion>
<LangVersion>13.0</LangVersion>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion AIDevGallery.Utils/AIDevGallery.Utils.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net9.0</TargetFrameworks>
<Nullable>enable</Nullable>
<LangVersion>12.0</LangVersion>
<LangVersion>13.0</LangVersion>
</PropertyGroup>

<PropertyGroup Condition="$(TargetFramework) == 'net9.0'">
Expand Down
1 change: 1 addition & 0 deletions AIDevGallery/AIDevGallery.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<UseWinUI>true</UseWinUI>
<EnableMsixTooling>true</EnableMsixTooling>
<Nullable>enable</Nullable>
<LangVersion>preview</LangVersion>
<NoWarn>CS8305;WMC1501</NoWarn>
<!-- https://github.com/microsoft/CsWin32/issues/1273 -->
<NoWarn>$(NoWarn);IL2050</NoWarn>
Expand Down
2 changes: 1 addition & 1 deletion AIDevGallery/Pages/AddModelPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ internal partial class Result : ObservableObject
public Visibility VisibleWhenCompatibilityIssue => Details.Compatibility.CompatibilityState == ModelCompatibilityState.Compatible ? Visibility.Collapsed : Visibility.Visible;

[ObservableProperty]
private ResultState state;
public partial ResultState State { get; set; }
}

internal enum ResultState
Expand Down
2 changes: 1 addition & 1 deletion AIDevGallery/Samples/SharedCode/Message.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace AIDevGallery.Samples.SharedCode;
internal partial class Message : ObservableObject
{
[ObservableProperty]
private string content;
public partial string Content { get; set; }
public DateTime MsgDateTime { get; private set; }

public ChatRole Role { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion AIDevGallery/ViewModels/AvailableModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ internal partial class AvailableModel : ObservableObject, IModelView
public ModelDetails ModelDetails { get; private set; }

[ObservableProperty]
private bool optionsVisible;
public partial bool OptionsVisible { get; set; }

public AvailableModel(ModelDetails modelDetails)
{
Expand Down
2 changes: 1 addition & 1 deletion AIDevGallery/ViewModels/BaseModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal partial class BaseModel : ObservableObject, IModelView
public ModelCompatibility Compatibility { get; init; }

[ObservableProperty]
private bool optionsVisible;
public partial bool OptionsVisible { get; set; }

public BaseModel(ModelDetails modelDetails)
{
Expand Down
6 changes: 3 additions & 3 deletions AIDevGallery/ViewModels/DownloadableModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ internal partial class DownloadableModel : BaseModel
private readonly DispatcherTimer _progressTimer;

[ObservableProperty]
private float progress;
public partial float Progress { get; set; }

[ObservableProperty]
private bool canDownload;
public partial bool CanDownload { get; set; }

[ObservableProperty]
private DownloadStatus status = DownloadStatus.Waiting;
public partial DownloadStatus Status { get; set; } = DownloadStatus.Waiting;

public bool IsDownloadEnabled => Compatibility.CompatibilityState != ModelCompatibilityState.NotCompatible;

Expand Down
12 changes: 6 additions & 6 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<PackageVersion Include="CommunityToolkit.WinUI.Media" Version="8.1.240916" />
<PackageVersion Include="Microsoft.AI.DirectML" Version="1.15.4" />
<PackageVersion Include="Microsoft.Extensions.AI.Abstractions" Version="9.0.1-preview.1.24570.5" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.InMemory" Version="1.31.0-preview" />
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.InMemory" Version="1.33.0-preview" />
<PackageVersion Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.0.9" />
<PackageVersion Include="System.Text.Json" Version="9.0.0" />
<PackageVersion Include="System.Threading.Tasks.Dataflow" Version="9.0.0" />
<PackageVersion Include="System.Memory" Version="4.6.0" />
<PackageVersion Include="PolySharp" Version="1.15.0" />
<PackageVersion Include="Microsoft.ML.Tokenizers" Version="1.0.0" />
<PackageVersion Include="ColorCode.WinUI" Version="2.0.15" />
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.3.2" />
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.4.0" />
<PackageVersion Include="CommunityToolkit.WinUI.Controls.Primitives" Version="8.1.240916" />
<PackageVersion Include="CommunityToolkit.WinUI.Controls.SettingsControls" Version="8.1.240916" />
<PackageVersion Include="CommunityToolkit.WinUI.Converters" Version="8.1.240916" />
Expand All @@ -25,7 +25,7 @@
<PackageVersion Include="CommunityToolkit.WinUI.Animations" Version="8.1.240916" />
<PackageVersion Include="CommunityToolkit.WinUI.Extensions" Version="8.1.240916" />
<PackageVersion Include="CommunityToolkit.WinUI.Controls.Sizers" Version="8.1.240916" />
<PackageVersion Include="Microsoft.Graphics.Win2D" Version="1.3.0" />
<PackageVersion Include="Microsoft.Graphics.Win2D" Version="1.3.1" />
<PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" />
<PackageVersion Include="Microsoft.Windows.CsWin32" Version="0.3.106" />
<PackageVersion Include="System.Drawing.Common" Version="9.0.0" />
Expand All @@ -39,11 +39,11 @@
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="9.0.0" />
<PackageVersion Include="System.IO.Pipelines" Version="9.0.0" />
<PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.556" />
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.6.146" />
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.7.112" />
<PackageVersion Include="FluentAssertions" Version="7.0.0" />
<PackageVersion Include="Microsoft.TestPlatform.TestHost" Version="17.12.0" />
<PackageVersion Include="MSTest.TestAdapter" Version="3.6.4" />
<PackageVersion Include="MSTest.TestFramework" Version="3.6.4" />
<PackageVersion Include="MSTest.TestAdapter" Version="3.7.0" />
<PackageVersion Include="MSTest.TestFramework" Version="3.7.0" />
<PackageVersion Include="MathNet.Numerics" Version="5.0.0" />
<PackageVersion Include="NumSharp" Version="0.30.0" />
<PackageVersion Include="Microsoft.Telemetry.Inbox.Managed" Version="10.0.25148.1001-220626-1600.rs-fun-deploy-dev5" />
Expand Down