Skip to content

Commit 8c6196e

Browse files
authored
Modify project files to reduce warnings when building (#183)
1 parent 5f0855c commit 8c6196e

File tree

6 files changed

+5
-27
lines changed

6 files changed

+5
-27
lines changed

tests/Agent/IntegrationTests/Shared/MsSqlOleDbConfiguration.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ namespace NewRelic.Agent.IntegrationTests.Shared
99
public class MsSqlOleDbConfiguration
1010
{
1111
private static string _msSqlOleDbConnectionString;
12-
private static string _msSqlOleDbServer;
1312

1413
// example: "PROVIDER=SQLXXXX11;Server=1.2.3.4;Database=DBName;Trusted_Connection=no;UID=sa;PWD=password;Encrypt=no;Timeout=30;"
1514
public static string MsSqlOleDbConnectionString

tests/Agent/IntegrationTests/UnboundedApplications/BasicMvcApplication/BasicMvcApplication.csproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@
4343
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
4444
</PropertyGroup>
4545
<ItemGroup>
46-
<Reference Include="Couchbase.NetClient, Version=2.3.8.0, Culture=neutral, PublicKeyToken=05e9c6b5a9ec94c2, processorArchitecture=MSIL">
47-
<HintPath>..\..\packages\CouchbaseNetClient.2.3.8\lib\net45\Couchbase.NetClient.dll</HintPath>
48-
<Private>True</Private>
49-
</Reference>
5046
<Reference Include="IBM.Data.DB2, Version=9.7.4.4, Culture=neutral, PublicKeyToken=7c307b91aa13d208, processorArchitecture=AMD64">
5147
<Private>False</Private>
5248
</Reference>
@@ -67,7 +63,6 @@
6763
<Reference Include="System.Web.Services" />
6864
<Reference Include="System.EnterpriseServices" />
6965
</ItemGroup>
70-
7166
<ItemGroup>
7267
<PackageReference Include="Common.Logging">
7368
<Version>3.3.1</Version>
@@ -136,7 +131,6 @@
136131
<Version>4.5.0</Version>
137132
</PackageReference>
138133
</ItemGroup>
139-
140134
<ItemGroup>
141135
<None Include="Properties\PublishProfiles\LocalDeploy.pubxml" />
142136
<Content Include="Web.config" />

tests/Agent/IntegrationTests/UnboundedApplications/MongoDB2_6Application/MongoDB2_6Application.csproj

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,9 @@
6363
<Reference Include="System.Configuration" />
6464
<Reference Include="System.Web.Services" />
6565
<Reference Include="System.EnterpriseServices" />
66-
<Reference Include="System.Net.Http">
67-
</Reference>
6866
<Reference Include="System.Net.Http.WebRequest">
6967
</Reference>
7068
</ItemGroup>
71-
7269
<ItemGroup>
7370
<PackageReference Include="DnsClient">
7471
<Version>1.0.7</Version>
@@ -104,11 +101,10 @@
104101
<Version>4.3.0</Version>
105102
</PackageReference>
106103
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation">
107-
<Version>4.0.0</Version>
104+
<Version>4.3.0</Version>
108105
</PackageReference>
109-
</ItemGroup>
110-
111-
<ItemGroup>
106+
</ItemGroup>
107+
<ItemGroup>
112108
<Compile Include="App_Start\WebApiConfig.cs" />
113109
<Compile Include="Controllers\MongoDBController.cs" />
114110
<Compile Include="CustomMongoDB2_6Entity.cs" />

tests/Agent/IntegrationTests/UnboundedApplications/MongoDB2_6CoreApplication/MongoDB2_6CoreApplication.csproj

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
44
<TargetFramework>netcoreapp2.1</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<Folder Include="wwwroot\" />
9-
</ItemGroup>
10-
11-
<ItemGroup>
12-
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.1" />
8+
<PackageReference Include="Microsoft.AspNetCore.All" />
139
<PackageReference Include="MongoDB.Driver" Version="2.6.1" />
1410
</ItemGroup>
1511

tests/Agent/IntegrationTests/UnboundedApplications/MongoDBApplication/MongoDBApplication.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,9 @@
6060
<Reference Include="System.Xml" />
6161
<Reference Include="System.Configuration" />
6262
<Reference Include="System.Runtime.Serialization" />
63-
<Reference Include="System.Net.Http">
64-
</Reference>
6563
<Reference Include="System.Net.Http.WebRequest">
6664
</Reference>
6765
</ItemGroup>
68-
6966
<ItemGroup>
7067
<PackageReference Include="Microsoft.AspNet.WebApi">
7168
<Version>5.2.3</Version>
@@ -86,7 +83,6 @@
8683
<Version>12.0.2</Version>
8784
</PackageReference>
8885
</ItemGroup>
89-
9086
<ItemGroup>
9187
<Compile Include="App_Start\WebApiConfig.cs" />
9288
<Compile Include="Controllers\MongoDBController.cs" />

tests/Agent/IntegrationTests/UnboundedApplications/NServiceBusReceiverHost/NServiceBusReceiverHost.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@
3535
<Prefer32Bit>false</Prefer32Bit>
3636
</PropertyGroup>
3737
<ItemGroup>
38-
<Reference Include="NServiceBus.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=9fc386479f8a226c, processorArchitecture=MSIL">
39-
<HintPath>..\..\packages\NServiceBus.5.2.14\lib\net45\NServiceBus.Core.dll</HintPath>
40-
</Reference>
4138
<Reference Include="System" />
4239
<Reference Include="System.Core" />
4340
<Reference Include="System.Xml.Linq" />

0 commit comments

Comments
 (0)