简体   繁体   中英

Bulid SQLite-Net Extensions in visual studio professional 2013 but not successful

I am new to windows app and I am going to build the sqlite-net extension project to .dll file in order to make the models have the relationship attribute of one-to-many, one-to-one, many-to-many.

Link: https://bitbucket.org/twincoders/sqlite-net-extensions

This is the info that it shows when I open the project in visual studio 2013.

Unsupported

This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them. For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK. - IntegrationTests.Touch-MvvmCross, "C:\\Users\\**\\Downloads\\sqlite-net-extensions\\sqlite-net-extensions\\IntegrationTests.Touch\\IntegrationTests.Touch-MvvmCross.csproj" - IntegrationTests.Touch-PCL, "C:\\Users\\**\\Downloads\\sqlite-net-extensions\\sqlite-net-extensions\\IntegrationTests.Touch\\IntegrationTests.Touch-PCL.csproj"

No changes required These projects can be opened in Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them. - Tests, "C:\\Users\\**\\Downloads\\sqlite-net-extensions\\sqlite-net-extensions\\Tests\\Tests.csproj" - MvvmCross, "MvvmCross" - SQLiteNetExtensions-MvvmCross, "C:\\Users\\**\\Downloads\\sqlite-net-extensions\\sqlite-net-extensions\\SQLiteNetExtensions\\SQLiteNetExtensions-MvvmCross.csproj" - SQLiteNetExtensions-PCL, "C:\\Users\\**\\Downloads\\sqlite-net-extensions\\sqlite-net-extensions\\SQLiteNetExtensions\\SQLiteNetExtensions-PCL.csproj" - SQLiteNetExtensions, "C:\\Users\\**\\Downloads\\sqlite-net-extensions\\sqlite-net-extensions\\SQLiteNetExtensions.sln"

I try to build it and it shows some errors. So I right click the project and download the missing packages. When I try to build it again, it shows these errors: 在此处输入图片说明

Does anyone successfully bulid it to .dll file or anyone can fix the problems like these?

Many Thanks!

The Integration test projects are MonoTouch projects, that won't open in Visual Studio unless you have Xamarin Business license installed in your PC.

However, the SQLite-Net Extensions project is a standard PCL project and you will be able to compile it from Visual Studio without Xamarin. The problem that you are describing is probably related to not having the SQLite-Net dependency downloaded.

Make sure that you have NuGet Package Manager plugin installed and restore NuGet packages for the project to restore the dependencies and it should work.

You can also download the pre-compiled DLL from the Download page in the project page.

I solved it with changing the build platform. Thx guys!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM