VsixSynchronizer
VsixSynchronizer copied to clipboard
Does not work with shared project
Describe the bug
This code file does not get generated when using a shared project (.shproj
) for sharing code between Visual Studio 2019 and 2022 and the .vsct
file is in the shared project.
To Reproduce Steps to reproduce the behavior:
- Create two menu extension projects, one for VS2019 and another for VS2022.
- Create a shared project (with extension
.shproj
) - Move all code and
.vsct
files to the shared project - Right click on the
.vsct
file and click onSynchronize To Code File
- Notice that the above step does nothing.
- Manually change the `.projitems' file to what the above menu item does
- Build the project and notice that the build fails due to missing generated
.cs
file for the.vsct
file.
Expected behavior
The .cs
file gets generated and build succeeds