Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locked file in Windows determinism test #21435

Closed
agocke opened this issue Aug 10, 2017 · 5 comments
Closed

Locked file in Windows determinism test #21435

agocke opened this issue Aug 10, 2017 · 5 comments

Comments

@agocke
Copy link
Member

agocke commented Aug 10, 2017

Failure looks like

CSC : error CS0016: Could not write to output file 'D:\j\workspace\windows_deter---2fa6dcc1\Binaries\Obj\TestUtilities\Debug\Roslyn.Test.Utilities.xml' -- 'The process cannot access the file 'D:\j\workspace\windows_deter---2fa6dcc1\Binaries\Obj\TestUtilities\Debug\Roslyn.Test.Utilities.xml' because it is being used by another process.' [D:\j\workspace\windows_deter---2fa6dcc1\src\Test\Utilities\Portable\TestUtilities.csproj]

@agocke
Copy link
Member Author

agocke commented Aug 10, 2017

@jaredpar Could this be caused by multi-targeting? It looks like there's no TFM prefix in the Obj directory so I could see us attempting to write to the same XML file twice...

@tmat
Copy link
Member

tmat commented Aug 10, 2017

@agocke Dup of #21421

@tmat
Copy link
Member

tmat commented Aug 10, 2017

And yes, TFM needs to be in the path.

@jaredpar
Copy link
Member

Looks like it may be this sdk issue

dotnet/sdk#475

@agocke
Copy link
Member Author

agocke commented Aug 10, 2017

Closing as dup

@agocke agocke closed this as completed Aug 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants