# AAX post build event msvc

**URL:** <https://forum.juce.com/t/aax-post-build-event-msvc/19699>\
**Category:** The Projucer\
**Created:** [October 30, 2016, 11:44am UTC](https://forum.juce.com/t/aax-post-build-event-msvc/19699 "2016-10-30T11:44:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![olilarkin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/olilarkin/32/7142_2.png) [@olilarkin](https://forum.juce.com/u/olilarkin)\
**Post date:** [October 30, 2016, 11:44am UTC](https://forum.juce.com/t/aax-post-build-event-msvc/19699/1 "2016-10-30T11:44:33Z")

</div>

due to a space in my windows user name i have to manually place quotes around the call to CreatePackage.bat for AAX builds on windows

“C:\Users\Oliver Larkin\SDKs\AAX\_SDK\Utilities\CreatePackage.bat”

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [November 7, 2016, 3:53am UTC](https://forum.juce.com/t/aax-post-build-event-msvc/19699/2 "2016-11-07T03:53:18Z")

</div>

That’s odd the Projucer does add the quotes. See [here](https://github.com/julianstorer/JUCE/blob/169b5ede01cd407c8726f66475050c90dc4b8a16/extras/Projucer/Source/Project%20Saving/jucer_ProjectExport_MSVC.h#L226). Does this need to be double-escaped somehow?

---

<div class="post-metadata">

**Author:** ![Gee](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/gee/32/150_2.png) [@Gee](https://forum.juce.com/u/Gee)\
**Post date:** [November 21, 2016, 3:47pm UTC](https://forum.juce.com/t/aax-post-build-event-msvc/19699/3 "2016-11-21T15:47:06Z")

</div>

I also have issues with AAX post build event msvc.  
My target project folder is …/…/Builds/VS2015/controlPlugin  
I use a relative path for the AAX sdk (…/…/…/assets/aax).  
I need to manually update jucer\_ProjectExport\_MSVC.h  
so that the path to CreatePackage.bat is correct.

It seems related to this recent commit:

```
> + const String aaxSDKPath = File::isAbsolutePath(aaxPath.toString())
> + ? aaxPath.toString()
> + : String ("..\\..\\") + aaxPath.toString();
```

---

<div class="post-metadata">

**Author:** ![chkn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/chkn/32/3862_2.png) [@chkn](https://forum.juce.com/u/chkn)\
**Post date:** [November 21, 2016, 5:53pm UTC](https://forum.juce.com/t/aax-post-build-event-msvc/19699/4 "2016-11-21T17:53:17Z")

</div>

i guess its because your target folder, is not on the default position, currently the exporter doesn’t handle this right

---

<div class="post-metadata">

**Author:** ![Gee](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/gee/32/150_2.png) [@Gee](https://forum.juce.com/u/Gee)\
**Post date:** [November 22, 2016, 12:41pm UTC](https://forum.juce.com/t/aax-post-build-event-msvc/19699/5 "2016-11-22T12:41:30Z")

</div>

Sure. It seems to me that path handling is a core feature of project generation / export, so it would be nice that the Projucer gets this right 🙂

---

<div class="post-metadata">

**Author:** ![olilarkin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/olilarkin/32/7142_2.png) [@olilarkin](https://forum.juce.com/u/olilarkin)\
**Post date:** [February 6, 2017, 11:24am UTC](https://forum.juce.com/t/aax-post-build-event-msvc/19699/6 "2017-02-06T11:24:44Z")

</div>

still an issue, although i am having trouble working out exactly what is wrong - seems to work via IDE but not via MSBUILD. i had to hack/solve by moving my AAX SDK to a path without spaces.

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [February 7, 2017, 11:39am UTC](https://forum.juce.com/t/aax-post-build-event-msvc/19699/7 "2017-02-07T11:39:20Z")

</div>

Ahh that’s odd. I’ll have a look - I stress tested this so, so much - but never in MSBuild. arggghh!
