File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ From the source code directory, execute the following command:
3030
3131To install it locally, using the source:
3232
33- ```
33+ ``` powershell
3434Import-Module .\dotnet-new\dual-projects\dual-projects.psm1
3535
3636# Example from a local directory to test scripts changes, you can load the module with absolute path:
@@ -189,15 +189,25 @@ Register-PSRepository -Name MyGetFeed -SourceLocation $PSGallerySourceUri -Publi
189189
190190Install the module from that custom MyGet feed:
191191
192- ```
193- Install-Module -Name "dual-projects" -RequiredVersion "1.0.0" -Repository MyGetFeed -Scope CurrentUser
192+ ``` powershell
193+ # Only for the current user
194+ Install-Module -Name "dual-projects" -RequiredVersion "1.1.0" -Repository MyGetFeed -Scope CurrentUser
195+
196+ # For all users (required an elevated terminal)
197+ Install-Module -Name "dual-projects" -RequiredVersion "1.1.0" -Repository MyGetFeed
198+
199+ # Update the module (force is required to overrite the old version)
200+ Update-Module -Name "dual-projects" -RequiredVersion "1.1.0" -Force
201+
202+ # List installed modules
203+ Get-InstalledModule -Name "dual-projects"
194204```
195205
196206> > > > > > > Update README and fix DualProjects props options
197207
198208Publish to that custom MyGet feed:
199209
200- ```
210+ ``` powershell
201211$APIKey = 'YOUR-API-KEY'
202212Publish-Module -Path dotnet-new -NuGetApiKey $APIKey -Repository ForEvolveFeed -Verbose
203213```
You can’t perform that action at this time.
0 commit comments