Skip to content

VS2015 file in use #172

Open
Open
@ghost

Description

Hello,

When I start VS2015 and my project opens my SQL.fs file, where the SqlDataProvider is 'typed', it seems SqlDataProvider wins a race to the FSharp.Data.SqlProvider.dll and locks it, making 'rebuild' of a project not possible:

Severity    Code    Description Project File    Line
Error       Unable to copy file "obj\Debug\FSharp.Data.SqlProvider.dll" to "..\..\bin\FSharp.Data.SqlProvider.dll". The process cannot access the file '..\..\bin\FSharp.Data.SqlProvider.dll' because it is being used by another process. SqlProvider C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets 3812

To fix, I need to close the SQL.fs file, then close visual studio, then restart visual studio.

Edit: I am not sure if this a SqlProvider issue, I have heard vs2015 is bad at locking files an that Update1 will help to fix some of these issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions