-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCodingWithCalvin.VsixSdk.csproj
More file actions
81 lines (67 loc) · 3.38 KB
/
CodingWithCalvin.VsixSdk.csproj
File metadata and controls
81 lines (67 loc) · 3.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- This project builds the SDK NuGet package -->
<TargetFramework>netstandard2.0</TargetFramework>
<!-- Package metadata -->
<PackageId>CodingWithCalvin.VsixSdk</PackageId>
<Version>1.0.0</Version>
<Authors>Coding With Calvin</Authors>
<Description>An MSBuild SDK for building Visual Studio extensions (VSIX) using SDK-style projects. Supports Visual Studio 2022 and later.</Description>
<PackageTags>vsix;visualstudio;extension;sdk;msbuild</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/CodingWithCalvin/VsixSdk</PackageProjectUrl>
<RepositoryUrl>https://github.com/CodingWithCalvin/VsixSdk</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReadmeFile>README.md</PackageReadmeFile>
<!-- Package settings -->
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageOutputPath>$(MSBuildThisFileDirectory)..\..\artifacts\packages</PackageOutputPath>
<NoPackageAnalysis>true</NoPackageAnalysis>
<DevelopmentDependency>true</DevelopmentDependency>
<!-- Don't include build output in the package (this is an SDK, not a library) -->
<IncludeBuildOutput>false</IncludeBuildOutput>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<!-- No symbols for SDK packages (no meaningful code to debug) -->
<IncludeSymbols>false</IncludeSymbols>
<!-- Disable all code generation since this project has no code -->
<EnableDefaultItems>false</EnableDefaultItems>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<!-- Reference the generators project -->
<ItemGroup>
<ProjectReference Include="..\CodingWithCalvin.VsixSdk.Generators\CodingWithCalvin.VsixSdk.Generators.csproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
<PrivateAssets>all</PrivateAssets>
</ProjectReference>
</ItemGroup>
<!-- Reference the tasks project -->
<ItemGroup>
<ProjectReference Include="..\CodingWithCalvin.VsixSdk.Tasks\CodingWithCalvin.VsixSdk.Tasks.csproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
<PrivateAssets>all</PrivateAssets>
</ProjectReference>
</ItemGroup>
<!-- Include the SDK files in the package at the correct location -->
<ItemGroup>
<!-- The Sdk folder must be at the root of the package -->
<None Include="Sdk\**\*" Pack="true" PackagePath="Sdk" />
<!-- Include the source generators as analyzers -->
<None Include="..\CodingWithCalvin.VsixSdk.Generators\bin\$(Configuration)\netstandard2.0\CodingWithCalvin.VsixSdk.Generators.dll"
Pack="true"
PackagePath="analyzers\dotnet\cs"
Visible="false" />
<!-- Include the MSBuild tasks -->
<None Include="..\CodingWithCalvin.VsixSdk.Tasks\bin\$(Configuration)\net472\CodingWithCalvin.VsixSdk.Tasks.dll"
Pack="true"
PackagePath="build"
Visible="false" />
<!-- Include README at package root -->
<None Include="..\..\README.md" Pack="true" PackagePath="" />
</ItemGroup>
<!-- Create a minimal source file to satisfy the compiler -->
<ItemGroup>
<Compile Include="_Empty.cs" />
</ItemGroup>
</Project>