or Create a profile
03 Aug, 2022 10:03 AM
While building a library that targets netstandard2.0 and net35 using the Visual Studio 2022 image, I get these errors:
C:\Program Files\dotnet\sdk\6.0.302\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
...and many more errors for System libraries: https://ci.appveyor.com/project/morpher/dawgsharp/builds/44354363
Removing net35 from target frameworks fixes the build: https://ci.appveyor.com/project/morpher/dawgsharp/builds/44354420
It used to build fine with net35 until I switched the image from VS 2019 to VS 2022.
AppVeyor maintainers, can you please check if the .NET 3.5 Targeting Pack is installed in the VS 2022 image?
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the AppVeyor staff to resolve this discussion.
This discussion is private.
Only you and AppVeyor support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.