Error during build: Unable to build web media block: Incorrect parameter value
This same error is thrown if I build a project using .NET 4.52. To replicate this error, simply create a new project based on the ".NET Setup" template and without doing anything to the project do a "Web Deploy" build.
If I check the "Skip on Build (useful when doing partial builds and block is unaffected)" option in the media block then the project builds perfectly fine.
Below, is the output of the build. Could someone tell me what is going on?
Thanks.
Code: Select all
Building Project: xxxxxxx
Output Folder: C:\Users\MonoTest\Documents\xxxxxxx\Release\WebDeployment Type: Compressed Web-Based EXE
Code Signing: Disabled
Compression: Default
Compiler Variables: BUILDMODE=WEB,LANGUAGE=English,TITLE=xxxxxxx,TARGETDIR=$TARGETDIR$,IADIR=C:\PROGRA~2\INSTAL~2,PROJDIR=C:\Users\MonoTest\DOCUME~1\xxxxxxx,IAVER=20.10
###
Cleared output folder C:\Users\MonoTest\Documents\xxxxxxx\Release\WebBuilt plug-in action (Un)Install MSI Setup
Built plug-in action File Bag
Created Windows Installer database
Built installation executable
Injected setup languages
Injected runtime files
Compressing install: componentstree.dfm (0%)
Compressing install: xxxxxxx.msi (0%)
Compressing install: xxxxxxx.exe (1%)
Compressing install: mMSI.dll\mMSIExec.dll (47%)
Compressing install: mia.lib (54%)
Compressing install: xxxxxxx.res (59%)
Compressed setup files
Error during build: Unable to build web media block: Incorrect parameter value
Compressing web media block: microsoft .net framework 4/mFileBagIDE.dll\B519DCBA\netfx_core_x64.msi (0%)