|
30 | 30 | <CopyOutputSymbolsToOutputDirectory>true</CopyOutputSymbolsToOutputDirectory> |
31 | 31 | <TargetVsixContainerName>Owen.VisualStudio.vsix</TargetVsixContainerName> |
32 | 32 | <VSSDKBuildToolsAutoSetup>true</VSSDKBuildToolsAutoSetup> |
| 33 | + <TargetVsixContainer>$(MSBuildProjectDirectory)\bin\$(Configuration)\$(TargetFramework)\$(TargetVsixContainerName)</TargetVsixContainer> |
| 34 | + <CreatePkgDefAssemblyToProcess>$(MSBuildProjectDirectory)\obj\$(Configuration)\$(TargetFramework)\$(AssemblyName).dll</CreatePkgDefAssemblyToProcess> |
| 35 | + <!-- the VSSDK's intermediate layout, spelled out for an SDK-style project (as Snipper does) --> |
| 36 | + <VsixIntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)\$(TargetFramework)\vsix\</VsixIntermediateOutputPath> |
| 37 | + <IntermediateVsixManifest>$(VsixIntermediateOutputPath)extension.vsixmanifest</IntermediateVsixManifest> |
| 38 | + <FileManifest>$(VsixIntermediateOutputPath)files.json</FileManifest> |
| 39 | + <TemplateFileManifest>$(VsixIntermediateOutputPath)templateFiles.json</TemplateFileManifest> |
| 40 | + <ResourceManifest>$(VsixIntermediateOutputPath)resources.json</ResourceManifest> |
| 41 | + <CtoFileManifest>$(VsixIntermediateOutputPath)ctoFiles.json</CtoFileManifest> |
| 42 | + <CtoCacheFile>$(VsixIntermediateOutputPath)mergeCto.cache</CtoCacheFile> |
| 43 | + <CreateTemplateManifestsCacheFile>$(VsixIntermediateOutputPath)createTemplateManifests.cache</CreateTemplateManifestsCacheFile> |
| 44 | + <TemplateOutputDirectory>$(VsixIntermediateOutputPath)</TemplateOutputDirectory> |
33 | 45 | <!-- the service client runs on its own threads by design (never the UI thread); the |
34 | 46 | analyzers that assume a JoinableTaskFactory context everywhere do not apply to it --> |
35 | 47 | <NoWarn>$(NoWarn);VSTHRD003;VSTHRD010;VSTHRD100;VSTHRD110;VSTHRD200;VSSDK007</NoWarn> |
|
53 | 65 | <ItemGroup> |
54 | 66 | <None Include="source.extension.vsixmanifest" SubType="Designer" /> |
55 | 67 | </ItemGroup> |
| 68 | + <Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" |
| 69 | + Condition="'$(OS)' == 'Windows_NT' and '$(VSToolsPath)' != '' and Exists('$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets')" /> |
| 70 | + |
| 71 | + <Target Name="OwenVsixIntermediate" BeforeTargets="DetokenizeVsixManifestFile;GenerateFileManifest" |
| 72 | + Condition="'$(OS)' == 'Windows_NT'"> |
| 73 | + <MakeDir Directories="$(VsixIntermediateOutputPath)" /> |
| 74 | + </Target> |
| 75 | + |
| 76 | + <Target Name="OwenCreateVsix" AfterTargets="Build" DependsOnTargets="CreateVsixContainer" |
| 77 | + Condition="'$(OS)' == 'Windows_NT'" /> |
56 | 78 | </Project> |
0 commit comments