Skip to content

Commit

Permalink
CI Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BenFidge committed Oct 16, 2019
1 parent 0395fa4 commit ac5c0cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 63 deletions.
63 changes: 1 addition & 62 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,62 +1 @@
# CluedIn.CSharp.Template

Template containing common files and folder structure for creating new C# repositories.

## Simple Usage

1. To create a Git repository for a new C# project follow the steps below

```Shell
# Clone the CSharp template repository and step into the new folder
git clone https://github.com/CluedIn-io/CluedIn.CSharp.Template.git CluedIn.ProjectName
cd CluedIn.ProjectName

# Rename the Git remote to template
git remote rename origin template
```

1. Rename the Visual Studio solution in the root folder

```Shell
ren CluedIn.CSharp.Template.sln CluedIn.ProjectName.sln
```

1. Create the CluedIn.ProjectName repository under the CluedIn organization in GitHub

1. Set the new GitHub repository as the _origin_ remote

```Shell
git remote add origin https://github.com/CluedIn-io/CluedIn.ProjectName
```

1. Push the content to the new Git repository

```Shell
git push
```

Substitute _CluedIn.ProjectName_ for your project name.

## CluedIn Repository Code Migration

To use this repository as a basis for migrating out an existing project from another repository use the instructions provided below.

1. Create a feature branch to perform the code migration in

```Shell
git checkout feature/Migrate-CluedIn-Repository-Code
```

1. Copy across code from source repository

1. Convert projects to VS2017 format so that `dotnet` CLI can work with them

```PowerShell
gci . *.csproj -recurse | ForEach-Object { dotnet migrate-2017 migrate $_.FullName }
```

1. Remove backup files

```PowerShell
gci . backup* -Directory -recurse | remove-item -recurse -force -verbose
```
# CluedIn.Enricher.GoogleMaps
2 changes: 1 addition & 1 deletion src/ExternalSearch.Providers.GoogleMaps.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="CluedIn.ExternalSearch">
<Version>2.4.0-alpha0089</Version>
<Version>2.4.0-alpha0100</Version>
</PackageReference>
<PackageReference Include="MediaToolkit">
<Version>1.1.0.1</Version>
Expand Down

0 comments on commit ac5c0cb

Please sign in to comment.