Wiki source code of getting-started
Version 21.2 by Gideon Lombard on 2022/07/06 13:44
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
5.1 | 1 | Hi Team |
| |
2.1 | 2 | |
| |
5.1 | 3 | |
| |
2.1 | 4 | When you open the projects from the new locations you might have to fix some of the references due to the folder structures changing ie code is not under a "Development" folder as it now is branch based. This can be done by editing the csproj directly or doing a search and replace with the new paths where applicable, alternatively you can remove the old references via IDE and relink to new paths **do not link to old paths on your machine**. |
| 5 | |||
| 6 | |||
| 7 | Some of the projects have been converted to start using our own nuget feed so to ensure you do not have any connectivity issues: | ||
| 8 | |||
| |
21.2 | 9 | ~1. Make sure that you download and install the latest version of Git from [[https:~~/~~/gitforwindows.org/>>https://gitforwindows.org/]] |
| 10 | |||
| 11 | |||
| 12 | [[image:1657114851784-392.png]] | ||
| 13 | |||
| 14 | |||
| 15 | [[image:1657114877100-308.png]] | ||
| 16 | |||
| 17 | |||
| 18 | [[image:1657114930282-807.png]] | ||
| 19 | |||
| 20 | |||
| 21 | [[image:1657114946064-403.png]] | ||
| 22 | |||
| 23 | |||
| 24 | |||
| 25 | [[image:1657114967427-838.png]] | ||
| 26 | |||
| 27 | [[image:1657114979552-688.png]] | ||
| 28 | |||
| 29 | |||
| 30 | [[image:1657114991695-101.png]] | ||
| 31 | |||
| 32 | |||
| 33 | [[image:1657115030668-697.png]] | ||
| 34 | |||
| 35 | [[image:1657115041449-256.png]] | ||
| 36 | |||
| 37 | |||
| 38 | |||
| 39 | |||
| 40 | |||
| |
2.1 | 41 | 1. make sure your VS is updated with the latest updates (critical) |
| 42 | 1. ((( | ||
| |
6.2 | 43 | install [[The Azure Artifacts Credential Provider>>url:https://github.com/Microsoft/artifacts-credprovider#setup]] and select the **PowerShell helper script **link |
| 44 | |||
| |
10.2 | 45 | [[image:1657111373296-938.png]] |
| |
6.2 | 46 | |
| |
10.2 | 47 | Click the copy icons to copy the text |
| 48 | |||
| 49 | [[image:1657111476063-780.png]] | ||
| 50 | |||
| 51 | |||
| 52 | Open Windows Powershell ISE as administrator and click the new button and paste the text in the script window | ||
| 53 | |||
| 54 | [[image:1657111556824-350.png]] | ||
| 55 | |||
| 56 | |||
| 57 | [[image:1657111596157-325.png]] | ||
| 58 | |||
| |
10.3 | 59 | Click the Run button to execute the script |
| 60 | |||
| |
10.2 | 61 | |
| |
2.1 | 62 | ))) |
| 63 | 1. ((( | ||
| |
10.4 | 64 | For the Visual Studio development users they require to run the following inside a Visual Studio Command Shell as an administrator |
| |
2.1 | 65 | |
| 66 | dotnet nuget add source https:~/~/pkgs.dev.azure.com/ebsphere/ebsphere/_packaging/ebs-dev/nuget/v3/index.json ~-~-name ebs-dev | ||
| 67 | ))) | ||
| 68 | |||
| 69 | 1. | ||
| 70 | |||
| 71 | 1. | ||
| 72 | |||
| 73 | Also while we in the transition phase it might be helpful to add this link via this command: | ||
| 74 | |||
| 75 | >mklink /D c:\dev\src\Packages C:\dev\Packages | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | For reference attached is the mappings of the new folders from old folders. | ||
| 80 | |||
| 81 | |||
| 82 | If you want to start making changes follow the following process: | ||
| 83 | |||
| 84 | |||
| 85 | 1. ((( | ||
| 86 | Right click the migration folder and create a new branch via the TortoiseGit menu | ||
| 87 | |||
| 88 | |||
| |
5.1 | 89 | 1. [[image:image-20220706143954-1.png]] |
| |
2.1 | 90 | ))) |
| 91 | 1. specify branch name follow this pattern for now (names cannot have spaces use dashes -): | ||
| 92 | |||
| 93 | 1. feature/il-12345 | ||
| 94 | 11. if it is issue log related you can add a -short-description if needed | ||
| 95 | 11. 12345 = replace with issue log number | ||
| 96 | 1. feature/12345 | ||
| 97 | 11. if it is azure task related | ||
| 98 | 11. 12345 = replace with az workitem number | ||
| 99 | 1. feature/short-description | ||
| 100 | 11. if it has no work item associated to it | ||
| 101 | |||
| 102 | 1. make sure you select branch = master and switch to new branch is checked | ||
| |
5.1 | 103 | 11. [[image:image-20220706143954-2.png]] |
| |
2.1 | 104 | |
| 105 | As mentioned Friday if there is a piece of new code that has sync over yet and you need it, merge it over on your end with something like winmerge //once you have created a feature branch//. | ||
| 106 | |||
| 107 | |||
| 108 | As always please reach out if you get stuck. | ||
| 109 | |||
| 110 | |||
| |
5.1 | 111 | Regards |