Skip to content

Commit 84ea410

Browse files
committed
<ItemGroup Condition="'$(ImplicitUsings)' == 'enable'">
1 parent 41e5e4f commit 84ea410

File tree

7 files changed

+9
-5
lines changed

7 files changed

+9
-5
lines changed

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ Accepting or declining a snapshot file is part of the core workflow of Verify. T
4444

4545
## Usage
4646

47+
**All examples use [ImplicitUsings](https://docs.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#implicitusings). Ensure the following is set to have examples compile correctly `<ImplicitUsings>enable</ImplicitUsings>`**
48+
4749

4850
### Class being tested
4951

readme.source.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ Accepting or declining a snapshot file is part of the core workflow of Verify. T
3737

3838
## Usage
3939

40+
**All examples use [ImplicitUsings](https://docs.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#implicitusings). Ensure the following is set to have examples compile correctly `<ImplicitUsings>enable</ImplicitUsings>`**
41+
4042

4143
### Class being tested
4244

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project>
33
<PropertyGroup>
44
<NoWarn>CS1591;CS0649;xUnit1026;xUnit1013;msb3277;CS0436</NoWarn>
5-
<Version>14.11.0</Version>
5+
<Version>14.11.1</Version>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<LangVersion>10</LangVersion>
88
<AssemblyVersion>1.0.0</AssemblyVersion>

src/Verify.Expecto/buildTransitive/Verify.Expecto.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<ItemGroup>
3+
<ItemGroup Condition="'$(ImplicitUsings)' == 'enable'">
44
<Using Include="VerifyExpecto" />
55
<Using Include="Expecto.CSharp" />
66
<Using Include="Expecto" />

src/Verify.MSTest/buildTransitive/Verify.MSTest.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<ItemGroup>
3+
<ItemGroup Condition="'$(ImplicitUsings)' == 'enable'">
44
<Using Include="VerifyMSTest" />
55
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
66
</ItemGroup>

src/Verify.NUnit/buildTransitive/Verify.NUnit.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<ItemGroup>
3+
<ItemGroup Condition="'$(ImplicitUsings)' == 'enable'">
44
<Using Include="VerifyNUnit" />
55
<Using Include="VerifyNUnit.Verifier" Static="True" />
66
<Using Include="NUnit" />

src/Verify.Xunit/buildTransitive/Verify.Xunit.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<ItemGroup>
3+
<ItemGroup Condition="'$(ImplicitUsings)' == 'enable'">
44
<Using Include="VerifyXunit" />
55
<Using Include="Xunit" />
66
<Using Include="VerifyXunit.Verifier" Static="True" />

0 commit comments

Comments
 (0)