Skip to content

Commit 6ed73af

Browse files
committed
FIx NuGet package build error when migrate managed library to .NET 10.
1 parent 4d9f1dc commit 6ed73af

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎Mile.Xaml/Mile.Xaml.nuspec‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<group targetFramework=".NETFramework4.8">
2626
<dependency id="Microsoft.Windows.SDK.Contracts" version="10.0.19041.1" />
2727
</group>
28-
<group targetFramework="net8.0-windows10.0.19041.0"/>
28+
<group targetFramework="net10.0-windows10.0.19041.0"/>
2929
</dependencies>
3030
<repository type="git" url="https://github.com/ProjectMile/Mile.Xaml.git" />
3131
</metadata>
@@ -39,8 +39,8 @@
3939
<file src="NuGet\net48\Mile.Xaml.AfterImport.targets" target="build\net48" />
4040
<file src="NuGet\net48\Mile.Xaml.props" target="build\net48" />
4141
<file src="NuGet\net48\Mile.Xaml.targets" target="build\net48" />
42-
<file src="NuGet\net8.0\Mile.Xaml.targets" target="build\net8.0-windows10.0.19041.0" />
43-
<file src="NuGet\net8.0\Mile.Xaml.props" target="build\net8.0-windows10.0.19041.0" />
42+
<file src="NuGet\net8.0\Mile.Xaml.targets" target="build\net10.0-windows10.0.19041.0" />
43+
<file src="NuGet\net8.0\Mile.Xaml.props" target="build\net10.0-windows10.0.19041.0" />
4444
<file src="NuGet\MrtCore.PriGen.targets" target="build" />
4545

4646
<file src="..\Output\Binaries\Release\x64\Mile.Xaml.Styles.SunValley.xbf" target="Redist\Styles" />
@@ -52,8 +52,8 @@
5252
<file src="..\Output\Binaries\Release\AnyCPU\net48\Mile.Xaml.Managed.dll" target="lib\net48" />
5353
<file src="..\Output\Binaries\Release\AnyCPU\net48\Mile.Xaml.Managed.pdb" target="lib\net48" />
5454

55-
<file src="..\Output\Binaries\Release\AnyCPU\net8.0-windows\Mile.Xaml.Managed.dll" target="lib\net8.0-windows10.0.19041.0" />
56-
<file src="..\Output\Binaries\Release\AnyCPU\net8.0-windows\Mile.Xaml.Managed.pdb" target="lib\net8.0-windows10.0.19041.0" />
55+
<file src="..\Output\Binaries\Release\AnyCPU\net10.0-windows\Mile.Xaml.Managed.dll" target="lib\net10.0-windows10.0.19041.0" />
56+
<file src="..\Output\Binaries\Release\AnyCPU\net10.0-windows\Mile.Xaml.Managed.pdb" target="lib\net10.0-windows10.0.19041.0" />
5757

5858
<file src="..\Output\Binaries\Release\Win32\Mile.Xaml.dll" target="Redist\ManagedNativeBackend\x86" />
5959
<file src="..\Output\Binaries\Release\Win32\Mile.Xaml.pdb" target="Redist\ManagedNativeBackend\x86" />

0 commit comments

Comments
 (0)