Impossible to fix references after cloning repository from Github C# Visual Studio












0















I forked and cloned a repository from github and each of the 7 projects have references missing. I restored packages for the solution and ran the Update-Packages -reinstall command in package manager console and still had 14 warnings about packages.




Package 'Validation 2.2.8' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.




Aswell as warnings not displaying but triangles displaying for clsa.analyzers.dll, I'm really confused as to what I have done wrong, can someone give me their step by step for restoring references after cloning a repository?










share|improve this question























  • What is the target version of the Project? Also what is it targeting, .NET Framework, .NET Core or .NET Standard? It seems like the Project is .NET Framework 4.6.1 but the Package referenced and used only targets .NET Standard 2.0

    – MindSwipe
    Nov 13 '18 at 9:57













  • 4.6.1 and class libraries using .net standard 2.0

    – Daniel Loudon
    Nov 13 '18 at 9:58











  • In which packages is this happening?

    – MindSwipe
    Nov 13 '18 at 10:00











  • Have you tried just restoring the packages instead of updating them? Possibly the latest versions of the nuget packages do not supoort .Net standard 2.0 although that seems unlikely.

    – PhilS
    Nov 13 '18 at 10:03













  • PCLCrpyto and csla.analyzer. I seem to have issues all the time with nuget packages

    – Daniel Loudon
    Nov 13 '18 at 10:03
















0















I forked and cloned a repository from github and each of the 7 projects have references missing. I restored packages for the solution and ran the Update-Packages -reinstall command in package manager console and still had 14 warnings about packages.




Package 'Validation 2.2.8' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.




Aswell as warnings not displaying but triangles displaying for clsa.analyzers.dll, I'm really confused as to what I have done wrong, can someone give me their step by step for restoring references after cloning a repository?










share|improve this question























  • What is the target version of the Project? Also what is it targeting, .NET Framework, .NET Core or .NET Standard? It seems like the Project is .NET Framework 4.6.1 but the Package referenced and used only targets .NET Standard 2.0

    – MindSwipe
    Nov 13 '18 at 9:57













  • 4.6.1 and class libraries using .net standard 2.0

    – Daniel Loudon
    Nov 13 '18 at 9:58











  • In which packages is this happening?

    – MindSwipe
    Nov 13 '18 at 10:00











  • Have you tried just restoring the packages instead of updating them? Possibly the latest versions of the nuget packages do not supoort .Net standard 2.0 although that seems unlikely.

    – PhilS
    Nov 13 '18 at 10:03













  • PCLCrpyto and csla.analyzer. I seem to have issues all the time with nuget packages

    – Daniel Loudon
    Nov 13 '18 at 10:03














0












0








0








I forked and cloned a repository from github and each of the 7 projects have references missing. I restored packages for the solution and ran the Update-Packages -reinstall command in package manager console and still had 14 warnings about packages.




Package 'Validation 2.2.8' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.




Aswell as warnings not displaying but triangles displaying for clsa.analyzers.dll, I'm really confused as to what I have done wrong, can someone give me their step by step for restoring references after cloning a repository?










share|improve this question














I forked and cloned a repository from github and each of the 7 projects have references missing. I restored packages for the solution and ran the Update-Packages -reinstall command in package manager console and still had 14 warnings about packages.




Package 'Validation 2.2.8' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.




Aswell as warnings not displaying but triangles displaying for clsa.analyzers.dll, I'm really confused as to what I have done wrong, can someone give me their step by step for restoring references after cloning a repository?







c# git visual-studio xamarin






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 13 '18 at 9:49









Daniel LoudonDaniel Loudon

676116




676116













  • What is the target version of the Project? Also what is it targeting, .NET Framework, .NET Core or .NET Standard? It seems like the Project is .NET Framework 4.6.1 but the Package referenced and used only targets .NET Standard 2.0

    – MindSwipe
    Nov 13 '18 at 9:57













  • 4.6.1 and class libraries using .net standard 2.0

    – Daniel Loudon
    Nov 13 '18 at 9:58











  • In which packages is this happening?

    – MindSwipe
    Nov 13 '18 at 10:00











  • Have you tried just restoring the packages instead of updating them? Possibly the latest versions of the nuget packages do not supoort .Net standard 2.0 although that seems unlikely.

    – PhilS
    Nov 13 '18 at 10:03













  • PCLCrpyto and csla.analyzer. I seem to have issues all the time with nuget packages

    – Daniel Loudon
    Nov 13 '18 at 10:03



















  • What is the target version of the Project? Also what is it targeting, .NET Framework, .NET Core or .NET Standard? It seems like the Project is .NET Framework 4.6.1 but the Package referenced and used only targets .NET Standard 2.0

    – MindSwipe
    Nov 13 '18 at 9:57













  • 4.6.1 and class libraries using .net standard 2.0

    – Daniel Loudon
    Nov 13 '18 at 9:58











  • In which packages is this happening?

    – MindSwipe
    Nov 13 '18 at 10:00











  • Have you tried just restoring the packages instead of updating them? Possibly the latest versions of the nuget packages do not supoort .Net standard 2.0 although that seems unlikely.

    – PhilS
    Nov 13 '18 at 10:03













  • PCLCrpyto and csla.analyzer. I seem to have issues all the time with nuget packages

    – Daniel Loudon
    Nov 13 '18 at 10:03

















What is the target version of the Project? Also what is it targeting, .NET Framework, .NET Core or .NET Standard? It seems like the Project is .NET Framework 4.6.1 but the Package referenced and used only targets .NET Standard 2.0

– MindSwipe
Nov 13 '18 at 9:57







What is the target version of the Project? Also what is it targeting, .NET Framework, .NET Core or .NET Standard? It seems like the Project is .NET Framework 4.6.1 but the Package referenced and used only targets .NET Standard 2.0

– MindSwipe
Nov 13 '18 at 9:57















4.6.1 and class libraries using .net standard 2.0

– Daniel Loudon
Nov 13 '18 at 9:58





4.6.1 and class libraries using .net standard 2.0

– Daniel Loudon
Nov 13 '18 at 9:58













In which packages is this happening?

– MindSwipe
Nov 13 '18 at 10:00





In which packages is this happening?

– MindSwipe
Nov 13 '18 at 10:00













Have you tried just restoring the packages instead of updating them? Possibly the latest versions of the nuget packages do not supoort .Net standard 2.0 although that seems unlikely.

– PhilS
Nov 13 '18 at 10:03







Have you tried just restoring the packages instead of updating them? Possibly the latest versions of the nuget packages do not supoort .Net standard 2.0 although that seems unlikely.

– PhilS
Nov 13 '18 at 10:03















PCLCrpyto and csla.analyzer. I seem to have issues all the time with nuget packages

– Daniel Loudon
Nov 13 '18 at 10:03





PCLCrpyto and csla.analyzer. I seem to have issues all the time with nuget packages

– Daniel Loudon
Nov 13 '18 at 10:03












1 Answer
1






active

oldest

votes


















1














It loooks like that version v2.2.8 of the Validation package does not support .Net Standard 2.0. Looks like support was only added at v2.4.15. You could try updating to the latest version v2.4.18?



Presumably the original developer would have had the same issue.






share|improve this answer
























  • I have just grabbed the latest version as of yesterday, surely the latest version would work?

    – Daniel Loudon
    Nov 13 '18 at 10:19











  • Do you mean the latest version of the repo or the nuget package? The orginal developer(s) of the repo may not have updated nuget references to the latest recently

    – PhilS
    Nov 13 '18 at 12:01













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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53278171%2fimpossible-to-fix-references-after-cloning-repository-from-github-c-sharp-visual%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









1














It loooks like that version v2.2.8 of the Validation package does not support .Net Standard 2.0. Looks like support was only added at v2.4.15. You could try updating to the latest version v2.4.18?



Presumably the original developer would have had the same issue.






share|improve this answer
























  • I have just grabbed the latest version as of yesterday, surely the latest version would work?

    – Daniel Loudon
    Nov 13 '18 at 10:19











  • Do you mean the latest version of the repo or the nuget package? The orginal developer(s) of the repo may not have updated nuget references to the latest recently

    – PhilS
    Nov 13 '18 at 12:01


















1














It loooks like that version v2.2.8 of the Validation package does not support .Net Standard 2.0. Looks like support was only added at v2.4.15. You could try updating to the latest version v2.4.18?



Presumably the original developer would have had the same issue.






share|improve this answer
























  • I have just grabbed the latest version as of yesterday, surely the latest version would work?

    – Daniel Loudon
    Nov 13 '18 at 10:19











  • Do you mean the latest version of the repo or the nuget package? The orginal developer(s) of the repo may not have updated nuget references to the latest recently

    – PhilS
    Nov 13 '18 at 12:01
















1












1








1







It loooks like that version v2.2.8 of the Validation package does not support .Net Standard 2.0. Looks like support was only added at v2.4.15. You could try updating to the latest version v2.4.18?



Presumably the original developer would have had the same issue.






share|improve this answer













It loooks like that version v2.2.8 of the Validation package does not support .Net Standard 2.0. Looks like support was only added at v2.4.15. You could try updating to the latest version v2.4.18?



Presumably the original developer would have had the same issue.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 13 '18 at 10:17









PhilSPhilS

48925




48925













  • I have just grabbed the latest version as of yesterday, surely the latest version would work?

    – Daniel Loudon
    Nov 13 '18 at 10:19











  • Do you mean the latest version of the repo or the nuget package? The orginal developer(s) of the repo may not have updated nuget references to the latest recently

    – PhilS
    Nov 13 '18 at 12:01





















  • I have just grabbed the latest version as of yesterday, surely the latest version would work?

    – Daniel Loudon
    Nov 13 '18 at 10:19











  • Do you mean the latest version of the repo or the nuget package? The orginal developer(s) of the repo may not have updated nuget references to the latest recently

    – PhilS
    Nov 13 '18 at 12:01



















I have just grabbed the latest version as of yesterday, surely the latest version would work?

– Daniel Loudon
Nov 13 '18 at 10:19





I have just grabbed the latest version as of yesterday, surely the latest version would work?

– Daniel Loudon
Nov 13 '18 at 10:19













Do you mean the latest version of the repo or the nuget package? The orginal developer(s) of the repo may not have updated nuget references to the latest recently

– PhilS
Nov 13 '18 at 12:01







Do you mean the latest version of the repo or the nuget package? The orginal developer(s) of the repo may not have updated nuget references to the latest recently

– PhilS
Nov 13 '18 at 12:01




















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53278171%2fimpossible-to-fix-references-after-cloning-repository-from-github-c-sharp-visual%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Florida Star v. B. J. F.

Danny Elfman

Retrieve a Users Dashboard in Tumblr with R and TumblR. Oauth Issues