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

Fix build of VSIX template #32

Merged
merged 1 commit into from
Apr 23, 2014
Merged

Fix build of VSIX template #32

merged 1 commit into from
Apr 23, 2014

Conversation

dungpa
Copy link
Contributor

@dungpa dungpa commented Apr 23, 2014

Close #30.

I'm not VS SDK expert and not sure this is the fix you're looking for.

The reason might be that the build script picks up a wrong version of MSBuild (x86 vs x64). Setting the path explicitly in the environment variable fixes it.

@tpetricek
Copy link
Member

Cool! This is all I need to be happy :-).

How does FAKE find the MSBuild executable? Doors it end up using a different one?

To make this a bit more general, could you change this to find the Program Files folder dynamically? I think there is a fairly easy way to do this and it would make the code more general (I suppose we might still be missing some cases, but I'm fine with that)

@dungpa
Copy link
Contributor Author

dungpa commented Apr 23, 2014

Like this?

I'm not sure how MSBuild discovery is done, probably @forki can help with that.

@tpetricek
Copy link
Member

This is perfect. Thanks! I'll merge & close this - though I'm still quite curious why this is happening :-)

tpetricek added a commit that referenced this pull request Apr 23, 2014
Fix build of VSIX template
@tpetricek tpetricek merged commit e4b5581 into fslaborg:master Apr 23, 2014
forki added a commit to fsprojects/FAKE that referenced this pull request Apr 24, 2014
forki added a commit to fsprojects/FAKE that referenced this pull request Apr 24, 2014
@forki
Copy link
Contributor

forki commented Apr 24, 2014

FAKE 2.14.12 should use the same path as proposed by @dungpa - could you please retry?

@tpetricek
Copy link
Member

Works beautifully!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FAKE cannot build template automatically
3 participants