-
Notifications
You must be signed in to change notification settings - Fork 587
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
Fix group targetframeworks in nuspec #743
Conversation
This correctly aligns the nuget dependencies between the nuspec and csproj files in order to fix #742.
Wouldn't it be easier to run |
Hi @xt0rted, That sounds good to me. But I'm thinking some still may rely on the .nuspec? I'm not too sure what Thanks as always for your support and contributions! With Best Regards, Elmer |
@thinkingserious Using Running <?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>SendGrid</id>
<version>9.10.0</version>
<authors>SendGrid</authors>
<owners>SendGrid</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Package Description</description>
<dependencies>
<group targetFramework=".NETFramework4.5.2">
<dependency id="Newtonsoft.Json" version="9.0.1" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETStandard1.3">
<dependency id="NETStandard.Library" version="1.6.1" exclude="Build,Analyzers" />
<dependency id="Newtonsoft.Json" version="12.0.1" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETStandard2.0">
<dependency id="Newtonsoft.Json" version="9.0.1" exclude="Build,Analyzers" />
</group>
</dependencies>
<frameworkAssemblies>
<frameworkAssembly assemblyName="Microsoft.CSharp" targetFramework=".NETFramework4.5.2" />
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.5.2" />
<frameworkAssembly assemblyName="System.Net.Http" targetFramework=".NETFramework4.5.2" />
<frameworkAssembly assemblyName="System.Runtime.Serialization" targetFramework=".NETFramework4.5.2" />
</frameworkAssemblies>
</metadata>
</package> But that really should be handled in another issue/PR |
Closing as #892 fixed this issue. |
Fixes #742
Checklist
Short description of what this PR does:
This correctly aligns the nuget dependencies between the nuspec and csproj files.