SQLite Forum

The CopySQLiteInteropFiles target in the NuGet package no longer works in Visual Studio 16.10
Login
@Maintainers

If the msbuild change does not get reverted the following should fix the problem in a backwards compatible manner:

Change Stub.System.Data.SQLite.Core.NetFramework.targets

Line 39
From:
<SQLiteTargetFramework>$([MSBuild]::MakeRelative('$(MSBuildThisFileDirectory)..', '$(MSBuildThisFileDirectory)'))</SQLiteTargetFramework>
To:
<SQLiteTargetFramework>$([MSBuild]::EnsureTrailingSlash('$([MSBuild]::MakeRelative('$(MSBuildThisFileDirectory)..', '$(MSBuildThisFileDirectory)'))'))</SQLiteTargetFramework>

The [msbuild documentation](https://docs.microsoft.com/en-us/visualstudio/msbuild/property-functions?view=vs-2019) states:

The EnsureTrailingSlash property function in MSBuild _adds a trailing slash if one doesn't already exist_.