Update samples to be compliant with automatic NuGet security analysis injected in ADO pipelines. See https://aka.ms/nugetsecurityanalysis for more details but this essentially boils down to:
1. Ensuring `<clear/>` statements are in each nuget.config file in the repo
2. nuget.config only specifies a singular nuget feed
Since these are samples, the change adds 1 above and comments out references to the MSBuildForUnity feed with the expectation that one would uncomment them from the sample when testing this out manually. This is currently consistent with the documentation that a special feed for the MSBuildForUnity is currently required.
* Rework automatic generation logic, and ensure cleanning of build artifacts is done at appropriate times.
* Removing debug logs.
* A few minor fixes to strengthen regen for correct times.
* Updated versions to 0.8.2
* Forcing NuGet packages to be copied out to bin folder
* Attempting to not produce a prerelease versioned NuGet package.
* Fixing typo
* Trying to use current branch
* Trying to use current branch
* Fixing typo
* Fixed source branch parameter
* Update UPM to only increment if not a release branch
* Preparing for release of 0.8.1
* Exposed Project path through commons file, and updated SimpleNuGetDependency project to make use of it
* Update Source/MSBuildTools.Unity/Packages/com.microsoft.msbuildforunity/Editor/ProjectGenerator/MSBuildTemplates/MSBuildForUnity.Common.props.template
Co-Authored-By: Kurtis <kurtie@microsoft.com>
* Fixed typo
* Renamed property
* Updating MSBuildForUnity NuGet package reference that is either generated or embedded int he simple sample. The new version range allows any 0.8.0- prerelease, or a 0.8.0 package as max.
* Git is case sensitive on link, fixing it
* Added a Unity project with reference to MSBuildForUnity and 2 asmdef to signify two components
* Added props/targets templates, and also refactored to exporter model
* More changes, plus some sample updates
* Perf Improvements in preparation of External Depedencies (#42)
* Misc cleanup, also refactor a bit more csprojectinfo and exporter relationship
* Rewrote the template process for XML, haven't replaced existing process yet.
* Various perf improvements, also removed need to create PackageCopy
* Implemented TextFileTemplate
* A few more minor changes
* A bit of cleanup
* Update Source/MSBuildTools.Unity/Packages/com.microsoft.msbuildforunity/Editor/ProjectGenerator/Scripts/Exporters/IProjectExporter.cs
Co-Authored-By: Kurtis <kurtie@microsoft.com>
* Update Source/MSBuildTools.Unity/Packages/com.microsoft.msbuildforunity/Editor/ProjectGenerator/Scripts/Templates/Xml/XmlCommentTemplateToken.cs
Co-Authored-By: Kurtis <kurtie@microsoft.com>
* Update Source/MSBuildTools.Unity/Packages/com.microsoft.msbuildforunity/Editor/ProjectGenerator/Scripts/Templates/TemplateReplacementSet.cs
Co-Authored-By: Kurtis <kurtie@microsoft.com>
* Update Source/MSBuildTools.Unity/Packages/com.microsoft.msbuildforunity/Editor/ProjectGenerator/Scripts/Templates/ITemplatePart.cs
Co-Authored-By: Kurtis <kurtie@microsoft.com>
* Update Source/MSBuildTools.Unity/Packages/com.microsoft.msbuildforunity/Editor/ProjectGenerator/Scripts/Exporters/TemplatedProjectExporter.cs
Co-Authored-By: Kurtis <kurtie@microsoft.com>
* Removing commented code
* Replace Source File references with Folder Includes (#43)
* Misc cleanup, also refactor a bit more csprojectinfo and exporter relationship
* Rewrote the template process for XML, haven't replaced existing process yet.
* Various perf improvements, also removed need to create PackageCopy
* Implemented TextFileTemplate
* A few more minor changes
* A bit of cleanup
* Added support for including on soure file locations and excluding on source file locations
* Update Source/MSBuildTools.Unity/Packages/com.microsoft.msbuildforunity/Editor/ProjectGenerator/Scripts/Exporters/IProjectExporter.cs
Co-Authored-By: Kurtis <kurtie@microsoft.com>
* Update Source/MSBuildTools.Unity/Packages/com.microsoft.msbuildforunity/Editor/ProjectGenerator/Scripts/Templates/Xml/XmlCommentTemplateToken.cs
Co-Authored-By: Kurtis <kurtie@microsoft.com>
* Update Source/MSBuildTools.Unity/Packages/com.microsoft.msbuildforunity/Editor/ProjectGenerator/Scripts/Templates/TemplateReplacementSet.cs
Co-Authored-By: Kurtis <kurtie@microsoft.com>
* Update Source/MSBuildTools.Unity/Packages/com.microsoft.msbuildforunity/Editor/ProjectGenerator/Scripts/Templates/ITemplatePart.cs
Co-Authored-By: Kurtis <kurtie@microsoft.com>
* Update Source/MSBuildTools.Unity/Packages/com.microsoft.msbuildforunity/Editor/ProjectGenerator/Scripts/Exporters/TemplatedProjectExporter.cs
Co-Authored-By: Kurtis <kurtie@microsoft.com>
* Removing commented code
* Update Generated Project Structure (#45)
* Misc cleanup, also refactor a bit more csprojectinfo and exporter relationship
* Rewrote the template process for XML, haven't replaced existing process yet.
* Various perf improvements, also removed need to create PackageCopy
* Implemented TextFileTemplate
* A few more minor changes
* A bit of cleanup
* Added support for including on soure file locations and excluding on source file locations
* First iteration of updating project structure
* Updated the structure, and ensured standard scenarios still work
* Added an example of external nuget package reference
* Added the NuGet dependency example that has minimum requirement of MSBuildForUnity
* Adding settings json file
* Fixed an error
* Update Source/MSBuildTools.Unity/Packages/com.microsoft.msbuildforunity/Editor/ProjectGenerator/Scripts/Templates/TemplateReplacementSet.cs
Co-Authored-By: Kurtis <kurtie@microsoft.com>
* Update Source/MSBuildTools.Unity/Packages/com.microsoft.msbuildforunity/Editor/ProjectGenerator/Scripts/Templates/Xml/XmlCommentTemplateToken.cs
Co-Authored-By: Kurtis <kurtie@microsoft.com>
* Update Source/MSBuildTools.Unity/Packages/com.microsoft.msbuildforunity/Editor/ProjectGenerator/Scripts/Templates/ITemplatePart.cs
Co-Authored-By: Kurtis <kurtie@microsoft.com>
* Update Source/MSBuildTools.Unity/Packages/com.microsoft.msbuildforunity/Editor/ProjectGenerator/Scripts/Exporters/IProjectExporter.cs
Co-Authored-By: Kurtis <kurtie@microsoft.com>
* Updating templates with comments
* Minor updates
* Simple NuGet Dependency Sample (#46)
* Udpating the sample to be a simple nuget dependency
* Added Readme for the simple nuget package sample
* Integrated Dependencies (#49)
* Updating project generator to support Dependencies project
* Checking in initial version of the sample
* Exclude dependencies folder from participating in contributing plugins to the csproject files generated
* Added the generated projects that can be checked-in
* Made use of JSOn
* Trying to get external reference to be included
* Fixed up most of the things needed to make supported integrated dependencies
* More fixes
* Completed the Readme.md
* Fixing switching platforms
* Updated documentaiton
* Updating project generator to support Dependencies project
* Checking in initial version of the sample
* Exclude dependencies folder from participating in contributing plugins to the csproject files generated
* Added the generated projects that can be checked-in
* Made use of JSOn
* Sign dlls and package (#39)
This change updates the NuGet package build to sign MSBuildForUnity.dll as well as the NuGet package itself.
Break the existing build step into two separate steps (build and package)
Add a step for signing binaries between building and packaging
Add a step for signing the package
* Add NuGet package badge and link to readme (#41)
* Trying to get external reference to be included
* Sign third party components (#47)
The primary change here is to sign third party components (Newtonsoft.Json and Mono.Cecil) and include them in the NuGet package:
- Update MSBuildForUnity.csproj to ensure third party components are copied to the output directory (so we can sign them), and make sure they are then packaged up with the NuGet package.
- Update the code signing steps to sign the third party components.
I also made a couple related changes::
- Replace the Mono.Cecil submodule with the actual NuGet package (an updated package was published a few days ago with the bug fixes we needed).
- Add the ComponentGovernanceComponentDetection step to check for third party components with any known problems (we shouldn't ship such components).
* Move GenerateAssetId into a custom C# task, since CodeTaskFactory is not compatible with dotnet (#48)
* Fixed up most of the things needed to make supported integrated dependencies
* More fixes
* Completed the Readme.md
* Fixing switching platforms
* Updated documentaiton
* Updating project generator to support Dependencies project
* Checking in initial version of the sample
* Exclude dependencies folder from participating in contributing plugins to the csproject files generated
* Added the generated projects that can be checked-in
* Made use of JSOn
* Trying to get external reference to be included
* rebase
* Sign third party components (#47)
The primary change here is to sign third party components (Newtonsoft.Json and Mono.Cecil) and include them in the NuGet package:
- Update MSBuildForUnity.csproj to ensure third party components are copied to the output directory (so we can sign them), and make sure they are then packaged up with the NuGet package.
- Update the code signing steps to sign the third party components.
I also made a couple related changes::
- Replace the Mono.Cecil submodule with the actual NuGet package (an updated package was published a few days ago with the bug fixes we needed).
- Add the ComponentGovernanceComponentDetection step to check for third party components with any known problems (we shouldn't ship such components).
* Fixed up most of the things needed to make supported integrated dependencies
* More fixes
* Completed the Readme.md
* Fixing switching platforms
* Updated documentaiton
* Updating project generator to support Dependencies project
* Checking in initial version of the sample
* Added the generated projects that can be checked-in
* Trying to get external reference to be included
* Fixed up most of the things needed to make supported integrated dependencies
* More fixes
* Completed the Readme.md
* Fixing switching platforms
* Updated documentaiton
* minor fixes
* One more change
* Responding to Kurtis' comments
* Updating the main Readme.md (#50)
* Updating versioning (#51)
* Update README.md
* Update package.json
* Moved where Unity Major/Minor version is specified (#52)
* Added the current MSBuildForUnityVersion
* Responding to Ryan's changes
* Moved Dependencies project
* Re-enabled default profiles
* Undoing auto-formatting
* Flipped backslash to forward slash