Replies: 3 comments 1 reply
-
your TargetFramework is dotnet 8.0 but you are using dotnet 9.0-preview nuget packages for entityframework |
Beta Was this translation helpful? Give feedback.
1 reply
-
It is EF Core SQL Server. This has the WebView2 reference in it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is there a way that the MSIX tooling be stopped from copying the WebView2 references since EF Core already references it? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Can someone please help me on determining why I am having file conflict issues with WebView2.Core.dll? Below is my csproj file:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
<TargetPlatformMinVersion>10.0.22621.0</TargetPlatformMinVersion>
<RootNamespace>Schoolr</RootNamespace>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Platforms>x86;x64;ARM64</Platforms>
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
<PublishProfile>win10-$(Platform).pubxml</PublishProfile>
<UseWinUI>true</UseWinUI>
<EnableMsixTooling>true</EnableMsixTooling>
<SupportedOSPlatformVersion>10.0.22621.0</SupportedOSPlatformVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
**<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>**
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="CommunityToolkit.WinUI.Controls.CameraPreview" Version="8.0.240109" />
<PackageReference Include="CommunityToolkit.WinUI.Controls.Sizers" Version="8.0.240109" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.0-preview.1.24081.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0-preview.1.24081.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0-preview.1.24081.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.49-beta">
<PrivateAssets>all</PrivateAssets>
<!--<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>-->
</PackageReference>
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240227000" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26031-preview" />
<PackageReference Include="Syncfusion.Calendar.WinUI" Version="24.2.8" />
<PackageReference Include="Syncfusion.Editors.WinUI" Version="24.2.8" />
<PackageReference Include="Syncfusion.Grid.WinUI" Version="24.2.8" />
<PackageReference Include="Syncfusion.Licensing" Version="24.2.8" />
<PackageReference Include="Syncfusion.Notifications.WinUI" Version="24.2.8" />
<PackageReference Include="Syncfusion.Ribbon.WinUI" Version="24.2.8" />
<Manifest Include="$(ApplicationManifest)" />
</ItemGroup>
Here is the build error:
PS
I am not using WebView2 in my project. I don't know if it's a transitive nuget package.
Beta Was this translation helpful? Give feedback.
All reactions