error MSB4044: The "CreateAssetPack" task was not given a value for the required parameter "Source".

Updated Visual Studio 2017 to 15.9.17

Tried to build iOS project using Ad-Hoc | iPhone configuration getting the following error:

error MSB4044: The "CreateAssetPack" task was not given a value for the required parameter "Source".

Not much luck googling this error, anyone know a fix?

Posts

  • LukeBailey.9712LukeBailey.9712 USMember ✭✭

    Also happening in Visual Studio 2019 16.3.5

  • LukeBailey.9712LukeBailey.9712 USMember ✭✭

    Full Error

    C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(2245,3):

    error MSB4044: The "CreateAssetPack" task was not given a value for the required parameter "Source".

    Looking at that file shows this code:

    <CreateAssetPack
                SessionId="$(BuildSessionId)"
                Condition="'$(IsMacEnabled)' == 'true' And '$(EmbedOnDemandResources)' == 'false'"
                ToolExe="$(ZipExe)"
                ToolPath="$(ZipPath)"
                Source="%(_AssetPack.Identity)"
                OutputFile="$(IpaPackageDir)OnDemandResources\%(_AssetPack.DirectoryName)"
                />
    
Sign In or Register to comment.