Visual Studio 2015 hybrid app - getting “EPERM, operation not permitted”

后端 未结 3 1454
谎友^
谎友^ 2021-01-14 18:49

I having kind of absurd situation and I will glad to hear how exactly you guys handling it:

I have a Hybrid App project, Visual Studio 2015 Cordova Tools. Inside it,

3条回答
  •  自闭症患者
    2021-01-14 19:34

    I thought I'd chime in here with what I've done. The problem is that "platforms" is not checked into source, but it is still being marked as Read-Only. So the first time it builds it works and subsequent builds fail unless you do a clean solution.

    What I've done is I remove the Read-Only flag before build.

    Right click project, Unload Project. Right click, edit project file. At the top, add a target named BeforeBuild for example:

    
    

    Then at the bottom of the file where the targets go you can add a target like this:

    
        
    
    

提交回复
热议问题