UWP IL2CPP Version Control

Hello,

I am building a UWP build for running on the Xbox One. I found this document from Microsoft on version controlling your UWP build from unity. However, we are using IL2CPP and the structures don’t map up directly. I was wondering if anybody have some best practices/suggestions on which files/directories should be checked into version control (we’re using git) and which should be ignored.

Thanks,

Hi,

I assume you’re talking about the generated VS solution? Let’s say my project is named “New Unity Project 82”. In that case, I’d want to check in these files:

New Unity Project 82.sln
New Unity Project 82\Assets\* (everything under that folder)
New Unity Project 82\App.cpp(if you're using D3D build type)
New Unity Project 82\App.h (if you're using D3D build type)
New Unity Project 82\Main.cpp (if you're using D3D build type)
New Unity Project 82\App.xaml.cpp (if you're using XAML build type)
New Unity Project 82\App.xaml.h (if you're using XAML build type)
New Unity Project 82\App.xaml (if you're using XAML build type)
New Unity Project 82\MainPage.xaml.cpp (if you're using XAML build type)
New Unity Project 82\MainPage.xaml.h (if you're using XAML build type)
New Unity Project 82\MainPage.xaml (if you're using XAML build type)
New Unity Project 82\New Unity Project 82.vcxproj
New Unity Project 82\New Unity Project 82.vcxproj.filters
New Unity Project 82\New Unity Project 82.vcxproj.user
New Unity Project 82\Package.appxmanifest
New Unity Project 82\pch.cpp
New Unity Project 82\pch.h
New Unity Project 82\WSATestCertificate.pfx

That’s about it. All the other files get overwritten when you build on top of the same folder, while you are free to make changes to all the files I listed and Unity will respect those changes.