MarkPflug/Sylvan.BuildTools.Resources

Way to force the tool to run whenever resj file is saved?

wysisoft opened this issue · 1 comments

I'm using vscode and I wish the tooling would run whenever the resj file is edited, instead of having to save the csproj file over and over?

I'm not sure what that would take. Visual Studio will run the code gen when the resj is saved, this is driven by msbuild:

<ItemDefinitionGroup>
<JsonResource>
<Generator>MSBuild:GenerateJsonResource</Generator>
</JsonResource>
<StaticResourceFiles>
<Generator>MSBuild:GenerateStaticResource</Generator>
</StaticResourceFiles>
</ItemDefinitionGroup>
. I don't know enough about VSCode integration to know what it would take to make this work there too.