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

VS15 Preview 5: File is not under 'rootDir' '$(MSBuildProjectDirectory)'. #11623

Closed
saschanaz opened this issue Oct 14, 2016 · 2 comments
Closed
Assignees
Labels
Needs More Info The issue still hasn't been fully clarified

Comments

@saschanaz
Copy link
Contributor

saschanaz commented Oct 14, 2016

TypeScript Version: 2.0.5.0, the version embedded on VS15 Preview 5

Project setting:

<TypeScriptProjectDir>$(MSBuildProjectDirectory)\</TypeScriptProjectDir> as @paulvanbrenk said on #9665.

Expected behavior:

VS shouldn't complain about it.

Actual behavior:

TS6059 File '(My solution directory)/(My project name)/sources/customelements/elements/placeholdingbutton.ts' is not under 'rootDir' '$(MSBuildProjectDirectory)'. 'rootDir' is expected to contain all source files.

image

VS complains but the code still compiles when "Rebuild All".

Additional:

Not sure what this does but this process even tries to "generate" my emscripten-compiled large js file and slows everything down extremely.

image

@paulvanbrenk
Copy link
Contributor

Can you share a repro project?

@saschanaz
Copy link
Contributor Author

I've forgotten about this but this seems somehow is fixed. 😄

@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
Needs More Info The issue still hasn't been fully clarified
Projects
None yet
Development

No branches or pull requests

3 participants