Running MSBuild action without 'Project File'

Hi,

We discovered that the MS Build action’s ‘Project File’ field is mandatory. Today we ran into a build configuration that is considered to be more optimal when run just on a directory rather than an explicit project or solution file.

For what we can see, MSBuild can also be executed in I directly, using the directory itself as scope for the build (similary to for instance Make)

See also: https://msdn.microsoft.com/en-us/library/ms164311.aspx which states that the [ProjectFile] parameter is optional.

Could it be possible to make the ‘Project File’ field optional, or do you have a different rationale?

Kind regards,
Remko Seelig

Hi Remko,

Yes, we’ll get this updated for the next version. We will probably change the field to “Project File or Folder” as the command will need a working directory and this is currently derived from the Project File path.

Sounds great, looking forward to that.

Thanks!

Kind regards,
Remko Seelig