Skip to content

Conversation

@andreiborodin
Copy link
Contributor

This change updates how we perform top-level project generation, and a bit of other cleanup.

@andreiborodin andreiborodin added the enhancement New feature or request label Jan 22, 2020
@andreiborodin andreiborodin added this to the 0.9.0 Release milestone Jan 22, 2020
@andreiborodin andreiborodin self-assigned this Jan 22, 2020
public static void RegenerateSDKProjects()
{
RegenerateEverything(reparseUnityData: true);
RegenerateEverything(unityProjectInfo = new UnityProjectInfo(SupportedBuildTargets, Config, true));
Copy link
Contributor

@chrisfromwork chrisfromwork Jan 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true [](start = 104, length = 4)

nit: specify the argument name here for the true. #Pending

}

public static void ExportTopLevelDependenciesProject(IUnityProjectExporter exporter, MSBuildToolsConfig config, DirectoryInfo generatedProjectFolder, UnityProjectInfo unityProjectInfo)
{
Copy link
Contributor

@chrisfromwork chrisfromwork Jan 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: add summary #WontFix

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving for now, as this class is temporary so I can split off the logic and then adapt it in the appropriate place.


In reply to: 369676752 [](ancestors = 369676752)

}

public void Dispose()
{
Copy link
Contributor

@chrisfromwork chrisfromwork Jan 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: add summary #Pending

// Logging will be re-enabled with robust update holistically across MSB4U: https://github.com/microsoft/MSBuildForUnity/issues/75
// Debug.Log($"Native plugin {plugin.ReferencePath.AbsolutePath} not yet supported for MSBuild project.");
}
}
Copy link
Contributor

@chrisfromwork chrisfromwork Jan 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: remove this foreach if its a noop. Or comment it all out #Pending

public string Condition { get; set; }

public override int GetHashCode()
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: add inheritdoc for these overrides

@chrisfromwork
Copy link
Contributor

How were these changes tested?

@andreiborodin
Copy link
Contributor Author

Tested this with all three samples, and actually the work you been doing in SpectatorView.Unity


In reply to: 577283613 [](ancestors = 577283613)

Copy link
Contributor

@keveleigh keveleigh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing jumps out at me

Copy link
Contributor

@chrisfromwork chrisfromwork left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@andreiborodin andreiborodin merged commit b309a1a into master Jan 23, 2020
@andreiborodin andreiborodin deleted the features/updateDependenciesProjectGeneration branch January 23, 2020 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants