Skip to content

Commit a513f36

Browse files
committed
Install Microsoft.VisualStudio.Threading
1 parent 6f21308 commit a513f36

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

Git.hub/Git.hub.csproj

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@
3737
<Prefer32Bit>false</Prefer32Bit>
3838
</PropertyGroup>
3939
<ItemGroup>
40+
<Reference Include="Microsoft.VisualStudio.Threading, Version=15.6.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
41+
<HintPath>..\..\..\packages\Microsoft.VisualStudio.Threading.15.6.46\lib\net46\Microsoft.VisualStudio.Threading.dll</HintPath>
42+
<Private>True</Private>
43+
</Reference>
44+
<Reference Include="Microsoft.VisualStudio.Validation, Version=15.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
45+
<HintPath>..\..\..\packages\Microsoft.VisualStudio.Validation.15.3.15\lib\net45\Microsoft.VisualStudio.Validation.dll</HintPath>
46+
<Private>True</Private>
47+
</Reference>
4048
<Reference Include="RestSharp, Version=106.2.1.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
4149
<HintPath>..\..\..\packages\RestSharp.106.2.1\lib\net452\RestSharp.dll</HintPath>
4250
</Reference>
@@ -45,6 +53,7 @@
4553
<HintPath>..\..\..\packages\System.ValueTuple.4.4.0\lib\net461\System.ValueTuple.dll</HintPath>
4654
</Reference>
4755
<Reference Include="System.Web" />
56+
<Reference Include="WindowsBase" />
4857
</ItemGroup>
4958
<ItemGroup>
5059
<Compile Include="APIv2\RepositoryV2.cs" />
@@ -65,5 +74,15 @@
6574
<ItemGroup>
6675
<None Include="packages.config" />
6776
</ItemGroup>
77+
<ItemGroup>
78+
<Analyzer Include="..\..\..\packages\Microsoft.VisualStudio.Threading.Analyzers.15.6.46\analyzers\cs\Microsoft.VisualStudio.Threading.Analyzers.dll" />
79+
</ItemGroup>
6880
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
81+
<Import Project="..\..\..\packages\Microsoft.VisualStudio.Threading.Analyzers.15.6.46\build\Microsoft.VisualStudio.Threading.Analyzers.targets" Condition="Exists('..\..\..\packages\Microsoft.VisualStudio.Threading.Analyzers.15.6.46\build\Microsoft.VisualStudio.Threading.Analyzers.targets')" />
82+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
83+
<PropertyGroup>
84+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
85+
</PropertyGroup>
86+
<Error Condition="!Exists('..\..\..\packages\Microsoft.VisualStudio.Threading.Analyzers.15.6.46\build\Microsoft.VisualStudio.Threading.Analyzers.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.VisualStudio.Threading.Analyzers.15.6.46\build\Microsoft.VisualStudio.Threading.Analyzers.targets'))" />
87+
</Target>
6988
</Project>

Git.hub/packages.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3+
<package id="Microsoft.VisualStudio.Threading" version="15.6.46" targetFramework="net461" />
4+
<package id="Microsoft.VisualStudio.Threading.Analyzers" version="15.6.46" targetFramework="net461" />
5+
<package id="Microsoft.VisualStudio.Validation" version="15.3.15" targetFramework="net461" />
36
<package id="RestSharp" version="106.2.1" targetFramework="net461" />
47
<package id="System.ValueTuple" version="4.4.0" targetFramework="net461" />
58
</packages>

0 commit comments

Comments
 (0)