-
Notifications
You must be signed in to change notification settings - Fork 926
Update libraries for .NET Core to 2.0 and for .NET Standard to 2.0 #436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"sdk": { | ||
"version": "1.0.0" | ||
"version": "2.0.0" | ||
}, | ||
"projects": [ "src", "test" ] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
<Copyright>Copyright 2014-Present Facebook, Inc</Copyright> | ||
<AssemblyTitle>ReactJS.NET - Babel middleware for ASP.NET Core</AssemblyTitle> | ||
<Authors>Daniel Lo Nigro</Authors> | ||
<TargetFrameworks>net451;netstandard1.6</TargetFrameworks> | ||
<TargetFrameworks>netstandard2.0</TargetFrameworks> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. add target 451 or 461 too There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wrote it on the pull request description, but with netstandard2.0 you do not requiere a different target if you use the library in a application targeting .NET Framework 4.6.1, that's the whole point of .NET Standard. |
||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<AssemblyName>React.AspNet.Middleware</AssemblyName> | ||
<AssemblyOriginatorKeyFile>../key.snk</AssemblyOriginatorKeyFile> | ||
|
@@ -31,18 +31,19 @@ | |
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="1.1.2" /> | ||
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.2" /> | ||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="1.1.0" /> | ||
<PackageReference Include="Microsoft.Extensions.FileProviders.Physical" Version="1.1.1" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.0.0" /> | ||
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.0.0" /> | ||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="2.0.0" /> | ||
<PackageReference Include="Microsoft.Extensions.FileProviders.Physical" Version="2.0.0" /> | ||
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="2.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.6' "> | ||
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="1.1.1" /> | ||
</ItemGroup> | ||
|
||
|
||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<NoWarn>7035</NoWarn> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks. The build script passes this in, but I guess the warning still appears when building in Visual Studio. |
||
</PropertyGroup> | ||
|
||
</Project> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What changed on this line? Is it a Byte Order Mark?