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

Microsoft.TypeScript.MSBuild 2.0.3 - Painful when switching branches because it says the file is locked #11548

Closed
demyte opened this issue Oct 12, 2016 · 1 comment

Comments

@demyte
Copy link

demyte commented Oct 12, 2016

TypeScript MSBuild Version: 2.0.3

Expected behavior:
The package files are not locked by VS or MSBuild so that when switching branches to another branch without this package or with a different version of this package we dont have to close VS to get a clean repository.

Actual behavior:
When we switch branches from a branch with this in place to one without it or with another version, the files are locked and we have to close Visual Studio down to release the locks.

@demyte
Copy link
Author

demyte commented Oct 12, 2016

I found an obscure way of solving this, using the environment variable MSBUILDDISABLENODEREUSE=1 to stop the MSBUILD.exe tasks being left open by VS.

@demyte demyte closed this as completed Oct 12, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant