Skip to content

Support frameworkAssemblies from nuspec #241

Closed

Description

@agross

E.g. from Microsoft.Net.Http:

    <frameworkAssemblies>
      <frameworkAssembly assemblyName="System.Net.Http" targetFramework=".NETFramework4.5" />
      <frameworkAssembly assemblyName="System.Net.Http.WebRequest" targetFramework=".NETFramework4.5" />
      <frameworkAssembly assemblyName="System.Net.Http" targetFramework="MonoTouch0.0" />
      <frameworkAssembly assemblyName="System.Net.Http" targetFramework="MonoAndroid0.0" />
    </frameworkAssemblies>

Activity

  1. forki commented on Oct 11, 2014

    @forki
    Member

    What do we need to emit in this sample?
    On Oct 11, 2014 4:55 PM, "Alexander Groß" [email protected] wrote:

    E.g. from Microsoft.Net.Http:

    <frameworkAssemblies>
      <frameworkAssembly assemblyName="System.Net.Http" targetFramework=".NETFramework4.5" />
      <frameworkAssembly assemblyName="System.Net.Http.WebRequest" targetFramework=".NETFramework4.5" />
      <frameworkAssembly assemblyName="System.Net.Http" targetFramework="MonoTouch0.0" />
      <frameworkAssembly assemblyName="System.Net.Http" targetFramework="MonoAndroid0.0" />
    </frameworkAssemblies>
    

    —
    Reply to this email directly or view it on GitHub
    #241.

  2. forki commented on Oct 12, 2014

    @forki
    Member
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Net.Http" />
    <Reference Include="System.Net.Http.Extensions">
      <HintPath>..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="System.Net.Http.Primitives">
      <HintPath>..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="System.Net.Http.WebRequest" />
    <Reference Include="System.Numerics" />
    
  3. agross commented on Oct 12, 2014

    @agross
    ContributorAuthor

    As these need to be referenced depending on the target framework, we need to figure out which version strings are valid.

    I'm so glad that they chose to invent another system to specify the framework version! #not

    Alex

    Alexander Groß
    Tiny phone, tiny mail

    On Sun, Oct 12, 2014 at 10:03 AM, Steffen Forkmann
    [email protected] wrote:

    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Net.Http" />
    <Reference Include="System.Net.Http.Extensions">
      <HintPath>..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="System.Net.Http.Primitives">
      <HintPath>..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="System.Net.Http.WebRequest" />
    <Reference Include="System.Numerics" />
    

    Reply to this email directly or view it on GitHub:
    #241 (comment)

  4. forki commented on Oct 12, 2014

    @forki
    Member

    yep that's fun.

  5. forki commented on Oct 12, 2014

    @forki
    Member

    if anybody finds the mapping in the nuget sources...

  6. agross commented on Oct 12, 2014

    @agross
    ContributorAuthor

    The docs say the same strings as in lib are supported.

  7. forki commented on Oct 12, 2014

    @forki
    Member

    Ok. But why don't they use these? ;-)
    On Oct 12, 2014 10:27 AM, "Alexander Groß" [email protected] wrote:

    The docs say
    http://docs.nuget.org/docs/reference/nuspec-reference#Specifying_Framework_Assembly_References_(GAC)
    the same strings as in lib are supported.

    —
    Reply to this email directly or view it on GitHub
    #241 (comment).

  8. agross commented on Oct 12, 2014

    @agross
    ContributorAuthor

    Seems like .NETFramework is an alias for net (take a look at _knownIdentifiers).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions