Enable PCM workflows in package reference scenarios #4016

Closed
drewgillies opened this Issue Nov 28, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@drewgillies
Contributor

drewgillies commented Nov 28, 2016

Repro Steps:

  1. New a C# Console App (.Net Framwork).
  2. Add the following properties to the property group at the top of the csproj file:
    <RuntimeIdentifiers Condition="'$(RuntimeIdentifiers)'==''">win</RuntimeIdentifiers>
  3. Add the following reference to the csproj file, before the final targets import line starting with
<Import Project="$(MSBuild...
<ItemGroup> 
       <PackageReference Include="Newtonsoft.Json"> 
            <Version>6.0.1</Version> 
      </PackageReference> 
 </ItemGroup>
  1. Reload the project in VS and run solution restore.
  2. Open PM UI and install package ‘NUnit’ 3.0.0.
  3. Click ‘Updates’ tabs and observe it.
  4. Open PMC, type ‘update-package’ and press ‘Tab’ key.
  5. Type ‘get-package -updates’ in PMC.
  6. Type ‘Uninsall-Package’ and press ‘Tab’ key.

Expected:
Can find package update and uninstall package via the package manager UI and the package manager console.

Actual:
Can not uninstall and update package via the package manager UI and the package manager console.

@jainaashish

This comment has been minimized.

Show comment
Hide comment
@jainaashish

jainaashish Nov 29, 2016

Contributor

Merged to Dev 17fe755c4d8bc3f50fe1de53b26bae0976db10a7 Waiting for RC2 decision

Contributor

jainaashish commented Nov 29, 2016

Merged to Dev 17fe755c4d8bc3f50fe1de53b26bae0976db10a7 Waiting for RC2 decision

@jainaashish jainaashish modified the milestones: 4.0 RC2, 4.0 RC3 Nov 29, 2016

@rrelyea rrelyea modified the milestones: 4.0 RC3, 4.0 RC2 Nov 30, 2016

@jainaashish jainaashish closed this Dec 5, 2016

@rrelyea

This comment has been minimized.

Show comment
Hide comment
@rrelyea

rrelyea Aug 16, 2017

Contributor

dupe of #4015

Contributor

rrelyea commented Aug 16, 2017

dupe of #4015

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