MSBuildForUnity
MSBuild integration in Unity
File Explorer
Download Latest Version (.zip)- IncrementUPMVersion.ps1
- BuildMSBuildForUnityNuGetBinaries.yml
- BuildMSBuildForUnityNuGetPackage.yml
- CommonInitialization.yml
- PublishArtifacts.yml
- PublishNuGetPackages.yml
- SignBinaries.yml
- SignNuGetPackages.yml
- PRGate.yml
- Publish.NuGet.yml
- Publish.UPM.yml
- EditProjectVS.png
- ManageNuGetPackagesVS.png
- MSBuildRegenerateMenu.png
- SelectNewtonsoftVS.png
- MSBuildForUnityNuGetPackage.md
- BuildFromInspector.gif
- BuildFromMenu.gif
- CreateMSBuildProjectReference.gif
- ImportSolution.gif
- MSBuildProgressBar.gif
- MSBuildProjectBuilder.md
- CoreScenarios.md
- CraftingNuGetPackages.md
- OSXAndLinuxSupport.md
- Troubleshooting.md
- SampleScene.unity
- SampleScene.unity.meta
- Assembly-CSharp.msb4u.csproj
- Assembly-CSharp.msb4u.csproj.meta
- CrossUnityDependencies.Unity.Dependencies.msb4u.csproj
- CrossUnityDependencies.Unity.Dependencies.msb4u.csproj.meta
- CrossUnityDependencies.Unity.msb4u.sln
- CrossUnityDependencies.Unity.msb4u.sln.meta
- CrossUnityTestScript.cs
- CrossUnityTestScript.cs.meta
- Dependencies.meta
- Scenes.meta
- BuildAllProjects.png
- settings.json
- manifest.json
- AudioManager.asset
- ClusterInputManager.asset
- DynamicsManager.asset
- EditorBuildSettings.asset
- EditorSettings.asset
- GraphicsSettings.asset
- InputManager.asset
- NavMeshAreas.asset
- NetworkManager.asset
- Physics2DSettings.asset
- PresetManager.asset
- ProjectSettings.asset
- ProjectVersion.txt
- QualitySettings.asset
- TagManager.asset
- TimeManager.asset
- UnityConnectSettings.asset
- VFXManager.asset
- .gitignore
- README.md
- GeneralComponent.asmdef
- GeneralComponent.asmdef.meta
- GeneralComponent.msb4u.csproj
- GeneralComponent.msb4u.csproj.meta
- GeneralComponentType.cs
- GeneralComponentType.cs.meta
- Component.WSA.asmdef
- Component.WSA.asmdef.meta
- Component.WSA.msb4u.csproj
- Component.WSA.msb4u.csproj.meta
- WSAComponentType.cs
- WSAComponentType.cs.meta
- Assembly-CSharp.msb4u.csproj
- Assembly-CSharp.msb4u.csproj.meta
- Dependencies.meta
- GeneralComponent.meta
- NonComponentType.cs
- NonComponentType.cs.meta
- NuGet.config
- NuGet.config.meta
- Project.Unity.Dependencies.msb4u.csproj
- Project.Unity.Dependencies.msb4u.csproj.meta
- Project.Unity.msb4u.sln
- Project.Unity.msb4u.sln.meta
- WSASpecific.meta
- CSProjectBuild.png
- ProjectGenerationEnabled.png
- UWPAsmDef.png
- CommonComponent.cs
- CommonLibrary.csproj
- CommonLibrary.WSA.csproj
- WSAHelperComponent.cs
- .gitignore
- CommonLibrary.sln
- settings.json
- manifest.json
- AudioManager.asset
- ClusterInputManager.asset
- DynamicsManager.asset
- EditorBuildSettings.asset
- EditorSettings.asset
- GraphicsSettings.asset
- InputManager.asset
- NavMeshAreas.asset
- NetworkManager.asset
- Physics2DSettings.asset
- PresetManager.asset
- ProjectSettings.asset
- ProjectVersion.txt
- QualitySettings.asset
- TagManager.asset
- TimeManager.asset
- UnityConnectSettings.asset
- VFXManager.asset
- .gitignore
- README.md
- .gitignore
- NewtonsoftDependency.csproj
- NewtonsoftDependency.csproj.meta
- NuGet.config
- NuGet.config.meta
- UseJson.unity
- UseJson.unity.meta
- NewtonsoftDependency.meta
- NonComponentType.cs
- NonComponentType.cs.meta
- Project.Unity.Dependencies.msb4u.csproj
- Project.Unity.Dependencies.msb4u.csproj.meta
- Scenes.meta
- CSProjectContents.png
- settings.json
- manifest.json
- AudioManager.asset
- ClusterInputManager.asset
- DynamicsManager.asset
- EditorBuildSettings.asset
- EditorSettings.asset
- GraphicsSettings.asset
- InputManager.asset
- NavMeshAreas.asset
- NetworkManager.asset
- Physics2DSettings.asset
- PresetManager.asset
- ProjectSettings.asset
- ProjectVersion.txt
- QualitySettings.asset
- TagManager.asset
- TimeManager.asset
- UnityConnectSettings.asset
- VFXManager.asset
- .gitignore
- README.md
- Class1.cs
- NetStandardProject.csproj
- .gitignore
- Directory.Build.props
- .gitignore
- OutputConsumer.cs
- OutputConsumer.cs.meta
- Samples.sln
- Samples.sln.meta
- SampleScene.unity
- SampleScene.unity.meta
- Samples.meta
- Scenes.meta
- Microsoft.MSBuildForUnity.ProjectBuilder.Editor.asmdef
- Microsoft.MSBuildForUnity.ProjectBuilder.Editor.asmdef.meta
- MSBuildBuildProfile.cs
- MSBuildBuildProfile.cs.meta
- MSBuildProjectBuilder.cs
- MSBuildProjectBuilder.cs.meta
- MSBuildProjectBuilderEditor.cs
- MSBuildProjectBuilderEditor.cs.meta
- MSBuildProjectImporter.cs
- MSBuildProjectImporter.cs.meta
- MSBuildProjectImporterEditor.cs
- MSBuildProjectImporterEditor.cs.meta
- MSBuildProjectReference.cs
- MSBuildProjectReference.cs.meta
- MSBuildProjectReferenceEditor.cs
- MSBuildProjectReferenceEditor.cs.meta
- MSBuildProjectReferenceEditorExtensions.cs
- MSBuildProjectReferenceEditorExtensions.cs.meta
- BuildProjects.proj.template
- BuildProjects.proj.template.meta
- DependenciesProjectTemplate.csproj.template
- DependenciesProjectTemplate.csproj.template.meta
- DependenciesProjectTemplate.g.props.template
- DependenciesProjectTemplate.g.props.template.meta
- DependenciesProjectTemplate.g.targets.template
- DependenciesProjectTemplate.g.targets.template.meta
- Editor.InEditor.Any.props.template
- Editor.InEditor.Any.props.template.meta
- MSBuildForUnity.Common.props.template
- MSBuildForUnity.Common.props.template.meta
- NuGet.config
- NuGet.config.meta
- Platform.Configuration.Any.props.template
- Platform.Configuration.Any.props.template.meta
- Plugin.Android.meta.template
- Plugin.Android.meta.template.meta
- Plugin.Editor.meta.template
- Plugin.Editor.meta.template.meta
- Plugin.iOS.meta.template
- Plugin.iOS.meta.template.meta
- Plugin.Standalone.meta.template
- Plugin.Standalone.meta.template.meta
- Plugin.WSA.meta.template
- Plugin.WSA.meta.template.meta
- SDKProjectTemplate.csproj.template
- SDKProjectTemplate.csproj.template.meta
- SDKProjectTemplate.g.csproj.template
- SDKProjectTemplate.g.csproj.template.meta
- SDKProjectTemplate.g.props.template
- SDKProjectTemplate.g.props.template.meta
- SDKProjectTemplate.g.targets.template
- SDKProjectTemplate.g.targets.template.meta
- SolutionTemplate.sln.template
- SolutionTemplate.sln.template.meta
- UnixNetSupport.props
- UnixNetSupport.props.meta
- WSA.Player.IL2CPP.props.template
- WSA.Player.IL2CPP.props.template.meta
- WSA.Player.Net.props.template
- WSA.Player.Net.props.template.meta
- Extensions.cs
- Extensions.cs.meta
- TemplatedCommonPropsExporter.cs
- TemplatedCommonPropsExporter.cs.meta
- TemplatedCsharpProjectExporter.cs
- TemplatedCsharpProjectExporter.cs.meta
- TemplatedPlatformPropsExporter.cs
- TemplatedPlatformPropsExporter.cs.meta
- TemplatedSolutionExporter.cs
- TemplatedSolutionExporter.cs.meta
- TemplatedTopLevelDependenciesProjectExporter.cs
- TemplatedTopLevelDependenciesProjectExporter.cs.meta
- TemplatedUnityProjectExporter.cs
- TemplatedUnityProjectExporter.cs.meta
- TemplatedWriter.cs
- TemplatedWriter.cs.meta
- TemplatedWSAPlayerPlatformPropsExporter.cs
- TemplatedWSAPlayerPlatformPropsExporter.cs.meta
- ConfigurationPlatformPair.cs
- ConfigurationPlatformPair.cs.meta
- Extensions.cs
- Extensions.cs.meta
- ICommonPropsExporter.cs
- ICommonPropsExporter.cs.meta
- ICSharpProjectExporter.cs
- ICSharpProjectExporter.cs.meta
- IPlatformPropsExporter.cs
- IPlatformPropsExporter.cs.meta
- ISolutionExporter.cs
- ISolutionExporter.cs.meta
- ITopLevelDependenciesProjectExporter.cs
- ITopLevelDependenciesProjectExporter.cs.meta
- IUnityProjectExporter.cs
- IUnityProjectExporter.cs.meta
- PluginReference.cs
- PluginReference.cs.meta
- ProjectConfigurationPlatformMapping.cs
- ProjectConfigurationPlatformMapping.cs.meta
- ProjectReference.cs
- ProjectReference.cs.meta
- SolutionFolder.cs
- SolutionFolder.cs.meta
- SolutionProject.cs
- SolutionProject.cs.meta
- SolutionSection.cs
- SolutionSection.cs.meta
- TemplatedExporter.meta
- TextSolutionFileParser.cs
- TextSolutionFileParser.cs.meta
- TextFileTemplate.cs
- TextFileTemplate.cs.meta
- TextTemplatePart.cs
- TextTemplatePart.cs.meta
- TextTemplateToken.cs
- TextTemplateToken.cs.meta
- XmlAttributeTemplateToken.cs
- XmlAttributeTemplateToken.cs.meta
- XmlCommentTemplateToken.cs
- XmlCommentTemplateToken.cs.meta
- XmlFileTemplate.cs
- XmlFileTemplate.cs.meta
- XmlTemplatePart.cs
- XmlTemplatePart.cs.meta
- XmlTemplateWriter.cs
- XmlTemplateWriter.cs.meta
- DelimitedStringSet.cs
- DelimitedStringSet.cs.meta
- FileTemplate.cs
- FileTemplate.cs.meta
- ITemplatePart.cs
- ITemplatePart.cs.meta
- ITemplateToken.cs
- ITemplateToken.cs.meta
- TemplateFiles.cs
- TemplateFiles.cs.meta
- TemplateReplacementSet.cs
- TemplateReplacementSet.cs.meta
- Text.meta
- Xml.meta
- AssemblyDefinitionInfo.cs
- AssemblyDefinitionInfo.cs.meta
- AssetScriptReferenceRetargeter.cs
- AssetScriptReferenceRetargeter.cs.meta
- CompilationPlatformInfo.cs
- CompilationPlatformInfo.cs.meta
- CSProjectDependency.cs
- CSProjectDependency.cs.meta
- CSProjectInfo.cs
- CSProjectInfo.cs.meta
- Exporters.meta
- MSBuildTools.cs
- MSBuildTools.cs.meta
- MSBuildToolsConfig.cs
- MSBuildToolsConfig.cs.meta
- MSBuildUnityProjectExporter.cs
- MSBuildUnityProjectExporter.cs.meta
- PluginAssemblyInfo.cs
- PluginAssemblyInfo.cs.meta
- ReferenceItemInfo.cs
- ReferenceItemInfo.cs.meta
- SourceFileInfo.cs
- SourceFileInfo.cs.meta
- TargetFramework.cs
- TargetFramework.cs.meta
- Templates.meta
- UnityProjectInfo.cs
- UnityProjectInfo.cs.meta
- Utilities.cs
- Utilities.cs.meta
- WinMDInfo.cs
- WinMDInfo.cs.meta
- Microsoft.MSBuildForUnity.ProjectGenerator.Editor.asmdef
- Microsoft.MSBuildForUnity.ProjectGenerator.Editor.asmdef.meta
- MSBuildTemplates.meta
- Scripts.meta
- ProjectBuilder.meta
- ProjectGenerator.meta
- CHANGELOG.md
- CHANGELOG.md.meta
- Editor.meta
- LICENSE
- LICENSE.meta
- package.json
- package.json.meta
- README.md
- README.md.meta
- manifest.json
- AudioManager.asset
- ClusterInputManager.asset
- DynamicsManager.asset
- EditorBuildSettings.asset
- EditorSettings.asset
- GraphicsSettings.asset
- InputManager.asset
- NavMeshAreas.asset
- NetworkManager.asset
- Physics2DSettings.asset
- PresetManager.asset
- ProjectSettings.asset
- ProjectVersion.txt
- QualitySettings.asset
- TagManager.asset
- TimeManager.asset
- UnityConnectSettings.asset
- VFXManager.asset
- .gitignore
- AppendNuGetInformation.cs
- AttachDebugger.cs
- GenerateAssetId.cs
- RemapSymbolSources.cs
- .gitignore
- MSBuildForUnity.csproj
- MSBuildForUnity.NuGet.sln
- MSBuildForUnity.props
- MSBuildForUnity.targets
- Publish.props
- Publish.targets
- RemapSymbolSources.props
- RemapSymbolSources.targets
- UnityMetaFileGenerator.props
- UnityMetaFileGenerator.targets
- Plugins
- Plugins.meta
- TestRunner
- TestRunner.meta
- WSATestCertificate.pfx
- WSATestCertificate.pfx.meta
- manifest.json
- AudioManager.asset
- ClusterInputManager.asset
- DynamicsManager.asset
- EditorBuildSettings.asset
- EditorSettings.asset
- GraphicsSettings.asset
- InputManager.asset
- NavMeshAreas.asset
- NetworkManager.asset
- Physics2DSettings.asset
- PresetManager.asset
- ProjectSettings.asset
- ProjectVersion.txt
- QualitySettings.asset
- TagManager.asset
- TimeManager.asset
- UnityConnectSettings.asset
- VFXManager.asset
- .gitignore
- TextMesh Pro User Guide 2016.pdf
- TextMesh Pro User Guide 2016.pdf.meta
- LiberationSans - OFL.txt
- LiberationSans - OFL.txt.meta
- LiberationSans.ttf
- LiberationSans.ttf.meta
- LiberationSans SDF - Drop Shadow.mat
- LiberationSans SDF - Drop Shadow.mat.meta
- LiberationSans SDF - Fallback.asset
- LiberationSans SDF - Fallback.asset.meta
- LiberationSans SDF - Outline.mat
- LiberationSans SDF - Outline.mat.meta
- LiberationSans SDF.asset
- LiberationSans SDF.asset.meta
- TMP_Bitmap-Custom-Atlas.shader
- TMP_Bitmap-Custom-Atlas.shader.meta
- TMP_Bitmap-Mobile.shader
- TMP_Bitmap-Mobile.shader.meta
- TMP_Bitmap.shader
- TMP_Bitmap.shader.meta
- TMP_SDF Overlay.shader
- TMP_SDF Overlay.shader.meta
- TMP_SDF-Mobile Masking.shader
- TMP_SDF-Mobile Masking.shader.meta
- TMP_SDF-Mobile Overlay.shader
- TMP_SDF-Mobile Overlay.shader.meta
- TMP_SDF-Mobile.shader
- TMP_SDF-Mobile.shader.meta
- TMP_SDF-Surface-Mobile.shader
- TMP_SDF-Surface-Mobile.shader.meta
- TMP_SDF-Surface.shader
- TMP_SDF-Surface.shader.meta
- TMP_SDF.shader
- TMP_SDF.shader.meta
- TMP_Sprite.shader
- TMP_Sprite.shader.meta
- TMPro.cginc
- TMPro.cginc.meta
- TMPro_Properties.cginc
- TMPro_Properties.cginc.meta
- TMPro_Surface.cginc
- TMPro_Surface.cginc.meta
- EmojiOne.asset
- EmojiOne.asset.meta
- Default Style Sheet.asset
- Default Style Sheet.asset.meta
- Fonts & Materials.meta
- LineBreaking Following Characters.txt
- LineBreaking Following Characters.txt.meta
- LineBreaking Leading Characters.txt
- LineBreaking Leading Characters.txt.meta
- Shaders.meta
- Sprite Assets.meta
- Style Sheets.meta
- TMP Settings.asset
- TMP Settings.asset.meta
- EmojiOne Attribution.txt
- EmojiOne Attribution.txt.meta
- EmojiOne.json
- EmojiOne.json.meta
- EmojiOne.png
- EmojiOne.png.meta
- Documentation.meta
- Fonts.meta
- Resources.meta
- Sprites.meta
- TestRunner.cs
- TestRunner.cs.meta
- TestRunner.unity
- TestRunner.unity.meta
- TextMesh Pro.meta
- Plugins
- Plugins.meta
- TestRunner.meta
- WSATestCertificate.pfx
- WSATestCertificate.pfx.meta
- manifest.json
- AudioManager.asset
- ClusterInputManager.asset
- DynamicsManager.asset
- EditorBuildSettings.asset
- EditorSettings.asset
- GraphicsSettings.asset
- InputManager.asset
- NavMeshAreas.asset
- Physics2DSettings.asset
- PresetManager.asset
- ProjectSettings.asset
- ProjectVersion.txt
- QualitySettings.asset
- TagManager.asset
- TimeManager.asset
- UnityConnectSettings.asset
- VFXManager.asset
- XRSettings.asset
- .gitignore
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Android.meta
- iOS.meta
- WindowsStandalone32.meta
- WindowsStandalone64.meta
- WSA.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Android.meta
- iOS.meta
- WindowsStandalone32.meta
- WindowsStandalone64.meta
- WSA.meta
- InEditor.meta
- Player.meta
- manifest.json
- AudioManager.asset
- ClusterInputManager.asset
- DynamicsManager.asset
- EditorBuildSettings.asset
- EditorSettings.asset
- GraphicsSettings.asset
- InputManager.asset
- NavMeshAreas.asset
- NetworkManager.asset
- Physics2DSettings.asset
- PresetManager.asset
- ProjectSettings.asset
- ProjectVersion.txt
- QualitySettings.asset
- TagManager.asset
- TimeManager.asset
- UnityConnectSettings.asset
- VFXManager.asset
- .gitignore
- Assets
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.asmdef
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.asmdef.meta
- PlatformTest.cs
- PlatformTest.cs.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Android.meta
- iOS.meta
- WindowsStandalone32.meta
- WindowsStandalone64.meta
- WSA.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Microsoft.Build.Unity.ProjectGeneration.TestAssembly.dll.meta
- Android.meta
- iOS.meta
- WindowsStandalone32.meta
- WindowsStandalone64.meta
- WSA.meta
- InEditor.meta
- Player.meta
- manifest.json
- AudioManager.asset
- ClusterInputManager.asset
- DynamicsManager.asset
- EditorBuildSettings.asset
- EditorSettings.asset
- GraphicsSettings.asset
- InputManager.asset
- NavMeshAreas.asset
- Physics2DSettings.asset
- PresetManager.asset
- ProjectSettings.asset
- ProjectVersion.txt
- QualitySettings.asset
- TagManager.asset
- TimeManager.asset
- UnityConnectSettings.asset
- VFXManager.asset
- XRSettings.asset
- .gitignore
- .gitattributes
- .gitmodules
- CODE_OF_CONDUCT.md
- Directory.Build.props
- LICENSE
- README.md
- SECURITY.md
# Installation Guide
1. Get the code
git clone https://github.com/microsoft/MSBuildForUnity
Downloads the entire project code from GitHub to your computer.
cd MSBuildForUnity
Moves into the project folder you just downloaded.
2. .NET
Medium RecommendedPrerequisites
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd Source/MSBuildTools.Unity.NuGet
This project's files live in a subfolder, so move into it first.
dotnet restore
Downloads the packages the project depends on.
dotnet run
Builds the project and runs it immediately.
After dotnet run, check the message or address shown in the terminal.
3. Node.js
EasyPrerequisites
"url": "https://pkgs.dev.azure.com/UnityDeveloperTools/MSBuildForUnity/_packaging/UnityDeveloperTools/npm/registry/",
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
