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

Current clone-build-run experience is not seamless. #3

Open
1 of 2 tasks
zwcloud opened this issue Jan 23, 2018 · 2 comments
Open
1 of 2 tasks

Current clone-build-run experience is not seamless. #3

zwcloud opened this issue Jan 23, 2018 · 2 comments

Comments

@zwcloud
Copy link
Owner

zwcloud commented Jan 23, 2018

We must ensure that the following process is never interrupted by any errors that is hard to solve.

  1. git clone
  2. build solution
  3. debug/release run demo projects

Some hard errors that should be avoided:

  1. Windows SDK version not right: users need to download the required windows SDK, which is really time-consuming.
  2. .NET Framework / .NET Core not installed: time-consuming
  3. Provide pre-built dll/so if a developer don't want to build native libraries by him/herself, which is time-consuming.

Target: Clone, build C# projects and run demos seamlessly on Win10 with VS2017 only.

  • Windows
  • Linux
@zwcloud
Copy link
Owner Author

zwcloud commented Jan 31, 2018

Windows

Done for specific environment on Windows in 1a26181:

  • Windows SDK Version: 8.1
  • Platform toolset: Visual Studio 2017 (v141)
  • Platform: x86 and x64

The built demos now runs on Win7/10 x64 without any additional configuration. For Win7/Win10 x86, the property of demo projects should be changed to x86 (Not AnyCPU and prefer 32bit).

Note: Native dll and pdb files are copied with NativeLibraryCopier.exe in the pre-build event of C# projects. The copier has taken all platforms(x64/x86) and Debug/Release version into consideration.

@zwcloud
Copy link
Owner Author

zwcloud commented Jan 31, 2018

Linux

Trying to build native cairo in Windows Subsystem for Linux. See Targeting the Windows Subsystem for Linux from Visual Studio.

TODO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant