CefGlue.Common.csproj 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net6.0</TargetFramework>
  4. <AssemblyName>Xilium.CefGlue.Common</AssemblyName>
  5. <RootNamespace>Xilium.CefGlue.Common</RootNamespace>
  6. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  7. <Configurations>Debug;Release;Debug_WindowlessRender</Configurations>
  8. <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
  9. <Version>1.1.0</Version>
  10. <Authors>IUS, VINNO</Authors>
  11. <PackageProjectUrl>http://git.ius.plus:88/Project-Wing/CefGlue</PackageProjectUrl>
  12. <RepositoryUrl>http://git.ius.plus:88/Project-Wing/CefGlue</RepositoryUrl>
  13. <Description>Modified Xilium.CefGlue.Common to support win32, win64 and osx64.</Description>
  14. <AssemblyVersion>1.0.0.0</AssemblyVersion>
  15. <FileVersion>1.0.0.0</FileVersion>
  16. <PackageId>Vinno.CefGlue.Common</PackageId>
  17. <Company>VINNO Technology (Suzhou) Co.,Ltd.</Company>
  18. </PropertyGroup>
  19. <ItemGroup>
  20. <Compile Remove="BaseCefBrowser.cs" />
  21. <Compile Remove="CommonBrowserBehaviors.cs" />
  22. </ItemGroup>
  23. <ItemGroup>
  24. <None Include="BaseCefBrowser.cs" />
  25. </ItemGroup>
  26. <ItemGroup>
  27. <PackageReference Include="NLog" Version="4.7.8" />
  28. <PackageReference Include="System.Threading.Tasks.Dataflow" Version="5.0.0" />
  29. <PackageReference Include="Vinno.CefGlue" Version="1.1.0" />
  30. <PackageReference Include="Vinno.CefGlue.Common.Shared" Version="1.1.0" />
  31. </ItemGroup>
  32. <ItemGroup>
  33. <Folder Include="Assets\osx-x64\CEF\" />
  34. <Folder Include="Assets\win-x64\CEF\" />
  35. <Folder Include="Assets\win-x86\CEF\" />
  36. </ItemGroup>
  37. <Target Name="PublishAppWin" AfterTargets="AfterBuild" Condition="$(TargetFramework.StartsWith('net6')) and '$(IsPublishing)' != 'True' and $([MSBuild]::IsOSPlatform('Windows'))">
  38. <!--Generate nuget packages-->
  39. <Exec Command="$(ProjectDir)Assets\nuget.exe pack $(ProjectDir)Assets\win-x86\Cef.Native.win-x86.nuspec -OutputDirectory $(ProjectDir)bin" />
  40. <Exec Command="$(ProjectDir)Assets\nuget.exe pack $(ProjectDir)Assets\win-x64\Cef.Native.win-x64.nuspec -OutputDirectory $(ProjectDir)bin" />
  41. <Exec Command="$(ProjectDir)Assets\nuget.exe pack $(ProjectDir)Assets\osx-x64\Cef.Native.Osx-x64.nuspec -OutputDirectory $(ProjectDir)bin" />
  42. </Target>
  43. </Project>