You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ReferenceResolution.md
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,3 +33,37 @@ The requirements that led to this system are:
33
33
*[eng/PatchConfig.props](/eng/PatchConfig.props) - lists which assemblies or packages are patching in the current build.
34
34
*[eng/ProjectReferences.props](/eng/ProjectReferences.props) - lists which assemblies or packages might be available to be referenced as a local project
35
35
*[eng/Versions.props](/eng/Versions.props) - contains a list of versions which may be updated by automation.
36
+
37
+
## Example: adding a new project
38
+
39
+
Steps for adding a new project to this repo.
40
+
41
+
1. Create the .csproj
42
+
2. Run `eng/scripts/GenerateProjectList.ps1`
43
+
3. Add it to Extensions.sln
44
+
45
+
## Example: adding a new dependency
46
+
47
+
Steps for adding a new package dependency to an existing project. Let's say I'm adding a dependency on System.Banana.
48
+
49
+
1. Add the package to the .csproj file using `<Reference Include="System.Banana" />`
50
+
2. Add an entry to [eng/Dependencies.props](/eng/Dependencies.props), `<LatestPackageReference Include="System.Banana" Version="0.0.1-beta-1" />`
51
+
3. If this package comes from another dotnet team and should be updated automatically by our bot...
52
+
1. Change the LatestPackageReference entry to `Version="$(SystemBananaPackageVersion)"`.
53
+
2. Add an entry to [eng/Versions.props](/eng/Versions.props) like this `<SystemBananaPackageVersion>0.0.1-beta-1</SystemBananaPackageVersion>`.
54
+
3. Add an entry to [eng/Version.Details.xml](/eng/Version.Details.xml) like this:
0 commit comments