novotnyllc / MiFare

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

Compilation errors with project taken as-is #10

Open electronics-ElectroAD opened 5 years ago

electronics-ElectroAD commented 5 years ago

Hi,

The projects do not compile in an updated VS2017 with NET framework 4.7.2.

The errors gotten:

1 -> Error Code: CS0006 | Description: Metadata file 'C:\Users\XXXX\Downloads\MiFare-master\src\MiFare\bin\Debug\net45\MiFare.dll' could not be found | Project: MiFare.Desktop.Tests | File: C:\Users\XXXX\Downloads\MiFare-master\tests\MiFare.Desktop.Tests\CSC | Line: 1 | Suppression State: Active

2 -> Error Code: CS0006 | Description: Metadata file 'C:\Users\XXXX\Downloads\MiFare-master\src\MiFare\bin\Debug\net45\MiFare.dll' could not be found | Project: MiFareReader.Desktop | File: C:\Users\XXXX\Downloads\MiFare-master\samples\MiFareReader.Desktop\CSC | Line: 1 | Suppression State: Active

3 -> Error Code: | Description: Unable to locate repository containing directory 'C:\Users\XXXX\Downloads\MiFare-master\src\MiFare'. | Project: MiFare | File: C:\Users\X.Gisbert.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-63127-02\build\Microsoft.Build.Tasks.Git.targets | Line: 20 | Suppression State:

4 -> Error Code: | Description: Unable to locate repository containing directory 'C:\Users\X.Gisbert\Downloads\MiFare-master\src\MiFare'. | Project: MiFare | File: C:\Users\X.Gisbert.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-63127-02\build\Microsoft.Build.Tasks.Git.targets | Line: 20 | Suppression State:

fail

I have removed my user from the captions.

I infer that the .dll is created when compiling the source code, but it looks like there it's having the repository location problem. I can't see where to hardcode the parent directory to the repository, not in the project properties. Any help to get it running and maybe commit the default config to the master branch? Thanks