novotnyllc / MiFare

MiFare Classic support for UWP and Windows Desktop apps
MIT License
37 stars 29 forks source link

Imported project not was not found #13

Open HamburgerPlsdotexe opened 4 years ago

HamburgerPlsdotexe commented 4 years ago

I keep getting the following error whenever I try to build the project

Severity Code Description Project File Line Suppression State Error The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\16.0\Bin\Microsoft.CSharp.targets" was not found. Confirm that the expression in the Import declaration "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\16.0\Bin\Microsoft.CSharp.targets" is correct, and that the file exists on disk. MiFareReader.Desktop

xavave commented 4 years ago

to solve this, I added a new library class project in solution (here:Mifare.NET), and referenced each file from MiFare inside this new class library, and it worked

image

then referencing this new class lib into Samples/Reader/MifareReader.Desktop

image

image

attachment : working dll Mifare.NET.dll.zip