I have some trouble with loading a System.Data.SQLite source solution. The System.Data.SQLite.2010 project seems to be empty, it is, indeed, does not contain references to files. However project file contains strings like these:
<Import Project="$(MSBuildProjectDirectory)\System.Data.SQLite.References.targets" />
<Import Project="$(MSBuildProjectDirectory)\System.Data.SQLite.Properties.targets" />
<Import Project="$(MSBuildProjectDirectory)\System.Data.SQLite.Files.targets" />
which, actually, contain references to files. But it’s looks like this Import Project instructions are ignored by my VS. Is there is something I miss to do? Or maybe I need some plugin to install? Solution is builded successfully from VS, I just want to see files so I can navigate more easily on source.
You’re not missing any plugins, nor is VS ignoring the
Importdirectives. The import directives are used when build the project.If you build the project, it builds fine and has all the classes that can be found in System.Data.SQLite*.cs.
I guess one of the reasons why this was done to protect ‘core’ framework files from accidental modification.
If you would like to see those files in your solution folder –
ItemGroupnodes and paste them in System.Data.SQLite.2010.csproj<Import Project="$(MSBuildProjectDirectory)\System.Data.SQLite.Files.targets" />and save the csproj file.Here’s what my csproj looks after above modification: