Removing a NuGet package that isn't in my project?
I keep getting this warning in my VS2015 solution:
Some NuGet packages were installed using a target framework different from the current target framework and may need to be reinstalled.
The thing is, there are no NuGet packages in my solution. I had one, but I removed it, but I still get this.
Any ideas?
visual-studio nuget
add a comment |
I keep getting this warning in my VS2015 solution:
Some NuGet packages were installed using a target framework different from the current target framework and may need to be reinstalled.
The thing is, there are no NuGet packages in my solution. I had one, but I removed it, but I still get this.
Any ideas?
visual-studio nuget
How was the packaged removed? If you manually edited the packages.config file, then there will be things left in your csproj. You should re-install the package, then uninstall with either the Package Manager UI or Package Manager Console.
– zivkan
Nov 16 '18 at 0:56
add a comment |
I keep getting this warning in my VS2015 solution:
Some NuGet packages were installed using a target framework different from the current target framework and may need to be reinstalled.
The thing is, there are no NuGet packages in my solution. I had one, but I removed it, but I still get this.
Any ideas?
visual-studio nuget
I keep getting this warning in my VS2015 solution:
Some NuGet packages were installed using a target framework different from the current target framework and may need to be reinstalled.
The thing is, there are no NuGet packages in my solution. I had one, but I removed it, but I still get this.
Any ideas?
visual-studio nuget
visual-studio nuget
asked Nov 15 '18 at 20:51
Maury MarkowitzMaury Markowitz
3,84972865
3,84972865
How was the packaged removed? If you manually edited the packages.config file, then there will be things left in your csproj. You should re-install the package, then uninstall with either the Package Manager UI or Package Manager Console.
– zivkan
Nov 16 '18 at 0:56
add a comment |
How was the packaged removed? If you manually edited the packages.config file, then there will be things left in your csproj. You should re-install the package, then uninstall with either the Package Manager UI or Package Manager Console.
– zivkan
Nov 16 '18 at 0:56
How was the packaged removed? If you manually edited the packages.config file, then there will be things left in your csproj. You should re-install the package, then uninstall with either the Package Manager UI or Package Manager Console.
– zivkan
Nov 16 '18 at 0:56
How was the packaged removed? If you manually edited the packages.config file, then there will be things left in your csproj. You should re-install the package, then uninstall with either the Package Manager UI or Package Manager Console.
– zivkan
Nov 16 '18 at 0:56
add a comment |
1 Answer
1
active
oldest
votes
Removing a NuGet package that isn't in my project?
It seems that you have not properly removed that NuGet package.
To resolve this issue, please try to reinstall this package, then uninstall it.
Detailed:
Open the the Package Manager Console by Tools
->NuGet Packager Manager
->Package Manager Console
, and type following command line to reinstall nuget package:
Update-Package -reinstall
After the re-installation is complete, type following command line to uninstall the package in the Package Manager Console:
Uninstall-Package <PackageID>
With this way, the nuget package will be moved from your project. If you have installed that package for multiple project in the solution, please use the uninstall command line for different default project in the Package Manager Console window:
Hope this helps.
Started off well... "Package 'Newtonsoft.Json.11.0.2' already exists in project 'DLoader'", but then the next step "Uninstall-Package : Package 'Newtonsoft.Json.11.0.2' to be uninstalled could not be found in project 'DCFLoader'" Is that the right ID?
– Maury Markowitz
Nov 16 '18 at 17:26
1
Have you add the packages folder into the source code? If yes, please remove it out.
– Leo Liu-MSFT
Nov 17 '18 at 8:10
Yay, that did it!
– Maury Markowitz
Nov 18 '18 at 13:41
Well it's come back. Now I periodically see it "renewing nuget packages" and we're back to the start again.
– Maury Markowitz
Nov 20 '18 at 16:00
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53327722%2fremoving-a-nuget-package-that-isnt-in-my-project%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Removing a NuGet package that isn't in my project?
It seems that you have not properly removed that NuGet package.
To resolve this issue, please try to reinstall this package, then uninstall it.
Detailed:
Open the the Package Manager Console by Tools
->NuGet Packager Manager
->Package Manager Console
, and type following command line to reinstall nuget package:
Update-Package -reinstall
After the re-installation is complete, type following command line to uninstall the package in the Package Manager Console:
Uninstall-Package <PackageID>
With this way, the nuget package will be moved from your project. If you have installed that package for multiple project in the solution, please use the uninstall command line for different default project in the Package Manager Console window:
Hope this helps.
Started off well... "Package 'Newtonsoft.Json.11.0.2' already exists in project 'DLoader'", but then the next step "Uninstall-Package : Package 'Newtonsoft.Json.11.0.2' to be uninstalled could not be found in project 'DCFLoader'" Is that the right ID?
– Maury Markowitz
Nov 16 '18 at 17:26
1
Have you add the packages folder into the source code? If yes, please remove it out.
– Leo Liu-MSFT
Nov 17 '18 at 8:10
Yay, that did it!
– Maury Markowitz
Nov 18 '18 at 13:41
Well it's come back. Now I periodically see it "renewing nuget packages" and we're back to the start again.
– Maury Markowitz
Nov 20 '18 at 16:00
add a comment |
Removing a NuGet package that isn't in my project?
It seems that you have not properly removed that NuGet package.
To resolve this issue, please try to reinstall this package, then uninstall it.
Detailed:
Open the the Package Manager Console by Tools
->NuGet Packager Manager
->Package Manager Console
, and type following command line to reinstall nuget package:
Update-Package -reinstall
After the re-installation is complete, type following command line to uninstall the package in the Package Manager Console:
Uninstall-Package <PackageID>
With this way, the nuget package will be moved from your project. If you have installed that package for multiple project in the solution, please use the uninstall command line for different default project in the Package Manager Console window:
Hope this helps.
Started off well... "Package 'Newtonsoft.Json.11.0.2' already exists in project 'DLoader'", but then the next step "Uninstall-Package : Package 'Newtonsoft.Json.11.0.2' to be uninstalled could not be found in project 'DCFLoader'" Is that the right ID?
– Maury Markowitz
Nov 16 '18 at 17:26
1
Have you add the packages folder into the source code? If yes, please remove it out.
– Leo Liu-MSFT
Nov 17 '18 at 8:10
Yay, that did it!
– Maury Markowitz
Nov 18 '18 at 13:41
Well it's come back. Now I periodically see it "renewing nuget packages" and we're back to the start again.
– Maury Markowitz
Nov 20 '18 at 16:00
add a comment |
Removing a NuGet package that isn't in my project?
It seems that you have not properly removed that NuGet package.
To resolve this issue, please try to reinstall this package, then uninstall it.
Detailed:
Open the the Package Manager Console by Tools
->NuGet Packager Manager
->Package Manager Console
, and type following command line to reinstall nuget package:
Update-Package -reinstall
After the re-installation is complete, type following command line to uninstall the package in the Package Manager Console:
Uninstall-Package <PackageID>
With this way, the nuget package will be moved from your project. If you have installed that package for multiple project in the solution, please use the uninstall command line for different default project in the Package Manager Console window:
Hope this helps.
Removing a NuGet package that isn't in my project?
It seems that you have not properly removed that NuGet package.
To resolve this issue, please try to reinstall this package, then uninstall it.
Detailed:
Open the the Package Manager Console by Tools
->NuGet Packager Manager
->Package Manager Console
, and type following command line to reinstall nuget package:
Update-Package -reinstall
After the re-installation is complete, type following command line to uninstall the package in the Package Manager Console:
Uninstall-Package <PackageID>
With this way, the nuget package will be moved from your project. If you have installed that package for multiple project in the solution, please use the uninstall command line for different default project in the Package Manager Console window:
Hope this helps.
answered Nov 16 '18 at 3:34
Leo Liu-MSFTLeo Liu-MSFT
20.7k22634
20.7k22634
Started off well... "Package 'Newtonsoft.Json.11.0.2' already exists in project 'DLoader'", but then the next step "Uninstall-Package : Package 'Newtonsoft.Json.11.0.2' to be uninstalled could not be found in project 'DCFLoader'" Is that the right ID?
– Maury Markowitz
Nov 16 '18 at 17:26
1
Have you add the packages folder into the source code? If yes, please remove it out.
– Leo Liu-MSFT
Nov 17 '18 at 8:10
Yay, that did it!
– Maury Markowitz
Nov 18 '18 at 13:41
Well it's come back. Now I periodically see it "renewing nuget packages" and we're back to the start again.
– Maury Markowitz
Nov 20 '18 at 16:00
add a comment |
Started off well... "Package 'Newtonsoft.Json.11.0.2' already exists in project 'DLoader'", but then the next step "Uninstall-Package : Package 'Newtonsoft.Json.11.0.2' to be uninstalled could not be found in project 'DCFLoader'" Is that the right ID?
– Maury Markowitz
Nov 16 '18 at 17:26
1
Have you add the packages folder into the source code? If yes, please remove it out.
– Leo Liu-MSFT
Nov 17 '18 at 8:10
Yay, that did it!
– Maury Markowitz
Nov 18 '18 at 13:41
Well it's come back. Now I periodically see it "renewing nuget packages" and we're back to the start again.
– Maury Markowitz
Nov 20 '18 at 16:00
Started off well... "Package 'Newtonsoft.Json.11.0.2' already exists in project 'DLoader'", but then the next step "Uninstall-Package : Package 'Newtonsoft.Json.11.0.2' to be uninstalled could not be found in project 'DCFLoader'" Is that the right ID?
– Maury Markowitz
Nov 16 '18 at 17:26
Started off well... "Package 'Newtonsoft.Json.11.0.2' already exists in project 'DLoader'", but then the next step "Uninstall-Package : Package 'Newtonsoft.Json.11.0.2' to be uninstalled could not be found in project 'DCFLoader'" Is that the right ID?
– Maury Markowitz
Nov 16 '18 at 17:26
1
1
Have you add the packages folder into the source code? If yes, please remove it out.
– Leo Liu-MSFT
Nov 17 '18 at 8:10
Have you add the packages folder into the source code? If yes, please remove it out.
– Leo Liu-MSFT
Nov 17 '18 at 8:10
Yay, that did it!
– Maury Markowitz
Nov 18 '18 at 13:41
Yay, that did it!
– Maury Markowitz
Nov 18 '18 at 13:41
Well it's come back. Now I periodically see it "renewing nuget packages" and we're back to the start again.
– Maury Markowitz
Nov 20 '18 at 16:00
Well it's come back. Now I periodically see it "renewing nuget packages" and we're back to the start again.
– Maury Markowitz
Nov 20 '18 at 16:00
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53327722%2fremoving-a-nuget-package-that-isnt-in-my-project%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
How was the packaged removed? If you manually edited the packages.config file, then there will be things left in your csproj. You should re-install the package, then uninstall with either the Package Manager UI or Package Manager Console.
– zivkan
Nov 16 '18 at 0:56