C
C#2mo ago
Meow Meow

All reference is yellow triangle

Hello, i'm new to C#, when i'm loading the project, all my reference cannot be loaded, Even tho in ../packages/... i have all the library, other PC i can load the project normally but this PC cannot, how to fix it?
No description
18 Replies
Meow Meow
Meow MeowOP2mo ago
Properties:
No description
Trinitek
Trinitek2mo ago
have you tried to build the project yet? or at least run a nuget restore? (building the project will implicitly run a nuget restore) or, actually, is this project targeting Framework 4.x? I'd like to see 1) the TargetFramework listed in your csproj, and 2) what Framework stuff you have installed in the Visual Studio Installer. You could be missing an SDK or something like that. also if this csproj hasn't been converted to the new "sdk-style" yet I bet that would take care of any project reference issues.
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX2mo ago
If your code is too long, you can post to https://paste.mod.gg/, save, and copy the link into chat for others to see your shared code!
Meow Meow
Meow MeowOP2mo ago
Sorry for the late response, yes i did, and the error still same It's 4.7.1, and i did installed it in VS Installer
Meow Meow
Meow MeowOP2mo ago
https://paste.mod.gg/mzrryangdser/0 Here is mine csproj file
BlazeBin - mzrryangdser
A tool for sharing your source code with the world!
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Meow Meow
Meow MeowOP2mo ago
This is what i have installed
No description
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Meow Meow
Meow MeowOP2mo ago
Maintaining already running system, so i cannot upgrade it
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Meow Meow
Meow MeowOP2mo ago
So i cannot building the system on new computer anymore? only mine old one?
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Meow Meow
Meow MeowOP2mo ago
No, when i press restore nuget package it's only said that "All packages are already installed and there is nothing to restore."
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Trinitek
Trinitek2mo ago
I would like to suggest you try updating the csproj format to the new sdk-style using https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-install. you can continue targeting net471, you don't need to move to net9 with this. but this should help take care of any stupid build issues that come from the old format.
Meow Meow
Meow MeowOP2mo ago
I already do all the things, it's still "All packages are already installed and there is nothing to restore." 1. delete /vs 2. delete bin, obj in each project 3. open 4. restore nuget package
No description
Meow Meow
Meow MeowOP2mo ago
I'll try

Did you find this page helpful?