Skip to content

Commit c50b07c

Browse files
committed
Made build work with .net 3.5 build too
1 parent 5c696bc commit c50b07c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

TestStack.BDDfy.Samples/TestStack.BDDfy.Samples.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@
6969
</ProjectReference>
7070
</ItemGroup>
7171
<ItemGroup>
72-
<None Include="packages.config" />
72+
<None Include="packages.config">
73+
<SubType>Designer</SubType>
74+
</None>
7375
</ItemGroup>
7476
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7577
<PropertyGroup>

TestStack.BDDfy.Tests/TestStack.BDDfy.Tests.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
<ItemGroup>
4545
<Reference Include="NSubstitute, Version=1.6.1.0, Culture=neutral, PublicKeyToken=92dd2e9066daa5ca, processorArchitecture=MSIL">
4646
<SpecificVersion>False</SpecificVersion>
47-
<HintPath>..\packages\NSubstitute.1.6.1.0\lib\NET40\NSubstitute.dll</HintPath>
47+
<HintPath Condition="$(TargetFrameworkVersion)=='v4.0'">..\packages\NSubstitute.1.6.1.0\lib\NET40\NSubstitute.dll</HintPath>
48+
<HintPath Condition="$(TargetFrameworkVersion)!='v4.0'">..\packages\NSubstitute.1.6.1.0\lib\NET35\NSubstitute.dll</HintPath>
4849
</Reference>
4950
<Reference Include="nunit.framework, Version=2.6.2.12296, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
5051
<SpecificVersion>False</SpecificVersion>

0 commit comments

Comments
 (0)