Last active
April 16, 2020 11:01
-
-
Save enisn/11372c9dc2661d7b2b3daee04fa7edbd to your computer and use it in GitHub Desktop.
Sample.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
<PropertyGroup> | |
<TargetFramework>netcoreapp3.1</TargetFramework> | |
</PropertyGroup> | |
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.2'"> | |
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" /> | |
<!-- your .net core 2.2 dependencies here --> | |
</ItemGroup> | |
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0' Or '$(TargetFramework)' == 'netcoreapp3.1'"> | |
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.3" /> | |
<!-- your .net core 3.x dependencies here--> | |
</ItemGroup> | |
<ItemGroup> | |
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.8" /> | |
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.3.1" /> | |
<PackageReference Include="Swashbuckle.AspNetCore.Swagger" Version="5.3.1" /> | |
<!-- your common stuffs here --> | |
</ItemGroup> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment