Impossible to fix references after cloning repository from Github C# Visual Studio
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
|
show 2 more comments
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
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
|
show 2 more comments
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
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
c# git visual-studio xamarin
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
|
show 2 more comments
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
|
show 2 more comments
1 Answer
1
active
oldest
votes
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.
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
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%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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
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%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
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
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