-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
11fe028
commit f6dfc7c
Showing
2 changed files
with
50 additions
and
3 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
...nInsights.AspNetCore.Tests/Microsoft - Backup.ApplicationInsights.AspNetCore.Tests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<Import Project="$(PropsRoot)\Test.props" /> | ||
|
||
<PropertyGroup> | ||
<!-- TargetFrameworks are defined in Test.props, but can be overridden here if needed. --> | ||
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\src\Microsoft.ApplicationInsights.AspNetCore\Microsoft.ApplicationInsights.AspNetCore.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="xunit" Version="2.4.1" /> | ||
<PackageReference Include="Moq" Version="4.16.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(IsNetCore)' == 'True'"> | ||
<!-- TODO: Can't switch to FrameworkReference yet; | ||
'IHostingEnvironment' is obsolete: 'This type is obsolete and will be removed in a future version. | ||
The recommended alternative is Microsoft.AspNetCore.Hosting.IWebHostEnvironment.' --> | ||
<!--<FrameworkReference Include="Microsoft.AspNetCore.App" />--> | ||
|
||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.5" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Update="App.config"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
<Generator>SettingsSingleFileGenerator</Generator> | ||
</None> | ||
<None Update="appsettings.json"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
<None Update="content\**"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters