Skip to content

Commit

Permalink
Errata
Browse files Browse the repository at this point in the history
  • Loading branch information
RupertAvery committed Dec 1, 2017
1 parent 2c71c10 commit fd44d09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

It grew out of a need to automate the insertion of newly created files using data extracted from existing files.

**NOTE:** This is not supposed to be used inside Visual Studio as an alternative to writing an Visual Studio extension. Rather, it is a way to automate modifying the csproj XML easily, without having to think about elements and attributes and indentation.
**NOTE:** This is not supposed to be used inside Visual Studio as an alternative to writing a Visual Studio extension. Rather, it is a way to automate modifying the csproj XML easily, without having to think about elements and attributes and indentation.

# NuGet

Expand Down Expand Up @@ -137,12 +137,12 @@ ItemGroup contents inherit from ItemGroupContent. Accessing the Contents propert
var contents = itemGroup.Contents.ToList();

// of type Reference
Console.WriteLine(contents[0].HintPath);
Console.WriteLine(((Reference)contents[0]).HintPath);

// of type Compile
Console.WriteLine(contents[1].DependentUpon);
Console.WriteLine(((Compile)contents[1]).DependentUpon);

// of type Content
Console.WriteLine(contents[0].Include);
Console.WriteLine(((Content)contents[0]).Include);

```

0 comments on commit fd44d09

Please sign in to comment.