DeploymentItem not deploying files

前端 未结 3 1383
别那么骄傲
别那么骄傲 2021-01-01 17:44

I am using MS unit testing framework for testing my C# library. I have to open a file which I\'m deploying using DeploymentItem attribute. But it i

3条回答
  •  旧巷少年郎
    2021-01-01 18:03

    I had a set of tests where the copy was working for some tests but not the latest, even though the DeploymentItem attribute was set exactly the same way. After exhausting everything else, I did a "Clean solution" on the solution and reran and it started copying correctly. YMMV

提交回复
热议问题