Visual Studio Team Services

Error “No resource file set the resource merger” when compiling a Visual Studio Package without any Resource(s)

As the title already indicates, if you strip down your Visual Studio Extensibility Package the Visual Studio SDK msbuild task throws a rather cryptic ’No resource file set the resource merger’ error.

As it turns out, the VS SDK requires (as of writing VS2012 and VS2013 SDKs alike) at least one Resource with the MergeWithCTO element set to true in the .csproj/msbuild file.

<EmbeddedResource Include=“VSPackage.resx”>

So even if you don’t have any resources at all, you still need a file with that attribute set, otherwise you won’t be able to compile the VS Package.


Comments disabled.